-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Describe the bug
I am trying to validate the file https://msbi.ipb-halle.de/~sneumann/molecule6338.json
by entering the URL into Metadata URL of https://bioschemas-validator.herokuapp.com/
but the web application is giving me
File "/validator/web/report.py", line 10, in generate_report_summary
##### {fmt.header("Against profile:")} {result['Profile Name']} {result['Profile Version']}
Same error when pasting the JSON into Raw metadata.
Expected behavior
I would like to see the error report similar to what I get from the CLI (branch web: https://github.com/ElixirTeSS/bioschemas-validator/tree/web)
Additional context
The dct:conformsTo markup in my JSON comes straight from the bioschemas example in the profile.
python src/command.py validate --target_data=/tmp/molecule6338.json && cat output.txt
Action: validate
/tmp/molecule6338.json is a file
The target metadata is /tmp/molecule6338.json
['dct:conformsTo']
###########Start Validation#############
Validating against profile MolecularEntity 0.5-RELEASE.json
=======================Validator Message:=================================
The data is valid against this profile
============Properties Marginality Report:============
Marginality: Minimum
The data has all the required property(ies).
Implemented required property has no error.
Marginality: Recommended
The data has all the recommended property(ies).
Implemented recommended property has no error.
Marginality: Optional
Optional property that are missing: ['disambiguatingDescription', 'isInvolvedInBiologicalProcess', 'sameAs', 'image', 'potentialUse', 'monoisotopicMolecularWeight', 'hasBioChemEntityPart', 'description', 'bioChemSimilarity', 'isPartOfBioChemEntity', 'associatedDisease', 'chemicalRole', 'taxonomicRange', 'hasRepresentation', 'alternateName', 'isLocatedInSubcellularLocation', 'isEncodedByBioChemEntity', 'bioChemInteraction', 'biologicalRole', 'hasMolecularFunction']
Implemented optional property has no error.
These properties names are in the metadata but not in the Bioschemas profile:['subjectOf']
###########End Validation#############
Metadata
Metadata
Assignees
Labels
No labels