MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / isSemanticallyValid

Method isSemanticallyValid

src/openms/source/FORMAT/MzIdentMLFile.cpp:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 bool MzIdentMLFile::isSemanticallyValid(const String& filename, StringList& errors, StringList& warnings)
54 {
55 // load mapping
56 CVMappings mapping;
57 CVMappingFile().load(File::find("/MAPPING/mzIdentML-mapping.xml"), mapping);
58
59 // validate
60 Internal::MzIdentMLValidator v(mapping, ControlledVocabulary::getPSIMSCV());
61 bool result = v.validate(filename, errors, warnings);
62
63 return result;
64 }
65
66} // namespace OpenMS

Callers

nothing calls this directly

Calls 2

loadMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected