Closed martinschorb closed 4 years ago
Update: "Load TileConfiguration from File..." works from macro on the dataset just created
Hi, for me it works fine:
run("Define dataset ...", "define_dataset=[Automatic Loader (Bioformats based)] project_filename=dataset.xml path=/Users/spreibi/Downloads/tiles/*.tif exclude=10 pattern_0=Tiles move_tiles_togrid(per_angle)?=[Move Tiles to Grid (interactive)] how_to_load_images=[Re-save as multiresolution HDF5] dataset_save_path=/Users/spreibi/Downloads/tiles check_stack_sizes subsampling_factors=[{ {1,1,1}, {2,2,1}, {4,4,1}, {8,8,1} }] hdf5_chunk_sizes=[{ {128,64,1}, {64,64,1}, {64,64,1}, {64,32,1} }] timepoints_per_partition=1 setups_per_partition=0 use_deflate_compression export_path=/Users/spreibi/Downloads/tiles/dataset");
But it is an ImageJ Macro ... it seems like you run it as a Java class, not as an ImageJ macro?
Running it as an ImageJ macro gives me nothing bu 0 in the log and the macro keeps running.
I will test whether this is Windows-specific...
Oh, please replace backslash \ with forward slash / ... that might be the reason
Seems to run in Linux (CentOS 7.7).
Putting \\
in the macro did the job. Standard ImageJ open() works with "/"
It seems that BigStitcher Batch Processing does not replace the paths when running in Windows.
Cheers, Martin
Yeah, sorry, usually ImageJ would have to do it as it does the recording. I implemented a hacky workaround that automatically replaces '\' with '/' if we are on windows and the macro recorder is running. This should hopefully solve the problem: https://github.com/PreibischLab/multiview-reconstruction/commit/7aeeca959e0c3c5f2ab3775e5f7a8f9a5dd12948 && https://github.com/PreibischLab/multiview-reconstruction/commit/974bb59ee38f01ec219d9544f93b3fcde87f6501
It is also uploaded to Fiji now...
Hi again,
now, I am trying to run the stitching as batch.
I record the macro using the batch tools, while recording the conversion works nicely (and fast).
When I then try to run the macro again, it gives me a
0
in the log and nothing happens but the macro running indefinitely.When I do the same macro as java plugin it gives me the following error: