Skip to content
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

Change default units when reading from cube files #591

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

timcallow
Copy link
Contributor

@timcallow timcallow commented Oct 23, 2024

This PR addresses issue #576.

According to the Gaussian documentation, cube files are almost always in atomic units, and this is certainly the units used by QE, so it should be safe to make this assumption.

I simply changed the default units for the read_from_cube functions.

I also added a warning statement if users explicitly request the wrong units.

@timcallow timcallow linked an issue Oct 23, 2024 that may be closed by this pull request
@timcallow timcallow marked this pull request as draft October 23, 2024 13:27
@timcallow
Copy link
Contributor Author

Marked as draft because it's not behaving as expected

@timcallow timcallow marked this pull request as ready for review October 25, 2024 08:45
@timcallow
Copy link
Contributor Author

Ok this now works as expected @RandomDefaultUser

Copy link
Member

@RandomDefaultUser RandomDefaultUser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great from my side, thank you! I will merge it.

@RandomDefaultUser RandomDefaultUser merged commit 7c95e6b into mala-project:develop Oct 25, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LDOS default units inconsitency
2 participants