Skip to content

Commit

Permalink
For site-specific manifests, mappings.csv and functions. No data is t…
Browse files Browse the repository at this point in the history
…o ever be included.
  • Loading branch information
DavidBrownlee committed Feb 19, 2024
1 parent 5b74358 commit 86c99ea
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 0 deletions.
15 changes: 15 additions & 0 deletions site_datasets/c3g/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
description: Mapping of MUHC Melanoma (1st batch) dataset to MOHCCN format for CanDIG
# mapping is the csv file that contains the list of fields and mapping functions
mapping: moh_muhcMelanoma.csv
# the name of the top-level identifier column in the input data
identifier: submitter_donor_id
# a link to the openapi schema
schema: https://raw.githubusercontent.com/CanDIG/katsu/develop/chord_metadata_service/mohpackets/docs/schema.yml
# class of schema for validation:
schema_class: MoHSchema
# a reference date used to calculate date intervals, formatted as a mapping entry for the mapping template
reference_date: earliest_date(donor.date_resolution, donor.date_of_birth) # NEEDS TO BE CHANGED, ONCE DATES ARE REAL.
# one or more files (dataset_functions.py) that implement the mappings
# described in mapping file
functions:
- muhc_mappings
Loading

0 comments on commit 86c99ea

Please sign in to comment.