camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
256 stars 295 forks source link

Allow uploading zip for non-flat directory structures #650

Open CGDogan opened 1 year ago

CGDogan commented 1 year ago

Some file types such as https://github.com/ome/bioformats/blob/19d7fb9cbfdc16e65a7dfa556b2143ae17b141c5/components/formats-gpl/src/loci/formats/in/ScanrReader.java#L113-L114 require non-flat directory structure so caMicroscope should also accept .zip uploads and note somewhere that such folders can be uploaded as zip files

^^also for multifile formats like dicom, this causes a big performance hit~~

I think I won't have time to do this but we can discuss if this is a bigger priority

One way to do this might be to add a "ZIP archive" option in the dropdown list next to upload button which should open a window like the upload interface then the user might be asked for a general slidename and the unzipped folder can be renamed to that (in upload/finish in slideloader) after checking that the folder doesn't already exist then the client should do, for one file in the folder, /data/one and save that metadata, as always, as one entry in the list.

Nallu-Swami commented 1 year ago

Hello , I am new to this Repo just went through everything and I think if might be able to solve this .

birm commented 3 days ago

Bumping this issue.