ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
18 stars 4 forks source link

simplify json selection setting #437

Closed ChiCheng45 closed 1 month ago

ChiCheng45 commented 1 month ago

Description of work Updated the json selection setting so that it is simplified slightly.

Before {"all": false, "element": {"H1": true}, "index": {"144": true, "387": true, "639": true}}

After: {"all": false, "element": ["H1"], "index": [126, 252, 630, 663]}

To test Run a job with atom selection and check that it behaves correctly.