Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
f604b595
Commit
f604b595
authored
16 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
Make parseStyle look for description not remark.
parent
2650f122
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapServer/acedb/acedbServer.c
+10
-10
10 additions, 10 deletions
src/zmapServer/acedb/acedbServer.c
with
10 additions
and
10 deletions
src/zmapServer/acedb/acedbServer.c
+
10
−
10
View file @
f604b595
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See zmapServer.h
* HISTORY:
* Last edited:
Feb 4 16:46
2009 (edgrif)
* Last edited:
Mar 17 08:54
2009 (edgrif)
* Created: Wed Aug 6 15:46:38 2003 (edgrif)
* CVS info: $Id: acedbServer.c,v 1.12
1
2009-0
2-04
1
6
:47:
3
4 edgrif Exp $
* CVS info: $Id: acedbServer.c,v 1.12
2
2009-0
3-17
1
5
:47:4
2
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -2953,7 +2953,7 @@ ZMapFeatureTypeStyle parseMethod(char *method_str_in,
/* The style string should be of the form:
*
* ZMap_style : "Allele"
*
Remark
"Alleles in WormBase represent small sequence mutations...etc"
*
Description
"Alleles in WormBase represent small sequence mutations...etc"
* Colours Normal Fill "ORANGE"
* Width 1.100000
* Strand_sensitive
...
...
@@ -2988,7 +2988,7 @@ ZMapFeatureTypeStyle parseStyle(char *style_str_in,
int
obj_lines
;
char
*
style_str
=
style_str_in
;
char
*
next_line
=
style_str
;
char
*
name
=
NULL
,
*
remark
=
NULL
,
*
parent
=
NULL
,
char
*
name
=
NULL
,
*
description
=
NULL
,
*
parent
=
NULL
,
*
colour
=
NULL
,
*
foreground
=
NULL
,
*
gff_source
=
NULL
,
*
gff_feature
=
NULL
,
*
column_group
=
NULL
,
*
orig_style
=
NULL
;
...
...
@@ -3049,12 +3049,12 @@ ZMapFeatureTypeStyle parseStyle(char *style_str_in,
}
if
(
g_ascii_strcasecmp
(
tag
,
"
Remark
"
)
==
0
)
if
(
g_ascii_strcasecmp
(
tag
,
"
Description
"
)
==
0
)
{
/* Line format:
Remark
"possibly quite long bit of text" */
/* Line format:
Description
"possibly quite long bit of text" */
remark
=
strtok_r
(
NULL
,
"
\"
"
,
&
line_pos
)
;
remark
=
g_strdup
(
strtok_r
(
NULL
,
"
\"
"
,
&
line_pos
))
;
description
=
strtok_r
(
NULL
,
"
\"
"
,
&
line_pos
)
;
description
=
g_strdup
(
strtok_r
(
NULL
,
"
\"
"
,
&
line_pos
))
;
}
else
if
(
g_ascii_strcasecmp
(
tag
,
"Style_parent"
)
==
0
)
{
...
...
@@ -3432,7 +3432,7 @@ ZMapFeatureTypeStyle parseStyle(char *style_str_in,
* names are independent of style names, they may or may not be the same.
* Also, there is no way of deriving the mode from the acedb style object
* currently, we have to set it later. */
style
=
zMapStyleCreate
(
name
,
remark
)
;
style
=
zMapStyleCreate
(
name
,
description
)
;
if
(
mode
!=
ZMAPSTYLE_MODE_INVALID
)
zMapStyleSetMode
(
style
,
mode
)
;
...
...
@@ -3551,7 +3551,7 @@ ZMapFeatureTypeStyle parseStyle(char *style_str_in,
/* Clean up, note g_free() does nothing if given NULL. */
g_free
(
name
)
;
g_free
(
remark
)
;
g_free
(
description
)
;
g_free
(
colour
)
;
g_free
(
foreground
)
;
g_free
(
column_group
)
;
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment