levitsky / pyteomics

Pyteomics is a collection of lightweight and handy tools for Python that help to handle various sorts of proteomics data. Pyteomics provides a growing set of modules to facilitate the most common tasks in proteomics data analysis.
http://pyteomics.readthedocs.io
Apache License 2.0
105 stars 34 forks source link

Update default featureXML schema_info and version, add overrides #53

Closed levitsky closed 2 years ago

levitsky commented 2 years ago

This PR relates to #50. It bumps the default featureXML version to 1.9 and updates the default schema, while also explicitly overriding mentioned keys through an overridden method of FeatureXML.

Note that the schema is never actually retrieved when the version is the same as default_version, so for featureXML 1.9 the overrides are not really needed. I'm not sure if they are ever needed for older schemas, either, but I added them just in case.