if no value was specified for such variable (or .env was missing)
EAU would be set to None and get stuck in a prompt loop
solved by turning EAU into a required variable in APIHandler
(and editing a lot of code through all of src/)
TO-DO:
1. follow the "TO-DO" comments to clean the code
2. filename should be NFFA-DI compliant like:
nffa-di_NA01_Napoli_Na-26-015.h5
3. rheed data analysis should take two distinct functions
one for the raw stream and one for the image
4. if time allows: consider moving most of main.py in separate modules
method 'download_attachments_data" works with elabapi.UploadsApi() class
to download binary data and other metadata of our files.
CURRENTLY it downloads every single attachment which is not intended
and it's only for testing purposes
"download_attachments_to_disk" saves binary data to "output/attachments"