Skip to content

Converter_OutputDirectoryNaming #49

@NickCondon

Description

@NickCondon

Assuming the following Folder Structure for this example.

InputDir = \rdm...\Imaging_data\20210908
file.list(InputDir) = control1.ims, control2.ims, treatment1.ims, treatment2.ims

There is no assumption that all *.ims files are the same size/shape.

On the converter page i should be able to click add individual files > then select these 4 files and add them to the list.

OutputDirName = "Converter_Output"
OutputDir = InputDir++OutputDirName

Currently all 4 files in the list will write to this OutputDir however they currently will write into the following location: InputDir\Converter_Output"InputDir"\control1_1.tif, control1_2.tif....

Unfortunately the usecase here means that files overwrite one another and the output is simply the last file processed. All 4 .out and .json are overwritten leaving just the final files .out and .json file.

Instead the output directory order/naming should be as follows:
InputDir++OutputDirName++++StackName.tif

Where StackName = Filename+"_1, 2, 3, etc

By naming the subDirectory in the OutputDirectory the Filename, it will be unique (preventing overwritting files) and keep it organised/neat for future processing steps.

Metadata

Metadata

Assignees

Labels

MediumbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions