Skip to content
This repository has been archived by the owner on Sep 22, 2019. It is now read-only.

remove 'is_deprecated' from list returned by properties method #51

Open
kcranston opened this issue Apr 18, 2016 · 0 comments
Open

remove 'is_deprecated' from list returned by properties method #51

kcranston opened this issue Apr 18, 2016 · 0 comments

Comments

@kcranston
Copy link
Member

Property is_deprecated has been scrubbed (I think) from the find_studies and find_trees methods but not the properties method. Current curl call returns the property for both studies and trees:

$ curl https://api.opentreeoflife.org/v3/studies/properties -X POST
{
      "tree_properties" : [ "ot:treebaseOTUId", "ot:nodeLabelMode", "ot:originalLabel", "oti_tree_id", "ot:ottTaxonName", "ot:inferenceMethod", "ot:tag", "ot:comment", "ot:treebaseTreeId", "ot:branchLengthDescription", "ot:treeModified", "ot:studyId", "ot:branchLengthTimeUnits", "ot:ottId", "is_deprecated", "ot:branchLengthMode", "ot:treeLastEdited", "ot:nodeLabelDescription" ],
      "study_properties" : [ "ot:studyModified", "ot:focalClade", "ot:focalCladeOTTTaxonName", "ot:focalCladeOTTId", "ot:studyPublication", "ot:studyLastEditor", "ot:focalCladeTaxonName", "ot:tag", "ot:studyLabel", "ot:comment", "ot:authorContributed", "ot:studyPublicationReference", "ot:studyId", "ot:curatorName", "ot:studyUploaded", "ot:studyYear", "is_deprecated", "ot:dataDeposit" ]
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant