Skip to content

Commit ce4f1b3

Browse files
committed
apply suggestions from code review.
1 parent 1ecbe5f commit ce4f1b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datajoint/external.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def _need_checksum(local_filepath):
326326
if uuid_from_file(local_filepath) != contents_hash:
327327
# this should never happen without outside interference
328328
raise DataJointError(
329-
f"'{local_filepath}' downloaded but did not pass checksum'"
329+
f"'{local_filepath}' downloaded but did not pass checksum."
330330
)
331331
if not _need_checksum(local_filepath):
332332
logger.warning(
@@ -335,7 +335,7 @@ def _need_checksum(local_filepath):
335335
if size != Path(local_filepath).stat().st_size:
336336
# this should never happen without outside interference
337337
raise DataJointError(
338-
f"'{local_filepath}' downloaded but size is not the same (skipped checksum due to config)'"
338+
f"'{local_filepath}' downloaded but size is not the same (skipped checksum due to config)."
339339
)
340340
return str(local_filepath), contents_hash
341341

0 commit comments

Comments
 (0)