File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ def parse_path(path, prefix=""):
1414 No tests based on existing files are done, as this is supposed to also work
1515 on path strings that don't exist on the system running this code.
1616
17- NOTE: it's fine to pass in `java.io.File` objects (as retrieved by using
18- ImageJ2's *Script Parameter* `#@ File`) for either of the parameters, so it
19- is safe to use this in ImageJ Python scripts without additional measures.
17+ The function accepts `java.io.File` objects (as retrieved by using ImageJ2's
18+ *Script Parameter* `#@ File`) for either of the parameters, so it is safe to
19+ use this in ImageJ Python scripts without additional measures.
2020
2121 Parameters
2222 ----------
@@ -55,7 +55,7 @@ def parse_path(path, prefix=""):
5555 'orig': '/tmp/foo/file',
5656 'path': '/tmp/foo/'}
5757
58- POSIX-style path to a directory:
58+ POSIX-style path to a directory:
5959
6060 >>> parse_path('/tmp/foo/')
6161 {'dname': 'foo',
@@ -66,7 +66,7 @@ def parse_path(path, prefix=""):
6666 'orig': '/tmp/foo/',
6767 'path': '/tmp/foo/'}
6868
69- Windows-style path to a file:
69+ Windows-style path to a file:
7070
7171 >>> parse_path('C:\\Temp\\foo\\file.ext')
7272 {'dname': 'foo',
You can’t perform that action at this time.
0 commit comments