Closed Lucrezia-Cester closed 1 year ago
This code allows the user to upload a folder and click on the folder as one of the available files. I am currently stuck at database migration.
@tomaroberts @heyhaleema
[
](url)
Slice Position requires a folder as input.
I have created a function upload_folder() function handles the folder upload process. In theory, it should saves the uploaded folder to the server, extracts the files from the ZIP archive, and then calls the ingest() function for each file in the folder.
However I checked in postico and the database does not update when the folder is uploaded.
@hshuaib90
The slice position task expects 60 input files, which can be selected as a series, having uploaded all 60 files from a folder/series using the existing upload function. The slice position task can then be run on this series of 60 files, without further modifications to the code.
I have added a functionality that allows a folder to be uploaded. The DICOM headers are stored correctly on the database. However I still need to figure out how to display the folder on the webpage.