Conversation
Codecov Report@@ Coverage Diff @@
## master #1513 +/- ##
==========================================
- Coverage 84.95% 84.79% -0.17%
==========================================
Files 32 32
Lines 7087 7110 +23
Branches 897 902 +5
==========================================
+ Hits 6021 6029 +8
- Misses 907 919 +12
- Partials 159 162 +3
Continue to review full report at Codecov.
|
Great!
Gives:
Looks good! Set my own species ID from the repo command line using:
And inspected the database, which nicely had my entry.
Ran this branch of compliance against it reporting one already known failure. In the future we might provide an improved interface for setting species ontology terms via the repo manager. +1 |
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?); | ||
""" | ||
cursor = self._dbConnection.cursor() | ||
cursor.execute(sql, ( | ||
reference.getId(), reference.getParentContainer().getId(), | ||
reference.getLocalId(), reference.getLength(), | ||
reference.getIsDerived(), reference.getMd5Checksum(), | ||
reference.getNcbiTaxonId(), | ||
json.dumps(reference.getSpecies()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You provide the class as a second argument (protocol.OntologyTerm
) when inserting a reference set. Any reason for the discrepancy? Does it produce a nice exception?
Closes #1490 |
72dd671
to
9b44a2a
Compare
9b44a2a
to
dd26855
Compare
Replace NCBI taxon ID integer with ontology term in References and ReferenceSets. Propagates issue ga4gh/ga4gh-schemas#612 and pull request ga4gh/ga4gh-schemas#699.