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
1ba359fd
Commit
1ba359fd
authored
15 years ago
by
mh17
Browse files
Options
Downloads
Patches
Plain Diff
fix to RC feautre menu show DNA crash RT123891
parent
a2b786d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/zmapServer/pipe/pipeServer.c
+3
-3
3 additions, 3 deletions
src/zmapServer/pipe/pipeServer.c
src/zmapWindow/zmapWindowMenus.c
+3
-2
3 additions, 2 deletions
src/zmapWindow/zmapWindowMenus.c
with
6 additions
and
5 deletions
src/zmapServer/pipe/pipeServer.c
+
3
−
3
View file @
1ba359fd
...
...
@@ -34,7 +34,7 @@
* HISTORY:
* Last edited: Jan 14 10:10 2010 (edgrif)
* Created: 2009-11-26 12:02:40 (mh17)
* CVS info: $Id: pipeServer.c,v 1.1
3
2010-01-2
5
1
2:03:32
mh17 Exp $
* CVS info: $Id: pipeServer.c,v 1.1
4
2010-01-2
6
1
3:44:38
mh17 Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -568,7 +568,7 @@ static ZMapServerResponseType getFeatures(void *server_in, GData *styles, ZMapFe
{
/* SHOULD ABORT HERE.... */
setErrMsg
(
server
,
g_strdup_printf
(
"zMapGFFParse
Line
() failed with no GError for line %d: %s"
,
g_strdup_printf
(
"zMapGFFParse
Header
() failed with no GError for line %d: %s"
,
zMapGFFGetLineNumber
(
get_features
.
parser
),
get_features
.
gff_line
->
str
))
;
ZMAPPIPESERVER_LOG
(
Critical
,
server
->
protocol
,
server
->
script_path
,
server
->
query
,
"%s"
,
server
->
last_err_msg
)
;
...
...
@@ -767,7 +767,7 @@ static ZMapServerResponseType getContextSequence(void *server_in, GData *styles,
{
/* SHOULD ABORT HERE.... */
setErrMsg
(
server
,
g_strdup_printf
(
"zMapGFFParse
Line
() failed with no GError for line %d: %s"
,
g_strdup_printf
(
"zMapGFFParse
Header
() failed with no GError for line %d: %s"
,
zMapGFFGetLineNumber
(
get_features
.
parser
),
get_features
.
gff_line
->
str
))
;
ZMAPPIPESERVER_LOG
(
Critical
,
server
->
protocol
,
server
->
script_path
,
server
->
query
,
"%s"
,
server
->
last_err_msg
)
;
...
...
This diff is collapsed.
Click to expand it.
src/zmapWindow/zmapWindowMenus.c
+
3
−
2
View file @
1ba359fd
...
...
@@ -29,7 +29,7 @@
* HISTORY:
* Last edited: Jan 22 13:55 2010 (edgrif)
* Created: Thu Mar 10 07:56:27 2005 (edgrif)
* CVS info: $Id: zmapWindowMenus.c,v 1.6
6
2010-01-2
2
13:
56:08 edgrif
Exp $
* CVS info: $Id: zmapWindowMenus.c,v 1.6
7
2010-01-2
6
13:
44:38 mh17
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -360,7 +360,8 @@ static void dnaMenuCB(int menu_item_id, gpointer callback_data)
char
*
seq_name
,
*
molecule_type
=
NULL
,
*
gene_name
=
NULL
;
int
seq_len
;
feature
=
(
ZMapFeature
)
zMapWindowCanvasItemIntervalGetObject
(
menu_data
->
item
)
;
// feature = (ZMapFeature)zMapWindowCanvasItemIntervalGetObject(menu_data->item) ;
feature
=
zMapWindowCanvasItemGetFeature
(
menu_data
->
item
);
// this function is used to get the feature in the function that makes this menu
context
=
menu_data
->
window
->
feature_context
;
...
...
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