Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ORG.Asm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ORG.Asm
ORG.Asm
Commits
d012dcfe
Commit
d012dcfe
authored
Feb 01, 2016
by
Eric Coissac
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solve the issue
#18
by casting the float value to an int value
parent
22b05609
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tango.py
python/orgasm/tango.py
+4
-4
No files found.
python/orgasm/tango.py
View file @
d012dcfe
...
...
@@ -1414,7 +1414,7 @@ def path2fasta(self,assgraph,path,identifier="contig",minlink=10,nlength=20,back
glength
=
nlength
seq
.
append
(
b
'N'
*
glength
)
seq
.
append
(
b
'N'
*
int
(
glength
)
)
seq
.
append
(
self
.
index
.
getRead
(
stem
[
0
],
0
,
self
.
index
.
getReadSize
())
.
lower
())
slength
.
append
(
self
.
index
.
getReadSize
())
if
connected
>
0
:
...
...
@@ -1485,8 +1485,8 @@ def path2fasta(self,assgraph,path,identifier="contig",minlink=10,nlength=20,back
logger
.
info
(
"Linked by
%
d pair ended links (gap length=
%
f sd=
%
f)"
%
(
connected
,
glength
,
sl
))
label
.
append
(
'{N-connection:
%
d}'
%
connected
)
seq
.
append
(
b
'N'
*
glength
)
slength
.
append
(
glength
)
seq
.
append
(
b
'N'
*
int
(
glength
)
)
slength
.
append
(
int
(
glength
)
)
circular
=
True
elif
forceconnection
:
if
logger
is
None
:
...
...
@@ -1497,7 +1497,7 @@ def path2fasta(self,assgraph,path,identifier="contig",minlink=10,nlength=20,back
logger
.
info
(
"Linked by
%
d pair ended links"
%
connected
)
label
.
append
(
'{F-connection:
%
d}'
%
connected
)
seq
.
append
(
b
'N'
*
nlength
)
seq
.
append
(
b
'N'
*
int
(
nlength
)
)
circular
=
True
else
:
if
logger
is
None
:
...
...
Eric Coissac
@coissac
mentioned in issue
#18 (closed)
Feb 01, 2016
mentioned in issue
#18 (closed)
mentioned in issue #18
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment