ilastik / ilastik4ij

ImageJ plugins to run ilastik workflows
MIT License
22 stars 17 forks source link

does not overwrite output and throws no error #85

Open tischi opened 3 years ago

tischi commented 3 years ago

@wolny @k-dominik

When running such a IJ macro command:

run("Export HDF5", "select=&outputPath exportpath=&outputPath datasetname=data compressionlevel=0 input=resampled");

My observation is that ilastik does not overwrite files if outputPath does exist already; and it also does not throw an error (which makes it confusing). Can you confirm this? And should we change this?

k-dominik commented 3 years ago

Hey @tischi,

thx for reporting. I think in general we should allow people to put multiple datasets in their hdf5 files. So warning just based on outputpath's existence is not sufficient. But we could warn for overwriting the same dataset in a file, maybe?

tischi commented 3 years ago

we should allow people to put multiple datasets in their hdf5 files

do you think it should currently overwrite an existing dataset?

k-dominik commented 3 years ago

I'd expect it to overwrite, yes.