Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config generator #49

Closed
joaomcteixeira opened this issue Jul 28, 2021 · 2 comments
Closed

Config generator #49

joaomcteixeira opened this issue Jul 28, 2021 · 2 comments
Assignees
Labels
enhancement Enhancing an existing feature of adding a new one

Comments

@joaomcteixeira
Copy link
Member

When configuring an execution run, users might ask which parameters are available for each module/action/package.

Haddock3 should have a CLI that could pull the parameters from the module and generate a .toml with its default values. In fact, we could have an actual "config generator" CLI able to create config.toml files from user requests. Given a menu with the available modules, the users would select the order of modules to execute. Then, the CLI should create a config file containing the default parameters as pulled directly from the modules' signature.

@joaomcteixeira joaomcteixeira added the enhancement Enhancing an existing feature of adding a new one label Jul 28, 2021
@joaomcteixeira joaomcteixeira self-assigned this Jul 28, 2021
@rvhonorato
Copy link
Member

This seems overly complicated in my opinion, there are over 1.800 parameters for the HADDOCK core modules alone.

I think from the user perspective this would be much more friendly as a webservice.

@joaomcteixeira
Copy link
Member Author

I understand your point. You are right about the webserver. However, I think having only the webserver leaves the command-line users a bit unattended. But overwhelming users with 1800 params is also not a good idea. Each module will have much less parameters but nonetheless they are many. We can have a three layers params as for HADDOCK2, such as, novice, medium, and guru. Depending on the level, it gives you more or less parameters.

@haddocking haddocking locked and limited conversation to collaborators Jul 31, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement Enhancing an existing feature of adding a new one
Projects
None yet
Development

No branches or pull requests

2 participants