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
42c678d9
Commit
42c678d9
authored
15 years ago
by
mh17
Browse files
Options
Downloads
Patches
Plain Diff
added assembly_path to stats and also addFeatureModeCB ( )
parent
0f37f04d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/zmapFeature/zmapFeature.c
+2
-1
2 additions, 1 deletion
src/zmapFeature/zmapFeature.c
src/zmapWindow/zmapWindowDraw.c
+2
-2
2 additions, 2 deletions
src/zmapWindow/zmapWindowDraw.c
src/zmapWindow/zmapWindowStats.c
+6
-3
6 additions, 3 deletions
src/zmapWindow/zmapWindowStats.c
with
10 additions
and
6 deletions
src/zmapFeature/zmapFeature.c
+
2
−
1
View file @
42c678d9
...
...
@@ -29,7 +29,7 @@
* HISTORY:
* Last edited: Dec 14 11:20 2009 (edgrif)
* Created: Fri Jul 16 13:05:58 2004 (edgrif)
* CVS info: $Id: zmapFeature.c,v 1.12
0
2010-01-
19 12:36:53
mh17 Exp $
* CVS info: $Id: zmapFeature.c,v 1.12
1
2010-01-
25 13:17:45
mh17 Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -2858,6 +2858,7 @@ static void addFeatureModeCB(gpointer key, gpointer data, gpointer user_data)
case
ZMAPSTYLE_MODE_PEP_SEQUENCE
:
mode
=
ZMAPSTYLE_MODE_TEXT
;
break
;
case
ZMAPSTYLE_MODE_ASSEMBLY_PATH
:
// mh17: hoping this works...
case
ZMAPSTYLE_MODE_TEXT
:
case
ZMAPSTYLE_MODE_GLYPH
:
case
ZMAPSTYLE_MODE_GRAPH
:
...
...
This diff is collapsed.
Click to expand it.
src/zmapWindow/zmapWindowDraw.c
+
2
−
2
View file @
42c678d9
...
...
@@ -30,7 +30,7 @@
* HISTORY:
* Last edited: Jan 22 13:04 2010 (edgrif)
* Created: Thu Sep 8 10:34:49 2005 (edgrif)
* CVS info: $Id: zmapWindowDraw.c,v 1.11
6
2010-01-2
2
13:
05:00 edgrif
Exp $
* CVS info: $Id: zmapWindowDraw.c,v 1.11
7
2010-01-2
5
13:
17:45 mh17
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -176,7 +176,7 @@ void zMapWindowToggle3Frame(ZMapWindow window)
if
(
g_list_find
(
window
->
feature_set_names
,
three_frame_id
))
{
#ifdef RDS_REMOVED
#if
n
def RDS_REMOVED
_STATS
/* Remove all col. configuration windows as columns will be destroyed/recreated and the column
* list will be out of date. */
zmapWindowColumnConfigureDestroy
(
window
)
;
...
...
This diff is collapsed.
Click to expand it.
src/zmapWindow/zmapWindowStats.c
+
6
−
3
View file @
42c678d9
...
...
@@ -31,7 +31,7 @@
* HISTORY:
* Last edited: Feb 3 16:19 2009 (rds)
* Created: Tue Nov 7 10:10:25 2006 (edgrif)
* CVS info: $Id: zmapWindowStats.c,v 1.1
2
2010-01-2
2
1
7:33:53
mh17 Exp $
* CVS info: $Id: zmapWindowStats.c,v 1.1
3
2010-01-2
5
1
3:17:46
mh17 Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -121,6 +121,8 @@ ZMapWindowStatsAny zmapWindowStatsAddChild(ZMapWindowStats stats, ZMapFeatureAny
switch
(
feature
->
type
)
{
case
ZMAPSTYLE_MODE_ASSEMBLY_PATH
:
case
ZMAPSTYLE_MODE_BASIC
:
case
ZMAPSTYLE_MODE_RAW_SEQUENCE
:
case
ZMAPSTYLE_MODE_PEP_SEQUENCE
:
...
...
@@ -135,6 +137,7 @@ ZMapWindowStatsAny zmapWindowStatsAddChild(ZMapWindowStats stats, ZMapFeatureAny
case
ZMAPSTYLE_MODE_TRANSCRIPT
:
num_bytes
=
sizeof
(
ZMapWindowStatsTranscriptStruct
)
;
break
;
case
ZMAPSTYLE_MODE_META
:
default:
zMapAssertNotReached
()
;
break
;
...
...
@@ -264,7 +267,7 @@ static void printStats(gpointer data, gpointer user_data)
{
ZMapWindowStatsTranscript
transcript
=
(
ZMapWindowStatsTranscript
)
any_stats
;
g_string_append_printf
(
text
,
"Transcript
\t
features:%d
\t
exons:%d,
\t
introns:%d,
\t
cds:%d"
g_string_append_printf
(
text
,
"Transcript
\t
features:%d
\t
exons:%d,
\t
introns:%d,
\t
cds:%d
\t
"
"boxes:%d
\t
exon_boxes:%d
\t
intron_boxes:%d
\t
cds_boxes:%d
\n
"
,
transcript
->
transcripts
,
transcript
->
exons
,
transcript
->
introns
,
transcript
->
cds
,
transcript
->
items
,
transcript
->
exon_boxes
,
transcript
->
intron_boxes
,
transcript
->
cds_boxes
)
;
...
...
@@ -273,7 +276,7 @@ static void printStats(gpointer data, gpointer user_data)
default:
/* NEEDS FIXING TO DO STATS FOR OTHER STYLE MODES.... */
//
zMapLogFatalLogicErr("switch(), unknown value: %d", any_stats->feature_type) ;
// zMapLogFatalLogicErr("switch(), unknown value: %d", any_stats->feature_type) ;
g_string_append_printf
(
text
,
"ERROR: switch(), unknown value: %d"
,
any_stats
->
feature_type
);
break
;
...
...
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