DataTextParser inheriting from TextParser
This is part of a refactoring of the current nomad/parsing/text_parser.py:DataTextParser
. This class should inherit from TextParser
and have a method init_quantities
defined for which data
is set to None.
This is in line with the PR in the electronic parsers module: https://github.com/nomad-coe/electronic-parsers/pull/144/files#diff-85beda07a5d25ee45aa299438491abff8be6bd721e570b5952edc913a0290820, where we had to define DataANDTextParser
to patch this.
@ladinesa do you want me to do the changes and you review or do you want to do it yourself?