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

root directory stored in tree file in "esgprep drs" #10

Closed
alaniwi opened this issue Dec 13, 2017 · 2 comments
Closed

root directory stored in tree file in "esgprep drs" #10

alaniwi opened this issue Dec 13, 2017 · 2 comments

Comments

@alaniwi
Copy link
Collaborator

alaniwi commented Dec 13, 2017

Changing --root command line option does not work unless also the tree file is deleted. This should not be stored in the tree.

@alaniwi alaniwi changed the title root directory stored in tree file root directory stored in tree file in "esgprep drs" Dec 13, 2017
@glevava
Copy link
Member

glevava commented Dec 13, 2017

Which esgprep version are you using?
--root flag is not part of the tree file stored and so not controlled from one instance of esgprep drs to another.

@alaniwi
Copy link
Collaborator Author

alaniwi commented Dec 13, 2017

It is definitely in there. Inspecting the tree file, it seems that the key is called drs_root, and the value is any --tree value which was specified, or else the current directory where the command was run. If I do not delete the tree file, then adding/changing/removing the --root option has no effect when rerunning.

I am running from the HEAD of master (commit ID b32f716), and the reported version (with -V) is v2.7.27 2017-06-12.

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

2 participants