Commit bf597793 by Eric Coissac

remove warning in the code

parent bcd5e3f1
......@@ -62,8 +62,6 @@ def compactGraph2lastgraph(asm,paths=[],minlink=5,back=250):
)
begins = {}
ends = {}
stems = {}
# print the nodes -- here nodes corresponds to edge in oa
for n in range(1,int(len(nodes)/2)+1):
......@@ -101,7 +99,7 @@ def compactGraph2lastgraph(asm,paths=[],minlink=5,back=250):
elif 'path' not in nodes[ne]:
connected=nodes[ne]['pairendlink']
else:
connected,ml,sl,delta = pairEndedConnected(asm,cg,n,ne,back)
connected,ml,sl,delta = pairEndedConnected(asm,cg,n,ne,back) # @UnusedVariable
done.add((n,ne))
print("ARC {START_NODE} {END_NODE} {MULTIPLICITY}".format(
START_NODE=n,
......@@ -118,7 +116,7 @@ def compactGraph2lastgraph(asm,paths=[],minlink=5,back=250):
elif 'path' not in nodes[ne]:
connected=nodes[ne]['pairendlink']
else:
connected,ml,sl,delta = pairEndedConnected(asm,cg,-n,ne,back)
connected,ml,sl,delta = pairEndedConnected(asm,cg,-n,ne,back) # @UnusedVariable
print("ARC {START_NODE} {END_NODE} {MULTIPLICITY}".format(
START_NODE=-n,
END_NODE=ne,
......@@ -174,7 +172,7 @@ def run(config):
output = getOutput(config)
r = getIndex(config)
ecoverage,seeds,newprobes = getSeeds(r,config)
ecoverage,seeds,newprobes = getSeeds(r,config) # @UnusedVariable
asm = restoreGraph(output+'.oax',r,seeds)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment