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 1d1dddf commit b74d6b0Copy full SHA for b74d6b0
1 file changed
tests/imagej/bioformats/import_image/test_01.py
@@ -0,0 +1,18 @@
1
+# @ File (label="Select the python-imcflibs testdata directory", style="directory") PYTHON_IMCFLIBS_TESTDATA
2
+
3
+import os
4
+from imcflibs.pathtools import join2
5
+from imcflibs.imagej import bioformats
6
7
8
+testfile = join2(PYTHON_IMCFLIBS_TESTDATA, "systems/lsm700/beads/10x_phmax.czi")
9
+print(testfile)
10
11
+assert os.path.exists(testfile)
12
13
+imps = bioformats.import_image(testfile)
14
+assert len(imps) > 0
15
+imp = imps[0]
16
+imp.show()
17
18
+print("Test completed, a new multi-channel stack should have opened. ")
0 commit comments