Open fxcoudert opened 2 weeks ago
Hi @fxcoudert ,
Thanks for the issue report. Unless the commits are important for your needs, feel free to comment out the offending lines in nequip/utils/versions.py
and hack it to achieve what you want. The get_commit
function has been removed anyway in the develop
branch (d479aadd99ba0b8e2c1d0693c71d23c9bcfd4953), so this bug shouldn't re-appear in future releases.
Describe the bug The
get_commit
function generates aNotADirectoryError
by calling a git subprocess with a value of cwd that is not a valid directory.Previously reported in https://github.com/mir-group/nequip/issues/264 Apparently the fix did not work (or maybe was reverted in later code?)
To Reproduce
After compiling nequip-0.6.1 from source:
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information): OS: CentOS Linux release 8.4.2105 Python 3.10.6 nequip version: 0.6.1 e3nn version: 0.5.1 pytorch version: 2.0.1