sys-bio / libOmexMeta

libOmexMeta is a library aimed at providing developer-level support for reading, writing, editing and managing semantic annotations for biosimulation models.
https://sys-bio.github.io/libOmexMeta/
Apache License 2.0
8 stars 6 forks source link

Validate that namespace URIs have trailing `#` or `/` #101

Open jonrkarr opened 3 years ago

jonrkarr commented 3 years ago

Typos can result in namespace URIs that lack trailing # or /. It would be helpful to catch these mistakes.

CiaranWelsh commented 3 years ago

Normally users shouldn't have to worry about this as its handled automatically - at least should be. Do you have a code example where it is possible for users to enter invalid URIs?

jonrkarr commented 3 years ago

OMEX metadata files will not necessarily be built with this library, or there could be problems with metadata derived from annotations in model files. These could come from erroneous software or they could be created by hand. This creates a need to quality control metadata files. Empirically, I've seen a variety of issues with annotations in BioModels. These issues persist because there's no tool to identify and correct them. I think this library is well-positioned to address this.