Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jun 11, 2020
1 parent 26cae6e commit b6a8ae8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
requests
biopython
biopython==1.77
cachetools<4
click>=6.7
wrapt
pyyaml
decorator
bcbio-gff
bcbio-gff==0.6.6
pytest-timeit
16 changes: 2 additions & 14 deletions test/annotations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
from . import ApolloTestCase, wa
from apollo import util

def parse(path):
in_handle = open(path)
for rec in GFF.parse(in_handle):
print("rec -> "+str(rec)+"\n")
for f in rec.features:
print("feature ->" + str(f)+"\n")


class AnnotationsTest(ApolloTestCase):
Expand All @@ -37,14 +31,6 @@ def test_features_to_apollo_schema_mrna(self):

def test_features_to_apollo_schema_gene(self):
path = 'test-data/gene-top.gff'
print("inspecting")
output = parse(path)
print(str(output))
for o in output:
print("AAA")
print(str(o))
print("BBB")
print("inspected")

with open(path) as file:
print(file.read())
Expand All @@ -59,6 +45,8 @@ def test_features_to_apollo_schema_gene(self):
new_transcript_list = []
for rec in GFF.parse(in_handle):
print(str(rec))
print(str(rec.features))
print(str(rec.sub_features))
for f in rec.features:
print("feature ===== start")
print(f)
Expand Down

0 comments on commit b6a8ae8

Please sign in to comment.