From e1e707fc5167de1f2344c3b5aa9b9dc3f7ec9906 Mon Sep 17 00:00:00 2001 From: Aditi <63365451+aditigopalan@users.noreply.github.com> Date: Thu, 25 Jul 2024 19:41:39 -0400 Subject: [PATCH] Update ToolView.csv (#130) * Update ToolView.csv * Update dca-template-config.json * Update prepare-data-release.md Remove data_curator_config template update step add reference to release_workflow script, which can be used to generate templates locally * Add new attribute values to docs --------- Co-authored-by: Orion Banks <49208907+Bankso@users.noreply.github.com> --- .../ISSUE_TEMPLATE/prepare-data-release.md | 5 ++-- dca_config/dca-template-config.json | 15 +++++++++++ docs/valid_values/tool.md | 27 +++++++++++++++++++ templates/ToolView.csv | 4 +-- 4 files changed, 46 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/prepare-data-release.md b/.github/ISSUE_TEMPLATE/prepare-data-release.md index 9a54c42..2f1ff1e 100644 --- a/.github/ISSUE_TEMPLATE/prepare-data-release.md +++ b/.github/ISSUE_TEMPLATE/prepare-data-release.md @@ -21,13 +21,12 @@ The following checklist covers the post-curation steps that should be performed - [ ] Add updates to a new branch in the data-models repo - [ ] Make a PR to merge updates into main - [ ] Verify CSV and JSON-LD were updated and added to branch or build and add manually -- [ ] Build manifest templates in xlsx format and store in "templates" folder +- [ ] Build manifest templates in CSV format and store in "templates" folder. Optionally, you can use [release_workflow.sh](https://github.com/mc2-center/data-models/blob/main/release_workflow.sh) to generate template manifests in bulk. - [ ] Review and merge PR to main ### Data Curator Config - [ ] Update data model and dca-template-config.json version number in data_curator_config/MC2/dca_config.json -- [ ] Copy templates to display in DCA from data-models/templates to data_curator_config/MC2/templates -- [ ] Ensure any templates that should be listed in the DCA are provided in data-models/dca_config/dca-template-config.json +- [ ] Ensure any templates that should be listed in the DCA are listed in data-models/dca_config/dca-template-config.json ### Synapse - [ ] Process and upload metadata to grant-based Synapse projects (if needed) diff --git a/dca_config/dca-template-config.json b/dca_config/dca-template-config.json index c08fe23..cfbae75 100644 --- a/dca_config/dca-template-config.json +++ b/dca_config/dca-template-config.json @@ -49,6 +49,21 @@ "display_name": "NanoString GeoMx DSP Imaging Level 2", "schema_name": "NanoStringGeoMxDSPImagingLevel2", "type": "record" + }, + { + "display_name": "Study", + "schema_name": "Study", + "type": "record" + }, + { + "display_name": "File View", + "schema_name": "FileView", + "type": "file" + }, + { + "display_name": "Dataset Sharing Plan", + "schema_name": "DataDSP", + "type": "record" } ], "service_version": "v23.8.1", diff --git a/docs/valid_values/tool.md b/docs/valid_values/tool.md index c75f57d..85ed75f 100644 --- a/docs/valid_values/tool.md +++ b/docs/valid_values/tool.md @@ -134,3 +134,30 @@ See [Tool Input Data](#attribute-tool-input-format) {{ read_csv('tool/tool_type.csv', header=0, names=['Valid Value','Description'], usecols=['Valid Value','Description'], tablefmt='html') }} + + +## Attribute: `Tool Entity Role` + +
+ +{{ read_csv('tool/entity_role.csv', header=0, names=['Valid Value','Description'], usecols=['Valid Value','Description'], tablefmt='html') }} + +
+ + +## Attribute: `Tool Entity Type` + +
+ +{{ read_csv('tool/entity_type.csv', header=0, names=['Valid Value','Description'], usecols=['Valid Value','Description'], tablefmt='html') }} + +
+ + +## Attribute: `Tool Package Dependencies Present` + +
+ +{{ read_csv('shared/boolean.csv', header=0, names=['Valid Value','Description'], usecols=['Valid Value','Description'], tablefmt='html') }} + +
\ No newline at end of file diff --git a/templates/ToolView.csv b/templates/ToolView.csv index 498386f..d4e1c1e 100644 --- a/templates/ToolView.csv +++ b/templates/ToolView.csv @@ -1,2 +1,2 @@ -Component,ToolView_id,Tool Pubmed Id,Tool Grant Number,Tool Name,Tool Description,Tool Homepage,Tool Version,Tool Operation,Tool Input Data,Tool Output Data,Tool Input Format,Tool Output Format,Tool Function Note,Tool Cmd,Tool Type,Tool Topic,Tool Operating System,Tool Language,Tool License,Tool Cost,Tool Accessibility,Tool Download Url,Tool Download Type,Tool Download Note,Tool Download Version,Tool Documentation Url,Tool Documentation Type,Tool Documentation Note,Tool Link Url,Tool Link Type,Tool Link Note -ToolView,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, \ No newline at end of file +Component,ToolView_id,Tool Pubmed Id,Tool Grant Number,Tool Name,Tool Description,Tool Homepage,Tool Version,Tool Operation,Tool Input Data,Tool Output Data,Tool Input Format,Tool Output Format,Tool Function Note,Tool Cmd,Tool Type,Tool Topic,Tool Operating System,Tool Language,Tool License,Tool Cost,Tool Accessibility,Tool Download Url,Tool Download Type,Tool Download Note,Tool Download Version,Tool Documentation Url,Tool Documentation Type,Tool Documentation Note,Tool Link Url,Tool Link Type,Tool Link Note,Tool Date Last Modified,Tool Release Date,Tool Package Dependencies,Tool Package Dependencies Present,Tool Compute Requirements,Tool Entity Name,Tool Entity Type,Tool Entity Role +ToolView,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, \ No newline at end of file