-
Notifications
You must be signed in to change notification settings - Fork 5
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
more things to do with packaging #64
Conversation
liam-o-marsh
commented
Jun 17, 2024
- new version of metatensor
- fixed the discrepancies between pip's files, requirements.txt and environment.yml
- added details to readme
is there a way to auto sync |
not to my knowledge? |
is it possible to import |
I also can't use qstack_qml if it isn't installed but is just in the path (which is probably how one should not use it but...) |
yeah I can fix both of those |
Thanks! |
I admittedly didn't test it. |
3b7b008
to
9754a2a
Compare
thanks a lot! one still can't do |
yeah, for this you need to have pip actually install qstack_qml (as one of qstack[all]'s dependencies) |
oh sorry I can't spell. what I meant is this: >>> import qstack
>>> qstack.__path__
['/home/xe/SOFT/miniconda3/envs/qstack-yuri/lib/python3.10/site-packages/qstack']
>>> from qstack_qml.slatm import get_slatm_rxn
>>> from qstack.qml.slatm import get_slatm_rxn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'qstack.qml.slatm'; 'qstack.qml' is not a package
>>> |
While the following works and is pretty convenient so all good >>> from qstack.qml import slatm
>>> slatm.get_slatm_rxn
<function get_slatm_rxn at 0x7f2fefd591b0>
>>> |
(also unrelated but I finished the local kernel wrapper thing. Do you want me to put it on another branch?) |
Thanks! yes please Do you think we can merge (squash and merge?) this one? |
Yes, I think so. |
It's fine! It's not something that changes every day and we can do it manually Do we need to look at/enable these alerts? https://github.com/lcmd-epfl/Q-stack/network/dependencies |
don't think so, unless there's like a security issue somehow |