-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
[SCons] Copy missing yaml input to LiC6_electrode sample #789
Conversation
Thanks for catching this @ischoegl, I think this is a fine solution. Re your postscript: As part of #768, I was wondering what we should do with input files that are used for examples. Having them in the This is complicated for examples in multiple interfaces though, but I think it deserves some discussion. Probably that discussion should not happen in an arbitrary PR though, but in a dedicated issue on our spanky new repo for just such discussions 😃 |
@bryanwweber ... thanks for the comments. I agree on the issue of trying to not endorse input data, and instead imply that they serve for illustration purposes, I.e. leave things in the example folder whenever possible. |
From that perspective, my solution in this PR is only a band-aid ... a better solution would automatically copy any YAML file that is encountered. Will have another look at PS: will wait for resolution of @speth’s comment regarding convenience of the |
Following up on @speth's comment in Cantera/enhancements#22, I added a description to clarify the intent of the input file and moved it to the data folder as an alternative option.
|
Closing as PR is superseded by discussion in Cantera/enhancements#22 |
Reopening as this is a simple fix as the time frame for Cantera/enhancements#22 is unclear. |
0c0b8b4
to
38a22b7
Compare
@speth and @bryanwweber ... I ended up moving the input file to the generic data path without adding clutter to At this point, this is a minimal fix that closes #774. I'm not sure whether Cantera/enhancements#22 will make it into 2.5.0. |
38a22b7
to
b33c987
Compare
Checklist
scons build
&scons
test
samples
) andunit tests address code coverageexample worksIf applicable, fill in the issue number this pull request is fixing
Fixes #774
Changes proposed in this pull request
LiC6_electrodebulk.yaml
file to sample folderPS: a simpler solution would be to simply move the YAML file to the data folder, which would allow for similar examples to be implemented in Python/Matlab.