Update analysis and converter unit tests so they check against reference values #647
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.
Description of work
Updated analysis unit tests so they check against reference values.
Updated converter unit tests so they check certain values against already converted files. improvedase has not been updated as I find that the trajectories they converted didn't look correct, this should be updated when improvedase is fixed.
Updated IR unit tests so that charges are specified.
Updated the DCD converter so the time series starts from zero.
This change should reduce some of the manual testing that we'll need to do, especially when we need to test results against previous versions.
Reference results for scattering-related jobs have not been added because of the dependence on the randomly generated qvectors. We could set the seed but I believe this still might lead to different qvectors if different library version are used and etc.
To test
Unit tests should pass. The CHARMM and NAMD trajectory converters should work as usual except the times should start from zero.