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

Fix splitting in FromQEOutput.read_frequency_file #89

Merged
merged 1 commit into from
Oct 12, 2021
Merged

Conversation

singularitti
Copy link
Member

Sometimes we have imaginary frequencies for our materials. And QE prints them out in negative numbers. If the number is too long, it may coalesce with the previous one, like below:

           -0.222230 -0.355470  0.344040
-1447.3713-1187.8571  -80.3199  329.8292  833.3836 1105.8035

So this will cause read_frequency_file not be able to read the frequencies correctly. In this change I want to make it split either at a minus sign or at a space.

@singularitti singularitti merged commit 03085e6 into master Oct 12, 2021
@singularitti singularitti deleted the split branch October 12, 2021 23:13
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.

1 participant