Skip to content

Feat/resources#44

Merged
davehorsfall merged 6 commits intodevfrom
feat/resources
Mar 28, 2025
Merged

Feat/resources#44
davehorsfall merged 6 commits intodevfrom
feat/resources

Conversation

@dannda
Copy link
Copy Markdown
Contributor

@dannda dannda commented Mar 26, 2025

  • add resource component

    • with type either link (default) or file. optional category enum field
  • add resources field as repeatable component to study and dataset

  • on studies or datasets find return basic resource info (no url)

    • return full data on findOne requests, thus requiring auth for password-protected studies/datasets
  • simplify data component type field to be enum of data types that can be loaded in app, currently AnnData-Zarr. (instead of format + file_type)

  • update dataset schema to make name non-unique

    • use study_id:dataset_uid as unique dataset_id (+update lifecycle hooks and data-import plugin)

Will require client update to handle new data and resource schemas

@dannda dannda requested a review from davehorsfall March 27, 2025 13:11
@davehorsfall davehorsfall merged commit 2b1f541 into dev Mar 28, 2025
@davehorsfall davehorsfall deleted the feat/resources branch March 28, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants