Skip to content

Commit

Permalink
correct comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Apr 25, 2019
1 parent f2a569f commit d1453b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/importer/data_importer/raw_data_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def _insert_variants(self):
query = db.Variant.update(orig_alt_alleles=fmt_alleles2).where((db.Variant.chrom==base['chrom']) &
(db.Variant.pos==base['pos']) &
(db.Variant.ref==base['ref']) &
(db.Variant.ref==base['dataset_version']))
(db.Variant.dataset_version==base['dataset_version']))
query.execute()

for i, alt in enumerate(alt_alleles):
Expand Down

0 comments on commit d1453b7

Please sign in to comment.