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
7bec6e32
Commit
7bec6e32
authored
19 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
accomodate sequence struct -> pointer change
parent
f9382c5a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapFeature/zmapFeature.c
+7
-10
7 additions, 10 deletions
src/zmapFeature/zmapFeature.c
with
7 additions
and
10 deletions
src/zmapFeature/zmapFeature.c
+
7
−
10
View file @
7bec6e32
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See zmapView_P.h
* HISTORY:
* Last edited: Nov 8 17:
34
2005 (rds)
* Last edited: Nov 8 17:
57
2005 (rds)
* Created: Fri Jul 16 13:05:58 2004 (edgrif)
* CVS info: $Id: zmapFeature.c,v 1.2
6
2005-11-
08
1
7
:3
8:08
rds Exp $
* CVS info: $Id: zmapFeature.c,v 1.2
7
2005-11-
16
1
0
:3
3:13
rds Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -121,11 +121,11 @@ gboolean zmapFeatureContextDNA(ZMapFeatureContext context,
zMapAssert
(
context
&&
seq_len_out
&&
seq_name_out
)
;
if
(
context
->
sequence
.
sequence
)
if
(
context
->
sequence
&&
context
->
sequence
->
sequence
)
{
*
seq_name_out
=
(
char
*
)
g_quark_to_string
(
context
->
sequence_name
)
;
*
seq_len_out
=
context
->
sequence
.
length
;
*
sequence_out
=
context
->
sequence
.
sequence
;
*
seq_len_out
=
context
->
sequence
->
length
;
*
sequence_out
=
context
->
sequence
->
sequence
;
result
=
TRUE
;
}
...
...
@@ -770,16 +770,13 @@ static void destroyFeatureSet(gpointer data)
* without removing the corresponding Feature data. */
static
void
removeNotFreeFeatureSet
(
GQuark
key_id
,
gpointer
data
,
gpointer
user_data
)
{
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
ZMapFeatureContext
feature_context
=
(
ZMapFeatureContext
)
user_data
;
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
/* need to call funcs to free blocks etc. here.... */
g_datalist_id_remove_no_notify
(
&
(
feature_context
->
feature_sets
),
key_id
)
;
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
return
;
}
...
...
@@ -1048,7 +1045,7 @@ static void doNewFeatures(GQuark key_id, gpointer data, gpointer user_data)
GData
*
diff_features
=
*
diff_result
;
GData
**
new_result
=
sets
->
new_features
;
GData
*
new_features
=
*
new_result
;
ZMapFeature
current_feature
,
diff_feature
;
ZMapFeature
current_feature
;
zMapAssert
(
key_id
==
new_feature
->
unique_id
)
;
...
...
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