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

define dataRoot via command-line argument or environmental variable? #185

Closed
kriemo opened this issue Aug 5, 2020 · 3 comments · Fixed by #186
Closed

define dataRoot via command-line argument or environmental variable? #185

kriemo opened this issue Aug 5, 2020 · 3 comments · Fixed by #186

Comments

@kriemo
Copy link
Contributor

kriemo commented Aug 5, 2020

Hi,
Thanks for developing such a useful tool. I routinely generate cellbrowsers for multiple unrelated projects and have been testing out using dataset hierarchies to organize each independent project. I can make this work currently by changing the global dataRoot in ~/.cellbrowser.conf as needed to point to the project-specific collection of cellbrowsers before running cbBuild. However, I'm wondering if there could be a feature to define the global dataRoot as an environmental variable, a command line option to cbBuild, or as a config parameter set in the top-level directory for each dataset hierarchy.

e.g. as environmental variable

CBDATAROOT="/project1/celldata/"

Thanks!

@maximilianh
Copy link
Owner

maximilianh commented Aug 5, 2020 via email

@kriemo
Copy link
Contributor Author

kriemo commented Aug 5, 2020

Sure, I can try to add this feature myself. Is there a testing workflow that you typically use after making code changes?

@maximilianh
Copy link
Owner

maximilianh commented Aug 5, 2020 via email

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

Successfully merging a pull request may close this issue.

2 participants