Skip to content

Commit

Permalink
add qcFaield field to the case_detailed_summmary format
Browse files Browse the repository at this point in the history
  • Loading branch information
grapigeau committed Nov 20, 2024
1 parent c480e8c commit 75e340f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/add_qcFailed_detailed_cases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
qcFailed field to the case_detailed_summary input format
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
public class LimsSequencingInfo {
private final String id;
private final boolean supplemental;
private final boolean qcFailed;

public LimsSequencingInfo(String id, boolean supplemental) {
public LimsSequencingInfo(String id, boolean supplemental, boolean qcFailed) {
super();
this.id = id;
this.supplemental = supplemental;
this.qcFailed = qcFailed;
}

@ShesmuVariable
Expand All @@ -21,4 +23,9 @@ public String id() {
public boolean supplemental() {
return supplemental;
}

@ShesmuVariable
public boolean qcFailed() {
return qcFailed;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ public SequencingTestValue(
this.test = test;
this.type = type;
this.limsIds =
limsIds.map(info -> new Tuple(info.id(), info.supplemental())).collect(Collectors.toSet());
limsIds
.map(info -> new Tuple(info.id(), info.supplemental(), info.qcFailed()))
.collect(Collectors.toSet());
this.complete = complete;
}

Expand Down

0 comments on commit 75e340f

Please sign in to comment.