Skip to content

Updated pipeline config loading on application start (resolves #293)

Thorwin Vogt requested to merge thorwin.vogt/met.3d:devel-pipeline-config into master

Rework of the pipeline.cfg files of Met.3D. Originally, you could load the pipeline.cfg file from command line, to automatically load datasets on program start. However, the file had a different format and contained more settings for different pipelines that the .pipeline.conf files we already can save and create in Met.3D

To make it easier for the user to automatically load pipelines on program start, this MR removes the data pipelines from the pipeline.cfg files, keeping only the memory managers and the configurable pipeline.

A new command line option is introduced, --datasets, that allows the user to specify .pipeline.conf files to load on startup. The option expects a list of semicolon separated files.

These files are the same ones the user creates in Met.3Ds UI.

Additionally, the whole command line argument system of Met.3D now uses the QCommandLineArguments. This makes it simpler to define and work with the command line arguments. All existing options were converted over to the new system. To test these, start Met.3D from command line with --help argument.

Closes #293 (closed)

Edited by Thorwin Vogt

Merge request reports