We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bdc882 commit cc96f03Copy full SHA for cc96f03
src/datajoint/external.py
@@ -237,9 +237,7 @@ def upload_filepath(self, local_filepath):
237
try:
238
relative_filepath = str(local_filepath.relative_to(self.storage.spec["stage"]).as_posix())
239
except ValueError:
240
- raise DataJointError(
241
- f"The path {local_filepath.parent} is not in stage {self.storage.spec['stage']}"
242
- )
+ raise DataJointError(f"The path {local_filepath.parent} is not in stage {self.storage.spec['stage']}")
243
uuid = uuid_from_buffer(init_string=relative_filepath) # hash relative path, not contents
244
contents_hash = uuid_from_file(local_filepath)
245
0 commit comments