WebxCT / WebCT

Interactive Web UI for X-ray CT with Real-time Results
https://webct.io
8 stars 0 forks source link

feat: ✨ Data Downloading (#9) #53

Closed WYVERN2742 closed 1 year ago

WYVERN2742 commented 1 year ago

Data should be downloadable though the web interface in multiple formats.

WYVERN2742 commented 1 year ago

Main blocking point of merger into main branch is the known issue of multiple downloads in the same session failing due to a permissions error when unlinking previously generated files....

I am completely lost as to how to fix this, all I get is a generic permissions denied error, including when using absolute paths to the resource.

For now, this can be worked around by restarting the server and updating from the front end, or only downloading one resource/format combination once...

WYVERN2742 commented 1 year ago

This is one of the last issues for v1.0.0 (publish and release-ready WebCT), I'll try to fix the linking issue, but if not able; 'downloads ' will be exported to local files only, and not served over the browser.

WYVERN2742 commented 1 year ago

Done a simple fix by just saving into timestamp folders rather than session folders. Will result in more folders in output than just session identifiers, but now they have some semantic meaning, which is a plus.