Skip to content

Validation script sensitive to insignificant differences in some metadata fields #40

@RKuttruff

Description

@RKuttruff

For the metadata fields that dump configuration YAML data (ie, metadata/pge_runconfig or metadata/algorithm_parameters_yaml), validations can fail due to whitespace differences in the source YAML. This is especially an issue for metadata/algorithm_parameters_yaml since it will raise a validation error if such a difference exists - this happened to me when I ran the golden dataset with an algorithm parameters file that lacked a trailing newline. The validator failed the products since their dtypes didn't match (|S#### != |S####-1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions