mxcube / mxcubecore

Backend used by MXCuBE
http://mxcube.github.io/mxcube/
GNU Lesser General Public License v3.0
11 stars 52 forks source link

yaml conf: make 'export yaml config' a user invokable featureExport yaml arg #956

Closed elmjag closed 3 months ago

elmjag commented 3 months ago

Let's make it possible for the users run 'export yaml config' without editing the code.

This PR adds the nessesary hooks for mxcubeweb to implement the '--export-yaml-config' command line argument.

For mxcube-web part, see this PR: https://github.com/mxcube/mxcubeweb/pull/1285

elmjag commented 3 months ago

I have changed the PR so that yaml_export_directory parameter is now optional for init_hardware_repository() and load_from_yaml() functions. I assume that's the functions that Qt-implementation is using.

marcus-oscarsson commented 3 months ago

Thanks Guys have a nice WE !