Skip to content

Commit 3ce21f5

Browse files
committed
apply suggestions from code review
1 parent 10a5868 commit 3ce21f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datajoint/external.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ def _need_checksum(local_filepath):
329329
f"'{local_filepath}' downloaded but did not pass checksum'"
330330
)
331331
if not _need_checksum(local_filepath):
332-
logger.warning(f"Skipped checksum for file with hash: {contents_hash}")
332+
logger.warning(
333+
f"Skipped checksum for file with hash: {contents_hash}, and path: {local_filepath}"
334+
)
333335
if size != Path(local_filepath).stat().st_size:
334336
# this should never happen without outside interference
335337
raise DataJointError(

0 commit comments

Comments
 (0)