-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: some cleanup #17
Conversation
It would be good to understand the test failures and if we need some additional version pinning or processing of the data to ensure that we don't fool ourselves when we generated millions of text representations (this would especially hurt us, if we collaborate with different python environments) |
Thank you for reviewing the code, there were some bugs which i have fixed now. Will add more test cases as well. |
closes #18
pyproject.toml
Outdated
@@ -39,4 +39,5 @@ dev = [ | |||
"pytest>=8.0.0", | |||
"black>=24.1.1", | |||
"ruff>=0.2.1", | |||
"absl-py==2.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I wonder why this wasn't added by pdm. I say that this failure is caused by this and it is also in the lockfiles. It should automatically be obtained as a tensorflow dependency and not manually by us
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah this came with slices. Was not sure why it was not installed by pdm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this thus doesn't feel like the right fix ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did pdm install absl-py for you in your local ? I had conda env with slices & m3gnet, which might have added absl-py. before i started using pdm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, there might be a confounding. Let me clean that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pdm is not adding absl-py ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, because there should be no need. It is an indirect dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not have time now to look deeper into it, I'll add it back, but it is somehow strange and should not be needed and there must be a bug somewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, has been some venv issue on github actions, wtf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this PR now really must be squashed :D
@n0w0f the robocrys thing is still failing. Do we need to have a harder pin on the version? Or can we make the test a bit less strict? |
chore: adding wyckoff rep and decoder functions
Not sure about the origin of this issue. Test passed for N2, locally (will cross check dependency local and remote ), and how representation changes with versions. pymatgen version in CI and local is same. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
@RezaAliakbari I have done some cleanup. maybe you can review the code?