-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Move install_odes
from pybamm/
to scripts/
#3385
Comments
@Saransh-cpp, I would like to work on this issue. Please assign me : ). |
We will also need to alter the entry point for |
I see. Go ahead, @akhilender-bongirwar! The entry point should be edited here - Line 293 in 7eb5879
|
Hey @Saransh-cpp, I think I should change the entry point of this line 292 - @agriyakhetarpal , should I remove this line from entry point as the |
Yes, that is correct, it should be the line above the one @Saransh-cpp quoted. However, we shouldn't remove the entry point altogether at this moment. Could you try adding an entry point to |
Yeah @agriyakhetarpal, I shall investigate. |
@agriyakhetarpal, according to what I have investigated I am sure that entry point to Please let me know if I am right about this :) |
We don't need to edit the Dockerfile in this case. This is related to PyBaMM's packaging infrastructure, the Docker installation picks it up as needed. |
@agriyakhetarpal, I understand. So, it seems there's no option to include 'install_odes' in the 'scripts/' folder then. |
@Saransh-cpp I am happy to close this since entry points don't work outside importable module folders, unless you have some other ideas :) We shouldn't deprecate this command at the moment because it is useful for Linux after all. |
Oh yes, it would be nice to make this script "uniform" with other scripts (like |
A hacky way around this would be to put the functionality in |
@Saransh-cpp, could you please summarize what exactly should I be doing to complete this issue and raise a PR. |
This way we can encourage only developers to use |
@arjxn-py , are you suggesting me to remove the entry point |
No, i was suggesting to avoid removing this entrypoint as if we remove it then users might not have any way to access |
Oh yes, that is true, +1 on keeping things as it is. Closing this issue. |
Feel free to work on the other issue you commented on, @akhilender-bongirwar! |
install_odes.py
is a script and is not used bypybamm
internally - https://github.com/pybamm-team/PyBaMM/blob/develop/pybamm/install_odes.pyThe text was updated successfully, but these errors were encountered: