Commit 560b943c authored by Remi Perenon's avatar Remi Perenon

Merge branch 'bugfix-inconsistent_results_when_using_multiple_atom_selections' into 'develop'

Bugfix inconsistent results when using multiple atom selections

See merge request !55
parents e947e209 db3b3b7f
Pipeline #6997 passed with stages
in 27 minutes
version 1.4.0
--------------
* FIXED issue #51 SFFSF job was accessible from MMTK trajectory and molecular viewer
* FIXED issue #50 Some results could be inconsistent when using multiple atom selections
* FIXED issue #49 Some LAMMPS files could not be converted
* FIXED issue #48 There was an error in NDTSF analysis
* FIXED issue #47 GUI converter did not close
......
......@@ -86,7 +86,7 @@ class AtomSelectionConfigurator(IConfigurator):
trajConfig = self._configurable[self._dependencies['trajectory']]
atoms = sorted(trajConfig["universe"].atomList(), key = operator.attrgetter('index'))
selectedAtoms = [atoms[idx] for idx in indexes]
selectedAtoms = [atoms[idx] for idx in self["flatten_indexes"]]
self["selection_length"] = len(self["flatten_indexes"])
self['indexes'] = [[idx] for idx in self["flatten_indexes"]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment