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
ef3fefb9
Commit
ef3fefb9
authored
18 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add function to retrieve a feature set from a block.
parent
a7f644fa
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/zmapFeatureUtils.c
+11
-8
11 additions, 8 deletions
src/zmapFeature/zmapFeatureUtils.c
with
11 additions
and
8 deletions
src/zmapFeature/zmapFeatureUtils.c
+
11
−
8
View file @
ef3fefb9
...
...
@@ -26,9 +26,9 @@
*
* Exported functions: See ZMap/zmapFeature.h
* HISTORY:
* Last edited:
Jul
2
6
09:
5
1 2006 (
rds
)
* Last edited:
Sep
2
2
09:1
9
2006 (
edgrif
)
* Created: Tue Nov 2 2004 (rnc)
* CVS info: $Id: zmapFeatureUtils.c,v 1.3
1
2006-0
7
-26 0
9:29:42 rds
Exp $
* CVS info: $Id: zmapFeatureUtils.c,v 1.3
2
2006-0
9
-26 0
8:45:32 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -416,17 +416,20 @@ ZMapFeature zMapFeatureFindFeatureInSet(ZMapFeatureSet feature_set, GQuark featu
}
GData
*
zMapFeatureFindSetInBlock
(
ZMapFeatureBlock
feature_block
,
GQuark
set_id
)
#endif
ZMapFeatureSet
zMapFeatureFindSetInBlock
(
ZMapFeatureBlock
feature_block
,
GQuark
set_id
)
{
GData
*
features
=
NULL
;
ZMapFeatureSet
feature_set
;
if
((
feature_set
=
g_datalist_id_get_data
(
&
(
feature_block
->
feature_sets
),
set_id
)))
features
=
feature_set
->
features
;
feature_set
=
g_datalist_id_get_data
(
&
(
feature_block
->
feature_sets
),
set_id
)
;
return
feature
s
;
return
feature
_set
;
}
#endif
/* Dump out a 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