-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Documenting this even though it may be fixed in the new version already
Currently on the aiida-explorer, I am listing two types of files in the "raw view" that are collated differingly;
Raw Files:
comes from /repo/ and is completely indiscriminant of the file (just lists the paths to /repo/contents.)
Download By format:
comes from /download_formats/ and /download?download_format=type.
I am allowing the user to basically view (via streaming) and download both of these two types. This is usually fine, however some data comes as raw binary and there is no way of easily knowing file size before downloading.
It would be nice if we could attach metadata through the restapi (or atleast fetch some expectations of the files from somewhere). Although there may be a sound reason this is not done/it may be hard to implement.
Thing that would be good:
- Filesize
- A user should know through the GUI how much they are planning on downloading, also it would be nice to have a frontend flag to not allow 'viewing' large files...
- Some information of how the data is stored in aiida?
- A user should know through the UI if the file they are about to view is raw binary, so it would be nice to have a frontend flag to not allow 'viewing' binary files...