This package vendors the Bioconductor object schemas for the dolomite- Python packages. The idea is to ensure that downstream packages have consistent access to schemas without the need for a remote look-up. We put this in a separate package so that schema updates are kept separate from actual programming changes.
Developers can install the package through pip
.
pip install dolomite-schemas
Schemas are vendored into the schemas/
subdirectory in the installation directory.
This directory can be easily found by working back from the dolomite-schemas module location:
import dolomite_schemas
os.path.join(os.path.dirname(dolomite_schemas.__file__), "schemas")
Application-specific schema-vendoring modules should use the same relative location for their schema subdirectory in the installation directory.
The schemas are not actually committed to this repository, but are instead obtained by running:
cd extern && ./fetch.sh
This can be modified to point to any relevant version of the schemas.