-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support for BandsData nodes without StructureData ancestors(#3817)
When storing `BandsData` nodes without `StructureData` ancestors, `verdi data bands list` would fail with a `KeyError` because it requires the formula from the connected structure. This PR now uses formula `<<NOT FOUND>>` for isolated `BandsData` nodes and fixes `verdi data bands list` for this use case. It also gets rid of a backend-specific implementation of `_extract_formula`.
- Loading branch information
Showing
3 changed files
with
68 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters