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 3199117 commit bd1999eCopy full SHA for bd1999e
datajoint/external.py
@@ -278,7 +278,7 @@ def upload_filepath(self, local_filepath):
278
279
# check if the remote file already exists and verify that it matches
280
check_hash = (self & {"hash": uuid}).fetch("contents_hash")
281
- if check_hash:
+ if check_hash.size:
282
# the tracking entry exists, check that it's the same file as before
283
if contents_hash != check_hash[0]:
284
raise DataJointError(
0 commit comments