LBEM-CH / focus

High Throughput Electron Microscopy Image Processing Software
http://www.focus-em.org
GNU General Public License v2.0
36 stars 14 forks source link

Parameters handling #121

Closed nikhilbiyani closed 8 years ago

nikhilbiyani commented 9 years ago

PROLBLEM: At present, the parameter handling is not efficient. The major difficulties are:

SOLUTION: A new policy should be created to handle the parameters! Instead of current clumsy parameters config files, xml files should be created. The entries should be linked to DOM model whenever possible. When the program is terminated or user requests to save, the data should be transferred from DOM Models to the xml files. QT5 provides a lot of tools to do that.

WORK LOAD: It would need many things to be changed! Would require to change many internal things from parameter reading to scripts etc. Can't guess the amount of time required!

This should come in the next version!

nikhilbiyani commented 8 years ago

The branch v4 made an attempt to handle this using ini files. But this requires a lot of effort. So dropping it in the current version.

nikhilbiyani commented 8 years ago

Now the parameters are handled in much better way: