- Jun 09, 2016
-
-
Vermaat authored
Fix data migrations for Reference.source
-
Vermaat authored
Due to a bug in the data migrations for the new `Reference.source` column introduced in #387 and #392, the start position for references created as a slice was used as both start and stop position in the new column for storing this data. This commit fixes these migrations and on top of this adds a new migration which corrects any values set by the old migrations (in case they were run before this fix). The original columns for these values have not yet been dropped, so no data has been lost. Thanks @ifokkema for reporting this issue. Fixes #393
-
Vermaat authored
Add NOT NULL constraint on Reference.source
-
Vermaat authored
Follow-up to #387, fixes #388
-
Vermaat authored
Release 2.0.19
-
Vermaat authored
-
Vermaat authored
-
Vermaat authored
Consider accession version in getGeneName
-
Vermaat authored
Fixes #385
-
Vermaat authored
Track source for reference files
-
Vermaat authored
Previously, the original source for a reference file was implicit: 1. If accession number starts with `LRG_`, it came from the LRG FTP archive. 2. If a download URL is known, it was downloaded from there. 3. If slice data is known, it was sliced from the NCBI. 4. If a GI number is known, it was downloaded from the NCBI. 5. Otherwise, it was uploaded. In preparation for the removal of GI numbers (#349), this had to be revisited. We now store the source explicitely in a new `source` field on the `Reference` model. If additional information is needed to re-fetch the file from this source (e.g., download URL), this is stored in a new `source_data` field (always serialized as a string). This scheme should be both more explicit and more generic.
-
Vermaat authored
-
- Jun 03, 2016
-
-
Vermaat authored
-
- Jun 02, 2016
-
-
Vermaat authored
Document database migrations
-
Vermaat authored
-
Vermaat authored
Some basically empty pages are effectively obsolete and better to be removed alltogether.
-
Vermaat authored
Seems that our mocking strategy in the Sphinx configuration causes infinite recursion since version 1.1.0 of the mock package. This fix follows [1] and we hope this still works. [1] https://github.com/sbusard/pynusmv/issues/2
-
Vermaat authored
Fix reference file loading by url
-
Vermaat authored
For some reason there is no `Content-Type` key in the object returned by `urllib2.urlopen().info()`. However, the `gettype()` method seems to work. I have no idea if this code ever worked, and if so, why. Also, the check for the `text/plain` content type is pretty bogus in my opinion. A server can say whatever it likes and valid GenBank files may well be served with different content types.
-
- May 31, 2016
- May 25, 2016
- May 23, 2016
- May 18, 2016
-
-
Vermaat authored
Slice by gene fixes
-
Vermaat authored
String formatting of the message was broken by #76 (`s.format()` needs separate arguments, not a tuple, as opposed to `s % ()`. We also prettify the message by creating a comma-separated list of aliases.
-
Vermaat authored
For example, CLN3 in Dog doesn't have NomenclatureSymbol set, but it does have Name.
-
Vermaat authored
-
- May 17, 2016
- May 09, 2016