Skip to content

Interpret on conversion process overrides interpret on enhancement #386

@ewpatton

Description

@ewpatton

In an enhancement parameters file I have the "" => null interpretation on the conversion process:

      conversion:interpret [
         conversion:symbol        "";
         conversion:interpretation conversion:null;
      ];

and on a specific column I have an interpret statement that maps "" => 0:

      conversion:enhance [
         ov:csvCol          24;
         ov:csvHeader       "m_steps";
         conversion:label   "m_steps";
         conversion:equivalent_property fitness:steps;
         conversion:comment "";
         conversion:range   xsd:integer;
         conversion:interpret [
            conversion:symbol "";
            conversion:interpretation 0;
         ];
      ];

When I query the endpoint, I do not see any 0 values when the global interpretation is enabled. If I comment out the interpretation, then I see 0 values as I expected. This may be user error, but I would expect that something specific to the enhancement should override a default value defined for all enhancements.

This experience is based on commit af7910f.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions