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

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

@kcranston

Description

@kcranston

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" ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions