Skip to content

Commit

Permalink
STY: Un-break CI (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko authored Feb 22, 2022
1 parent 2dac0a9 commit 78bbc6f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ big-list-of-naughty-strings/
*.gv
*.xdot
*.db
*.agp
mg2/
coverage/
metagenomescope/tests/input/extras/sheepgut_g1217.gfa
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ def test_bubble_chain_identification():
ag = AssemblyGraph("metagenomescope/tests/input/bubble_chain_test.gml")
ag.hierarchically_identify_patterns()
# TODO: Fix, as described above!
#assert len(ag.decomposed_digraph.nodes) == 1
#assert len(ag.decomposed_digraph.edges) == 0
#assert len(ag.chains) == 3
#assert len(ag.cyclic_chains) == 0
#assert len(ag.frayed_ropes) == 1
#assert len(ag.bubbles) == 0
# assert len(ag.decomposed_digraph.nodes) == 1
# assert len(ag.decomposed_digraph.edges) == 0
# assert len(ag.chains) == 3
# assert len(ag.cyclic_chains) == 0
# assert len(ag.frayed_ropes) == 1
# assert len(ag.bubbles) == 0


def test_bubble_cyclic_chain_identification():
Expand Down
4 changes: 2 additions & 2 deletions metagenomescope/tests/input/extras/rename_gfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# CIGAR for links), which will obvs cause problems if this is applied to
# arbitrary GFA files.

with open("sheepgut_g1217.gfa", 'r') as f:
with open("sheepgut_g1217.gfa", "r") as f:
gfa = f.read()

ot = ""
Expand All @@ -26,7 +26,7 @@
else:
# Another line (... which I assume does not contain node
# information)
ot += (line + "\n")
ot += line + "\n"

else:
# This is a "S" line (segment, aka node, even though if this is a de
Expand Down

0 comments on commit 78bbc6f

Please sign in to comment.