-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* modified AtomNames topologyattr to include lookup table index * cheeky little optimisation * rework atom name selection to use lookup tables * Update topologyattrs.py * fixed test supplying integer as atom name really topologyattrs need to be statically typed and protective about this * Update test_topologyattrs.py * use dict-lookup string attrs EVERYWHERERE * removed some code duplication made protein selection faster, 48ms -> 0.5ms on GRO testfile * improved nucleic/backbone selections * Added explicit tests for Resnames topologyattr tests now provide str types for resnames/icodes * use fnmatchcase to be case sensitive * Update package/MDAnalysis/core/selection.py @jbarnoud's fix * apply suggestions from code review Co-authored-by: Irfan Alibay <[email protected]> * added test for setting multiple segids at once Co-authored-by: Oliver Beckstein <[email protected]> Co-authored-by: Irfan Alibay <[email protected]>
- Loading branch information
1 parent
ca2cbe4
commit 45e56e8
Showing
6 changed files
with
369 additions
and
73 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
Oops, something went wrong.