Skip to content

Commit 1826760

Browse files
authored
Merge pull request #336 from cidgoh/monkeypox-update
Monkeypox update
2 parents da117c1 + 7474446 commit 1826760

10 files changed

+680
-406
lines changed

script/data-harmonizer/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
*/
2424

25-
const VERSION = '1.3.1';
25+
const VERSION = '1.3.2';
2626

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

Binary file not shown.

template/monkeypox/exampleInput/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Monkeypox Example Input Data
22
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:
33

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

66
## Valid Test Data
77

template/monkeypox/export.js

+10-5
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,7 @@ var EXPORT_FORMATS = {
244244
//['PH_ID_NUMBER_PRIMARY', []],
245245
//['PH_CASE_ID', []],
246246
['PH_RELATED_PRIMARY_ID', []],
247-
//['PH_BIOPROJECT_ACCESSION', []],
248-
//['PH_BIOSAMPLE_ACCESSION', []],
249-
//['PH_SRA_ACCESSION', []],
250-
['SUBMISSIONS - GISAID Accession ID', []],
247+
251248
['CUSTOMER', []],
252249

253250
['PH_SEQUENCING_CENTRE', []],
@@ -261,7 +258,14 @@ var EXPORT_FORMATS = {
261258
['HC_PROVINCE', []],
262259

263260
['HC_CURRENT_ID', []],
264-
['RESULT - CANCOGEN_SUBMISSIONS', []],
261+
262+
['SUBMISSIONS - BioProject Accession', []],
263+
['SUBMISSIONS - BioSample Accession', []],
264+
['SUBMISSIONS - SRA Accession', []],
265+
['SUBMISSIONS - GenBank Accession', []],
266+
['SUBMISSIONS - GISAID Virus Name', []],
267+
['SUBMISSIONS - GISAID Accession', []],
268+
265269
['HC_SAMPLE_CATEGORY', []],
266270
['PH_SAMPLING_DETAILS', []],
267271
['PH_SPECIMEN_TYPE', []],
@@ -356,6 +360,7 @@ var EXPORT_FORMATS = {
356360

357361
]);
358362

363+
359364
const sourceFields = dh.getFields(dh.table);
360365
const sourceFieldNameMap = dh.getFieldNameMap(sourceFields);
361366

0 commit comments

Comments
 (0)