-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: update import/export/configuration
* updated screenshots to match 2.0.0 * simple macro in example * link to macro examples
- Loading branch information
Showing
5 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
#@ File (label = "Input file", style = "file") input | ||
// input = "/absolute/path/to/some/directory/src/test/resources/2d_cells_apoptotic_1channel.h5"; | ||
// Lines that start with "//" are comments. | ||
|
||
// Lines that start with "#@" declare input parameters that interactively ask the user for values. | ||
// You can remove those lines and set input parameters explicitly in order to run the macro without further user interaction. | ||
|
||
#@ File (label = "Input file", style = "directory") dataDir | ||
// dataDir = "/absolute/path/to/some/directory/with/h5-files/"; | ||
|
||
datasetname = "/data"; | ||
axisorder = "tzyxc"; | ||
|
||
run("Import HDF5", "select=[" + input + "] datasetname=[" + datasetname + "] axisorder=[" + axisorder + "]"); | ||
fileList = getFileList(dataDir); | ||
for (i = 0; i < fileList.length; i++) { | ||
// import image from the H5 | ||
fileName = dataDir + fileList[i]; | ||
run("Import HDF5", "select=[" + fileName + "] datasetname=[" + datasetname + "] axisorder=[" + axisorder + "]"); | ||
} |