Closed JFRudzinski closed 1 year ago
It is kind of strange because the type for all of these x_gromacs_inout_control quantities is str and shape == 0. So it should not try to convert. Can you please try to remove the shape attribute in the metainfo defs? Otherwise, please create an issue in gitlab so Theodore can address it. It is coming from the metainfo.
oh ok, I see now. It is trying to convert because the metainfo says it should be a float of shape=[3]:
x_gromacs_inout_control_acc = Quantity(
type=np.dtype(np.float64),
shape=[3],
description='''
Gromacs running environment and control parameters.
''',)
But I am not sure why either 1. The parameter is now initially being read as a string or 2. The conversion used to work but now does not (I guess this is more likely)?
Does this clarify anything for you in terms of what has changed? Or should I still talk to Theodore?
Ah I miss this, can you simply set it to string. Not sure why it was working before. It this solves the problem, there is no need to talk to him.
Ok, great. It works now. I will created a branch for this issue and then make the quick change before making a pull request.
Problem: Several gromacs tests fail after rebasing NOMAD.
More specifically, line 1094 of parser.py in gromacs/ throws an error having to do with converting a str input parameter like '0 0 0' when running test_md_verbose (equivalently, you can simply try to parse the fe_test data under the gromacs test data folder, see error details below).
nb - This is specific to the gromacs parser, lammps tests work fine.
Relevant NOMAD branch: https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/tree/1157-add-rg-plots-to-overview-gui-page-for-molecular-dynamics-trajectories
Relevant atomistic parser branch: develop
Error details:
@ladinesa : Could you take a look at this? I don't want to make changes to fix this single problem, because I don't really understand more generally all the possible cases.