Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
general
ccb
sybilSBML
Commits
bcb360a9
Commit
bcb360a9
authored
Nov 16, 2016
by
Habil, Ardalan (arhab001)
Browse files
Update sybilSBML.c Annotation Bug
parent
d6e197c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sybilSBML.c
View file @
bcb360a9
...
...
@@ -1576,8 +1576,8 @@ void ParseModtoAnno (SBase_t* comp , char* Mannocopy)
if
(
strncmp
(
"bqbiol"
,
ptr
,
strlen
(
"bqbiol"
))
==
0
)
{
if
(
first
!=
0
)
SBase_addCVTerm
((
SBase_t
*
)
comp
,
cv
);
if
(
first
!=
0
)
{
SBase_addCVTerm
((
SBase_t
*
)
comp
,
cv
);
CVTerm_free
(
cv
);}
//CVTerm_free(cv);
quali
=
strcpy
(
&
ptr
[
0
],
&
ptr
[
7
]);
cv
=
CVTerm_createWithQualifierType
(
BIOLOGICAL_QUALIFIER
);
CVTerm_setBiologicalQualifierTypeByString
(
cv
,
(
const
char
*
)
quali
);
...
...
@@ -1585,7 +1585,8 @@ void ParseModtoAnno (SBase_t* comp , char* Mannocopy)
}
else
if
(
strncmp
(
"bqmodel"
,
ptr
,
strlen
(
"bqmodel"
))
==
0
)
{
if
(
first
!=
0
)
SBase_addCVTerm
((
SBase_t
*
)
comp
,
cv
);
if
(
first
!=
0
)
{
SBase_addCVTerm
((
SBase_t
*
)
comp
,
cv
);
CVTerm_free
(
cv
);}
//CVTerm_free(cv);
quali
=
strcpy
(
&
ptr
[
0
],
&
ptr
[
8
]);
cv
=
CVTerm_createWithQualifierType
(
MODEL_QUALIFIER
);
CVTerm_setModelQualifierTypeByString
(
cv
,
(
const
char
*
)
quali
);
...
...
@@ -2293,4 +2294,4 @@ SEXP exportSBML (SEXP version, SEXP level,SEXP FbcLevel, SEXP filename,SEXP sybi
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
\ No newline at end of file
Write
Preview
Supports
Markdown
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