Closed vladsavelyev closed 6 years ago
Thanks @vladsaveliev -- this looks like a good change.
I noticed that the Travis build when it tries to use our private netmhcbundle package. This might be a permissions problem, I'll look into it.
In the mean time, do you mind adding a unit test for this property?
Thanks @iskandr!
Just added a test for this.
Failing on Travis due to this issue: https://github.com/travis-ci/travis-ci/issues/1946 (encrypted values not available on PRs from forks)
Only solution I've seen so far seems pretty complicated: https://blog.algolia.com/travis-encrypted-variables-external-contributions/
Hey @vladsaveliev -- once I merge https://github.com/openvax/pyensembl/pull/213, can you rebase your branch? That should enable unit tests to run on Travis for your code.
OK @vladsaveliev -- if you rebase then Travis should work for your PR.
Rebased!
Whew, almost there. Found two failing serialization tests:
I'm guessing they're missing the TSL?
Right, because I wasn't adding support_level
field into the state_dict
returned by to_dict()
, that is used by Serializable to serialize to json. Fixed now.
Ok, looks great. Can you bump the version number in init.py? Then I'll merge the PR and a successful Travis run on master will deploy to PyPI.
Done!
Merged! Thanks for the PR!
Also, feel free to leave questions on the vaxrank and docker pipeline repos if you encounter anything confusing there.
By the way, thank you for all the tools you guys do in openvax. It's remarkably high quality.
No problem -- our big weakness has so far been documenting and publicizing what we're building. Feel free to ask about anything that's unclear or nudge us to document things better.
GRCh38 database provides a field called
transcript_support_level
(TSL) for transcript features. This PR adds reading of it as an optional field, and adds a newsupport_level
field forTranscript
object.