Skip to content

Commit

Permalink
Fix broken imports and Python path.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Jan 25, 2018
1 parent a61ed59 commit 774bb04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion .idea/pyvdrm.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions pyvdrm/tests/test_vcf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import unittest
from pyvdrm.vcf import Mutation, MutationSet, VariantCalls
from vcf import VariantCalls


class TestMutation(unittest.TestCase):
Expand Down Expand Up @@ -428,10 +427,6 @@ def test_immutable(self):
calls.reference = 'ASH'


if __name__ == '__main__':
unittest.main()


def add_mutations(text):
""" Add a small set of mutations to an RT wild type. """

Expand All @@ -444,4 +439,8 @@ def add_mutations(text):
changes = VariantCalls(text)
for mutation_set in changes:
seq[mutation_set.pos - 1] = [m.variant for m in mutation_set]
return VariantCalls(reference=ref, sample=seq)
return VariantCalls(reference=ref, sample=seq)


if __name__ == '__main__':
unittest.main()

0 comments on commit 774bb04

Please sign in to comment.