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

HpParser: fix q-points/atoms output corner case #64

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Conversation

bastonero
Copy link
Collaborator

The current raw output parser would miss some corner cases, when lots of q-points are generated and the number has no more any space left from the parenthesis.
The solution is to use a more general regex search. As a sanity check, also the perturbed atom number sites regex search is changed correspondingly.

The current raw output parser would miss some corner cases,
when lots of q-points are generated and the number has no more
any space left from the parenthesis.
The solution is to use a more general regex search. As a sanity
check, also the perturbed atom number sites regex search is
changed correspondingly.
@bastonero bastonero requested a review from t-reents February 13, 2024 13:22
@bastonero
Copy link
Collaborator Author

@t-reents if you would be so kind to give it a quick look. It should be pretty straightforward. It's more or less a follow up of some previous changes you made as well somewhere else in the code.

Copy link
Collaborator

@t-reents t-reents left a comment

Choose a reason for hiding this comment

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

Sure! I remember that one

@bastonero bastonero merged commit 8aec5dc into master Feb 13, 2024
6 checks passed
@bastonero bastonero deleted the fix/parsing branch February 13, 2024 13:58
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.

2 participants