Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
katerinakazantseva authored May 17, 2024
1 parent a0147f3 commit f28c950
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test_set/toy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import gfapy

g2 = gfapy.Gfa.from_file("out_strainy/strain_contigs.gfa")

def check_gfa(path):
g2 = gfapy.Gfa.from_file(path)
return [len(g2.segment_names),len(g2.edges)]


def test_answer():
assert check_gfa("out_strainy/strain_contigs.gfa") ==[15,16]
assert check_gfa("out_strainy/strain_unitigs.gfa") ==[22,23]

0 comments on commit f28c950

Please sign in to comment.