Skip to content

Commit 1227bf8

Browse files
Merge pull request #156 from JoOkuma/typo-fix
Fixing typo 'f.atrs' to 'f.attrs'
2 parents 3feb39c + dd75e9b commit 1227bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micro_sam/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def precompute_image_embeddings(
520520
if key not in f.attrs or f.attrs[key] != val:
521521
warnings.warn(
522522
f"Embeddings file {save_path} is invalid due to unmatching {key}: "
523-
f"{f.atrs[key]} != {val}.Please recompute embeddings in a new file."
523+
f"{f.attrs[key]} != {val}.Please recompute embeddings in a new file."
524524
)
525525
if wrong_file_callback is not None:
526526
save_path = wrong_file_callback(save_path)

0 commit comments

Comments
 (0)