Skip to content

Commit

Permalink
Temporarily comment out in memory sanity check.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Aug 16, 2024
1 parent 84d47fb commit eb80dad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/lsst/daf/butler/datastore/generic_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ def _validate_put_parameters(self, inMemoryDataset: object, ref: DatasetRef) ->
storageClass = ref.datasetType.storageClass

Check failure on line 67 in python/lsst/daf/butler/datastore/generic_base.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

F841

local variable 'storageClass' is assigned to but never used

# Sanity check
if not isinstance(inMemoryDataset, storageClass.pytype):
raise TypeError(
f"Inconsistency between supplied object ({type(inMemoryDataset)}) "
f"and storage class type ({storageClass.pytype})"
)
# if not isinstance(inMemoryDataset, storageClass.pytype):
# raise TypeError(
# f"Inconsistency between supplied object ({type(inMemoryDataset)}) "

Check failure on line 72 in python/lsst/daf/butler/datastore/generic_base.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

W505

doc line too long (85 > 79 characters)
# f"and storage class type ({storageClass.pytype})"
# )

# Confirm that we can accept this dataset
if not self.constraints.isAcceptable(ref):
Expand Down

0 comments on commit eb80dad

Please sign in to comment.