Skip to content

Commit

Permalink
Merge branch 'master' into wastewater_exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ddooley authored Dec 17, 2024
2 parents c2753fa + ca25689 commit caddb18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@ class DataHarmonizer {
// if sources exist, fetch transformed Value
if (field.sources) {
if (field.multivalued === true) {
//Map list of semicolon-delimited choices
// Map list of semicolon-delimited choices
// ISSUE: relying on semicolon delimiter in input
for (let cellVal of mappedCellVal.split(';')) {
mappedCell.push(
Expand Down
10 changes: 0 additions & 10 deletions script/dh-validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ def init_parser():
required=False,
help="A schema class to test given data file against.");


#parser.add_argument("-S", "--index-slot",
# dest="index_slot",
# metavar="TEXT",
# required=False,
# 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.");

parser.add_argument('data_sources',
metavar='DATA_SOURCES',
#nargs='+',
Expand Down Expand Up @@ -146,9 +139,6 @@ def getTargetClass(SCHEMA, target_class, slot_key = None):

break;

#if not found:
# exit("Target class [" + target_class + "] does not have an identifier or key slot!");

print ("Identifier slot:", slot_key);
return (target_class, slot_key);

Expand Down

0 comments on commit caddb18

Please sign in to comment.