carnisj / bcdi

BCDI: tools for pre(post)-processing Bragg coherent X-ray diffraction imaging data
Other
23 stars 17 forks source link

[FEAT] Add the possibility to define a user directory for the detector images #158

Closed mirichard-S closed 3 years ago

mirichard-S commented 3 years ago

Add the possibility to define a user directory for the detector images

carnisj commented 3 years ago

One should implement an option allowing the user to override the default file system (methods init_paths in beamline.py)

clatlan commented 3 years ago

Yes, I thought about something like that, this would work fine with the idea of having parsed arguments in scripts

carnisj commented 3 years ago

In that case, where should be stored by default the /pynxraw folder (relative to /root_folder)? In case for example when there is no scan number. Should we create one by default or just put /pynxraw right below /root_folder (if there are several such datasets in the same root_folder, there would be a conflict)?

clatlan commented 3 years ago

I personally prefer to work with absolute paths, which means no relative paths at all. We should have the possibility to specify the output path anywhere we want. Same thing for the detector raw data and the corresponding specfile. Their paths are always managed differently depending on the beamtime (even for a single beamline). However, we should still keep a default path organization like it is implemented now.

DSimonne commented 3 years ago

In the GUI, the location of /pynxraw is based on a user input but initialized on the root directory, so the user decides