UW-Macrostrat / macrostrat-api

The API for SCIENCE
3 stars 1 forks source link

no ages for strat_name, but its attached to unit(s) #164

Open jonhusson opened 8 years ago

jonhusson commented 8 years ago

https://macrostrat.org/api/v2/defs/strat_names?strat_name_id=8155 https://macrostrat.org/sift/#/strat_name_concept/29701

cambro commented 8 years ago

This may not be a bug, per se. This strat_name_id is not assigned to any (non-obsolete) units directly. The name (Winterburn Gp) does have children that are assigned to active units.

jonhusson commented 8 years ago

so ’t_units' returned for this name refers to the units assigned to its children? its a little confusing, if thats the case.

On Jun 3, 2016, at 3:27 PM, Shanan Peters notifications@github.com<mailto:notifications@github.com> wrote:

This may not be a bug, per se. This strat_name_id is not assigned to any (non-obsolete) units directly. The name (Winterburn Gp) does have children that are assigned to active units.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/UW-Macrostrat/macrostrat-api/issues/164#issuecomment-223686095, or mute the threadhttps://github.com/notifications/unsubscribe/AIZBvke-KRL5iQbx5wkmWEPNJJqHmzi_ks5qII5DgaJpZM4It3If.

cambro commented 8 years ago

Agreed. This should be resolved by updating build scripts to include children of strat_name_id when determining age.