Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask: POST analysis-dataset metadata to phenotips #958

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

delvinso
Copy link
Contributor

@delvinso delvinso commented Nov 29, 2021

part of #1021

TODO - mostly contingent on the endpoint existing and being testable

  • confirm JSON shape
  • add logic for fetching PT's internal ID:
    • i) integrate directly into the click command or,
    • ii) create a wrapper script that invokes this click command
  • flesh out details for handling PT credentials, POSTing the payload and handling exceptions, will depend on how logic for fetching internal ID is integrated

Sample JSON:

{
    "dataset_type": "RES",
    "tissue_sample_type": "Unknown",
    "files": "/hpf/largeprojects/ccm_dccforge/dccforge/results/10x/1002",
    "analysis_date": "2020-04-07"
}

@github-actions github-actions bot added the database Entity models for SQLAlchemy and migrations label Nov 29, 2021
@delvinso delvinso changed the title Flask: POST analysis-dataset metadata to phenotypes Flask: POST analysis-dataset metadata to phenotips Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Entity models for SQLAlchemy and migrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant