-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define structure results panel based on relaxation property (#1015)
This PR implements a structure results panel that is always shown. The tab title and source node are dependent on the nature of the calculation as follows: - No relaxation - title = "Initial structure"; source = `node.inputs.structure` - Some relaxation - title = "Relaxed structure"; source = `node.outputs.structure` Auto rendering is adjusted to ensure the initial structure panel is not dependent on having results (there are none) but instead is always auto rendered.
- Loading branch information
1 parent
987791c
commit 771f408
Showing
7 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/aiidalab_qe/app/result/components/viewer/structure/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .model import StructureResultsModel | ||
from .structure import StructureResults | ||
from .structure import StructureResultsPanel | ||
|
||
__all__ = [ | ||
"StructureResultsModel", | ||
"StructureResults", | ||
"StructureResultsPanel", | ||
] |
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
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