Skip to content

Commit

Permalink
Update dpxdt for better sorting, contig sorting
Browse files Browse the repository at this point in the history
Also handle travis build issue--we don't want to DL and build pysensembl
  • Loading branch information
ihodes committed Dec 12, 2014
1 parent 64c7e07 commit 6bbc174
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cycledash/static/js/examine/components/Downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ var Downloads = React.createClass({
link = `/runs/${ this.props.run_id }/download?${ queryString }`;
return <a className='download-vcf' href={ link }>Download VCF</a>;
}
})
});

module.exports = Downloads;
2 changes: 1 addition & 1 deletion scripts/travis-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Install all deps & build everything for the Python & JS tests.
set -o errexit

pip install -r <(grep -v 'pysam\|dpxdt' requirements.txt)
pip install -r <(grep -v 'pysam\|dpxdt\|pyensembl' requirements.txt)
npm install
make initenv

Expand Down
Binary file modified tests/pdifftests/examine-filter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/examine-sorted.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/examine-tooltip.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/examine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/runs-info.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/runs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/validated-run-with-filter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/validated-run.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/python/test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import nose

from cycledash.helpers import underscorize
from workers.relational_vcfs import vcf_to_csv
from common.relational_vcf import vcf_to_csv


def test_underscorize():
Expand Down
10 changes: 6 additions & 4 deletions workers/gene_annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,23 @@
"""
from contextlib import contextmanager
import csv
from pyensembl import EnsemblRelease
from sqlalchemy import select, update, Table, Column
from sqlalchemy import select, Table, Column
from sqlalchemy.types import Text, Integer

from workers.shared import (worker, DATABASE_URI, TEMPORARY_DIR,
initialize_database, temp_csv,
update_extant_columns)

import os
if not os.environ.get('TRAVIS'):
from pyensembl import EnsemblRelease


# TODO(tavi) Handle inconsistent states and retries.
@worker.task
def annotate(vcf_ids):
if vcf_ids == False:
return # An error must have occurred earlier

return # An error must have occurred earlier.
for vcf_id in vcf_ids:
_annotate_one(vcf_id)

Expand Down

0 comments on commit 6bbc174

Please sign in to comment.