-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create framework to handle external inputs #20
Comments
I have pushed two commits that introduce the framework for externals. It is quite straightforward:
The idea is that make_externals.sh will be called by + # Optional: Create external symlinks
+ # Uncomment the following line if you need to handle external paths
+ # source "${REPO_ROOT}/lib/shell/make_externals.sh" These three lines could be added right after the lines that copy other source files for inputs. I have not pushed these modifications to If this framework is approved, I believe we would also have to change the local_env.sh file in the root of the template repository. Which raises the question - should we even have such a file? I am thinking whether we should delete this from the Github template repository as it is already created by |
@lucamlouzada Thanks! Comments:
|
Thanks @gentzkow. For the first two points, agreed. Will implement these in this branch. For the third, I agree it could be a good option. It goes back to thinking about how many of these helper scripts we want to have. The only thing I am unsure about is the point about installing dependencies for the "simple" repo case. Not sure if we should make that a default option as even installing the simplest packages without setting a virtual environment could lead to version issues in different projects. I think it might be better to just explain how to do that in the Wiki. In this case we could consider whether it's better to create a new |
Update:
I have deleted
I will wait until we have discussed the creation of |
This issue is part of an effort to implement substantive improvements to the lab template, as discussed in #16.
In this issue, the goal is to work on the way the template handles external paths for inputs. The main points to be addressed per the decision in plans for next steps are:
.yaml
, using Shell script.local_env.sh
.local_env.sh
file conditioned on they know nothing.To achieve this, I will need to
local_env.sh
files to recognize the path in a robust way.bash
handles complex objects to understand how to attribute global variables in a similar way done by.yaml
I am assigning myself to work on this.
The text was updated successfully, but these errors were encountered: