ALBA-Synchrotron / IcepapOSC

GNU General Public License v3.0
0 stars 8 forks source link

Save settings #13

Closed inki2 closed 3 years ago

inki2 commented 5 years ago

Settings are now saved to file and read during startup. If no settings file is found during startup, one will be created from default values.

inki2 commented 5 years ago

@rhomspuron This PR is dependant on PR #12 .

marceloalcocer commented 5 years ago

@inki2 I've been testing v0.3.0 at the MAX IV CoSAXS beamline, and no configuration file seems to be created if missing. Could you confirm this please?

inki2 commented 5 years ago

@marceloalcocer The file will be created when the (hardcoded) folder IcepapOSC has been created by user. That is by design and will change when @rhomspuron has decided how the setup implementation should work. For now the user will have to manually create the folder for the ini-file.

rhomspuron commented 3 years ago

hi @inki2,

Sorry for the delay. I will integrate this PR and start with the py3 - qt5 migration. @marceloalcocer I will investigate the configuration file that is needed and propose one solution.