nwb-conversion-tools icon indicating copy to clipboard operation
nwb-conversion-tools copied to clipboard

[Feature]: TIFF interface should take a list of files

Open CodyCBakerPhD opened this issue 2 years ago • 4 comments

What would you like to see added to nwb-conversion-tools?

We've seen a couple of times now that people break up a single consecutive ophys recording into multiple TIFF files less than 2GB each (unsure why threshold of 2GB is important).

While we can certainly add each of these source files as a different series to the file (current behavior), it would be nice if the TiffImagingInterface could take a list of files intended to belong to the same consecutive series.

Is your feature request related to a problem?

No response

What solution would you like?

TiffImagingInterface should be altered to take file_paths: Union[FilePathType, List[FilePathType]] instead of just file_path: FilePathType

then it loops over the list and runs file operations to the same series (unsure if roiextractors.write_imaging would support this, however)

OR to maintain complete back-compatibility, can keep as file_path and just extend the annotation support to lists.

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

CodyCBakerPhD avatar May 09 '22 18:05 CodyCBakerPhD