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 task type for NSCF line TaskDoc's #1127

Closed

Conversation

esoteric-ephemera
Copy link
Collaborator

Minor bug where TaskDoc.task_type is incorrectly determined for older NSCF line calcs

In TaskDocument, the orig_inputs are used to determine the task_type. The KPOINTS in orig_inputs retain user-input labels, and the NSCF line check currently only looks for these being non-empty

In TaskDoc, the task_type is determined from calcs_reversed.0.input, failing that, input, and failing that, orig_inputs. Both calcs_reversed.0.input and input read KPOINTS from vasprun.xml, which may have labels removed (may have been an issue with older parsed tasks).

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