Skip to content

Commit 97fbc56

Browse files
committed
Print a massive warning about re-creation of memo-files
1 parent 5ce4da0 commit 97fbc56

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • tests/imagej/bioformats/write_bf_memoryfile

tests/imagej/bioformats/write_bf_memoryfile/test_01.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@
2222
print("Test FAILED: can't find BF memory file [%s]" % bfmemofile)
2323
else:
2424
print("Test passed, BF memory file [%s] was created." % bfmemofile)
25+
26+
print(
27+
"""
28+
================================= IMPORTANT =================================
29+
Bio-Formats will only create a memory-file ONCE per session, meaning if this
30+
script is being run multiple times subsequently without closing ImageJ in
31+
between it will FAIL as the memory-file gets deleted by the script but will
32+
only be re-created by Bio-Formats in a FRESH ImageJ instance!!
33+
================================= IMPORTANT =================================
34+
"""
35+
)

0 commit comments

Comments
 (0)