Skip to content

Commit

Permalink
Merge pull request #336 from cidgoh/monkeypox-update
Browse files Browse the repository at this point in the history
Monkeypox update
  • Loading branch information
ddooley authored Jul 14, 2022
2 parents da117c1 + 7474446 commit 1826760
Show file tree
Hide file tree
Showing 10 changed files with 680 additions and 406 deletions.
2 changes: 1 addition & 1 deletion script/data-harmonizer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
*/

const VERSION = '1.3.1';
const VERSION = '1.3.2';

const VERSION_TEXT = 'DataHarmonizer provenance: v' + VERSION;

Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion template/monkeypox/exampleInput/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Monkeypox Example Input Data
This directory contains example input/test data for the Canadian Network for Public Health Intelligence (CNPHI) DataHarmonizer application template: `Monkeypox`. This data is appropriate for testing up to the version appended to the end of the file name, for example:

- `validTestData_1-0-0.csv` is _valid_ for version `1-0-0` of the DataHarmonizer.
- `DH_Canadian_MPX_validTestDataset_1-1-0_Jul13_2022.xlsx` is _valid_ for version `1-3-2` of the DataHarmonizer.

## Valid Test Data

Expand Down
15 changes: 10 additions & 5 deletions template/monkeypox/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,7 @@ var EXPORT_FORMATS = {
//['PH_ID_NUMBER_PRIMARY', []],
//['PH_CASE_ID', []],
['PH_RELATED_PRIMARY_ID', []],
//['PH_BIOPROJECT_ACCESSION', []],
//['PH_BIOSAMPLE_ACCESSION', []],
//['PH_SRA_ACCESSION', []],
['SUBMISSIONS - GISAID Accession ID', []],

['CUSTOMER', []],

['PH_SEQUENCING_CENTRE', []],
Expand All @@ -261,7 +258,14 @@ var EXPORT_FORMATS = {
['HC_PROVINCE', []],

['HC_CURRENT_ID', []],
['RESULT - CANCOGEN_SUBMISSIONS', []],

['SUBMISSIONS - BioProject Accession', []],
['SUBMISSIONS - BioSample Accession', []],
['SUBMISSIONS - SRA Accession', []],
['SUBMISSIONS - GenBank Accession', []],
['SUBMISSIONS - GISAID Virus Name', []],
['SUBMISSIONS - GISAID Accession', []],

['HC_SAMPLE_CATEGORY', []],
['PH_SAMPLING_DETAILS', []],
['PH_SPECIMEN_TYPE', []],
Expand Down Expand Up @@ -356,6 +360,7 @@ var EXPORT_FORMATS = {

]);


const sourceFields = dh.getFields(dh.table);
const sourceFieldNameMap = dh.getFieldNameMap(sourceFields);

Expand Down
Loading

0 comments on commit 1826760

Please sign in to comment.