Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
19341adb
Commit
19341adb
authored
Feb 10, 2014
by
Penom Nom
Browse files
Fix bug when raw files are empty.
parent
029671e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ng6/t3MySQLdb.py
View file @
19341adb
...
...
@@ -301,9 +301,9 @@ class t3MySQLdb(object):
req
+=
"data_nature='"
+
data_nature
.
replace
(
"'"
,
"
\'
"
)
+
"',"
if
type
:
req
+=
"type='"
+
type
.
replace
(
"'"
,
"
\'
"
)
+
"',"
if
nb_sequences
:
if
nb_sequences
is
not
None
:
req
+=
"nb_sequences='"
+
str
(
nb_sequences
)
+
"',"
if
full_seq_size
:
if
full_seq_size
is
not
None
:
req
+=
"full_seq_size='"
+
str
(
full_seq_size
)
+
"',"
if
description
:
req
+=
"description='"
+
str
(
description
.
replace
(
"'"
,
"
\'
"
))
+
"',"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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