Skip to content

Commit caddb18

Browse files
authored
Merge branch 'master' into wastewater_exports
2 parents c2753fa + ca25689 commit caddb18

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

lib/DataHarmonizer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ class DataHarmonizer {
17581758
// if sources exist, fetch transformed Value
17591759
if (field.sources) {
17601760
if (field.multivalued === true) {
1761-
//Map list of semicolon-delimited choices
1761+
// Map list of semicolon-delimited choices
17621762
// ISSUE: relying on semicolon delimiter in input
17631763
for (let cellVal of mappedCellVal.split(';')) {
17641764
mappedCell.push(

script/dh-validate.py

-10
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,6 @@ def init_parser():
7777
required=False,
7878
help="A schema class to test given data file against.");
7979

80-
81-
#parser.add_argument("-S", "--index-slot",
82-
# dest="index_slot",
83-
# metavar="TEXT",
84-
# required=False,
85-
# help="A slot within target class which acts as an identifier or unique key. This is required for CSV dumping/loading. It is optional when this slot can be identified automatically as the only identifier or unique_key in the slot.");
86-
8780
parser.add_argument('data_sources',
8881
metavar='DATA_SOURCES',
8982
#nargs='+',
@@ -146,9 +139,6 @@ def getTargetClass(SCHEMA, target_class, slot_key = None):
146139

147140
break;
148141

149-
#if not found:
150-
# exit("Target class [" + target_class + "] does not have an identifier or key slot!");
151-
152142
print ("Identifier slot:", slot_key);
153143
return (target_class, slot_key);
154144

0 commit comments

Comments
 (0)