McStasMcXtrace / iFit

a simple library to analyze data (with McCode and Phonons/DFT hooks). :warning: this project has been moved to https://gitlab.com/soleil-data-treatment/soleil-software-projects/remote-desktop
http://ifit.mccode.org
Other
5 stars 5 forks source link

Loaders: move iLoad_ini into 'read_*' functions #191

Closed farhi closed 5 years ago

farhi commented 5 years ago

The read_* functions should have an:

mode e.g read_cif('defaults') that returns the iLoad_ini information, e.g.:

The iLoadini entries should then all be turned into 'read*' functions, and iLoad will build the iLoad_ini entries dynamically from these. iLoad_ini can be left to allow insertion of loaders without writting a function (e.g. standalone).

postprocess iData: A similar mechanism should be built for idata to know the importation procedure. This should be in Scripts/Loaders e.g. one open entry per read_ entry.

farhi commented 5 years ago

Done with commit https://github.com/McStasMcXtrace/iFit/commit/3e0160f0d4716bb7c88fc20bef2aba06beee7f68