Skip to content

Commit a7f0747

Browse files
committed
Bugfix to NPRC observations ETL
1 parent 9e30f1c commit a7f0747

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mcc/src/org/labkey/mcc/etl/NprcObservationStep.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import java.util.Arrays;
3737
import java.util.Collections;
3838
import java.util.Date;
39+
import java.util.HashMap;
3940
import java.util.List;
4041
import java.util.Map;
4142
import java.util.stream.Collectors;
@@ -133,7 +134,7 @@ private void processFile(PipelineJob job) throws PipelineJobException
133134
String objectId = new TableSelector(clinicalObs, PageFlowUtil.set("objectid"), filter, null).getObject(String.class);
134135
if (observation == null && objectId != null)
135136
{
136-
toDelete.add(row);
137+
toDelete.add(new CaseInsensitiveHashMap<>(Map.of("objectid", objectId)));
137138
continue;
138139
}
139140

0 commit comments

Comments
 (0)