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
21 stars 5 forks source link

[BUG] Trajectory editor jobs and atom selection #384

Open ChiCheng45 opened 6 months ago

ChiCheng45 commented 6 months ago

Description of the error If you run the cropped trajectory job with atom selection the MDT file is not filled in an expected manner. For example when I run crop trajectory with all atoms selected except for water molecule atoms all atoms are retained in the MDT file. The only differences is the coordinates of the atoms which are not selected are not stored and have nan values for their coordinates.

The nan values lead to a crash when you run the bonding in the 3D view. Jobs appear to be able to be completed but this can cause nan values to occur in the MDA results file which mean that the plot window is unable to plot the results correctly.

Describe the expected result It should've returned a MDT file with a chemical system and configuration of only the selected atoms.

Additional details Before cropping image

After cropping - note that the water molecules are not drawn because their coordinates are nan image

Plotting the VACF of the DFTB H2O trajectory with one oxygen removed image