-
Notifications
You must be signed in to change notification settings - Fork 17
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
use displayed_structure to create selection info #371
Merged
Merged
Changes from 26 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
6650466
use displayed_structure to create selection info
superstar54 720ae1f
Merge branch 'master' into fix_supercell_selection
superstar54 2b369ab
add info_unit_cell_atoms
superstar54 9bac99b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e05a28e
add displayed_selection
superstar54 fd8c279
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 129fb82
Merge branch 'master' into fix_supercell_selection
superstar54 94e30b7
Update aiidalab_widgets_base/viewers.py
superstar54 8b3f5e4
Update aiidalab_widgets_base/viewers.py
superstar54 a68ac08
do not update selection formula
superstar54 8f13226
add a bulk pt for test
superstar54 f90f8b4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a157ab8
use try for advance parse_advanced_sel
superstar54 6f6dbda
Merge branch 'master' into fix_supercell_selection
yakutovicha 2b15fab
Fix dihedral representation
yakutovicha 7311d66
Remove automatic switching to the selection tab.
yakutovicha cefff7f
Please flake8
yakutovicha 482172d
Update self.selection after self.displayed_selection
yakutovicha 277d80e
Apply selection to display_structure
yakutovicha e56b5d6
Tests: upload screenshots also in case of failure.
yakutovicha e746510
Remove leftovers from testing
yakutovicha ee21af9
fix test
yakutovicha b50e84c
Trying to test supercell selection
yakutovicha 48d7849
fix
yakutovicha a13d260
Fix tests
yakutovicha 746b603
Revert changes to the tests
yakutovicha 8505ea6
(tests) More robust cell expansion in z-direction.
yakutovicha 9b6fc31
Slightly increase the size of supercell selection widgets
yakutovicha f2d5f19
Introduce 'input_selection' trait to interact with editors
yakutovicha d4fccda
Merge branch 'master' into fix_supercell_selection
yakutovicha b998203
Fix pre-commit
yakutovicha 58b641a
Update tests/test_notebooks.py
yakutovicha a2fd1e7
Selected atoms -> Select atoms.
yakutovicha 010c899
Fix tests
yakutovicha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yakutovicha why was this code deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember the exact motivation. I think it is because the trait doesn't have to be set by nglview. If it is set elsewhere, the switching will still occur, which might be unwanted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, that makes sense. Thanks!