Skip to content

Commit

Permalink
Merge 3662159 into f9d5fc7
Browse files Browse the repository at this point in the history
  • Loading branch information
jburos committed Jul 12, 2017
2 parents f9d5fc7 + 3662159 commit 07bcca2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 182 deletions.
7 changes: 6 additions & 1 deletion cohorts/cohort.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,12 @@ def _load_single_patient_merged_variants(self, patient, use_cache=True):
for patient_variants in patient.variants_list:
if type(patient_variants) == str:
if ".vcf" in patient_variants:
variant_collections.append(varcode.load_vcf_fast(patient_variants))
try:
variant_collections.append(varcode.load_vcf_fast(patient_variants))
except StopIteration as e:
logger.warning('Error loading VCFs for patient '+
'{} {}'.format(patient.id,
str(e)))
elif ".maf" in patient_variants:
# See variant_stats.maf_somatic_variant_stats
variant_collections.append(
Expand Down
Empty file removed cohorts/io/__init__.py
Empty file.
180 changes: 0 additions & 180 deletions cohorts/io/gcloud_storage.py

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ serializable>=0.0.8
dill>=0.2.5
tqdm>=4.10.0
pysam>=0.9.0
google-cloud-storage>=1.1.1

0 comments on commit 07bcca2

Please sign in to comment.