Skip to content

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.

2 participants