- Oct 16, 2015
-
-
Vermaat authored
Create new Redis connection when REDIS_URI changes
-
Vermaat authored
When the REDIS_URI configuration setting is changed, the Redis client should be reconfigured with a new connection pool, just like we do with the database. It appears redis-py manages the connection pool by itself and doesn't expose ways to explicitely destroy it or close all connections (this is done automatically when all connections loose scope). This fix ensures that the unit tests don't accidentally work on the Redis database configured in MUTALYZER_SETTINGS, which was quite an unfortunate bug.
-
- Oct 14, 2015
- Oct 13, 2015
-
-
Vermaat authored
-
Existing `transcript_to_protein` is factored out into a separate `mutalyzer.ncbi` module.
-
Vermaat authored
Add Ter as a valid AA in the HGVS grammar
-
Vermaat authored
Previously, the `PSubst` rule did not register `MutationType`, so it was a bit awkward how to check for a `p.` substitution. We can now: >>> grammar.parse('NP_00011.1:p.Asp23Tyr').RawVar.MutationType 'subst'
-
-
Vermaat authored
-
Vermaat authored
-
Vermaat authored
Refactor unit tests using py.test
-
Vermaat authored
-
Vermaat authored
Especially lxml takes very long to install. By specifying the `-O0` compiler flag this is reduced by more than half. The actual unit tests are slightly slower with the non-optimized C modules, but we have a netto win.
-
Vermaat authored
-
- Oct 10, 2015
- Oct 01, 2015
- Sep 30, 2015
- Sep 27, 2015