Skip to content
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

Prompt for category key/value pairs #6

Open
mimischi opened this issue Oct 10, 2018 · 1 comment
Open

Prompt for category key/value pairs #6

mimischi opened this issue Oct 10, 2018 · 1 comment

Comments

@mimischi
Copy link

I just started using datreant again and came up with one use-case that might also help others. Given a variety of simulation systems that are already setup without datreant, I want to provide a list of paths to datreant (or call datreant seperately for each path) and be provided an input prompt for key/values I would like to set in the Treant.

For example, I have a variety of systems with different membrane compositions. Now I want to use datreant to its fullest abilities and start quickly categorizing these old simulations.

Running something like datreant create-category ./some/path/ CATEGORY1 CATEGORY2 CATEGORY3, should create a new Treant in ./some/path/ and ask me what I want to set the value for the keys CATEGORY1, CATEGORY2 and CATEGORY3.

On a related manner, I wrote a small script that looks at all files in the path and asks which filename I want to use as the value for some key.

@mimischi mimischi changed the title Prompt for user options Prompt for category key/value pairs Oct 10, 2018
@mimischi
Copy link
Author

Also it would be great if one could limit the affected Treants with a filter (by tag it category). So not all Treants are updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant