Skip to content

Commit 6aca96b

Browse files
committed
Shorten common script parameter name
It's neither Python-specific, nor exclusive to the `imcflibs` package, so the former name was quite misleading.
1 parent 57ab0f8 commit 6aca96b

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

tests/imagej/bioformats/import_image/test_01.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# @ File (label="Select the python-imcflibs testdata directory", style="directory") PYTHON_IMCFLIBS_TESTDATA
1+
# @ File (label="Select the IMCF testdata directory", style="directory") IMCF_TESTDATA
22

33
import os
44
from imcflibs.pathtools import join2
55
from imcflibs.imagej import bioformats
66

77

8-
testfile = join2(PYTHON_IMCFLIBS_TESTDATA, "systems/lsm700/beads/10x_phmax.czi")
8+
testfile = join2(IMCF_TESTDATA, "systems/lsm700/beads/10x_phmax.czi")
99
print(testfile)
1010

1111
assert os.path.exists(testfile)

tests/imagej/bioformats/write_bf_memoryfile/test_01.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# @ File (label="Select the python-imcf-libs testdata directory", style="directory") PYTHON_IMCFLIBS_TESTDATA
2-
1+
# @ File (label="Select the IMCF testdata directory", style="directory") IMCF_TESTDATA
32

43
import os
54
from imcflibs.pathtools import parse_path
65
from imcflibs.imagej import bioformats
76

87

9-
components = parse_path("systems/lsm700/beads/10x_phmax.czi", PYTHON_IMCFLIBS_TESTDATA)
8+
components = parse_path("systems/lsm700/beads/10x_phmax.czi", IMCF_TESTDATA)
109
full_path = components["full"]
1110
bfmemofile = components["path"] + "." + components["fname"] + ".bfmemo"
1211

0 commit comments

Comments
 (0)