Skip to content

Commit 774bb04

Browse files
committed
Fix broken imports and Python path.
1 parent a61ed59 commit 774bb04

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.idea/pyvdrm.iml

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyvdrm/tests/test_vcf.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import unittest
22
from pyvdrm.vcf import Mutation, MutationSet, VariantCalls
3-
from vcf import VariantCalls
43

54

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

430429

431-
if __name__ == '__main__':
432-
unittest.main()
433-
434-
435430
def add_mutations(text):
436431
""" Add a small set of mutations to an RT wild type. """
437432

@@ -444,4 +439,8 @@ def add_mutations(text):
444439
changes = VariantCalls(text)
445440
for mutation_set in changes:
446441
seq[mutation_set.pos - 1] = [m.variant for m in mutation_set]
447-
return VariantCalls(reference=ref, sample=seq)
442+
return VariantCalls(reference=ref, sample=seq)
443+
444+
445+
if __name__ == '__main__':
446+
unittest.main()

0 commit comments

Comments
 (0)