Skip to content

Commit

Permalink
ALS-6411: Null pointer when joining empty patient masks in GenomicPro…
Browse files Browse the repository at this point in the history
…cessorPatientMergingParentImpl (#107)

* ALS-6408: Cleanup bdc genomic config
  • Loading branch information
ramari16 authored May 8, 2024
1 parent 8f6305f commit 98ff360
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public Mono<VariantMask> getPatientMask(DistributableQuery distributableQuery) {
/** A little bit of a hack for now since the masks don't have sizes at this point and they are needed to merge
*/
public SizedVariantMask appendMask(SizedVariantMask mask1, SizedVariantMask mask2) {
return new SizedVariantMask(VariableVariantMasks.appendMask(mask1.variantMask, mask2.variantMask, mask1.size, mask2.size), mask1.size + mask2.size);
VariantMask variantMask = VariableVariantMasks.appendMask(mask1.variantMask, mask2.variantMask, mask1.size, mask2.size);
return new SizedVariantMask(variantMask != null ? variantMask : VariantMask.emptyInstance(), mask1.size + mask2.size);
}

@Override
Expand Down
6 changes: 6 additions & 0 deletions service/src/main/resources/application-bdc-auth.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SMALL_JOB_LIMIT = 100
SMALL_TASK_THREADS = 1
LARGE_TASK_THREADS = 1

hpds.genomicProcessor.impl=localPatientDistributed
HPDS_GENOMIC_DATA_DIRECTORY=/opt/local/hpds/all/

0 comments on commit 98ff360

Please sign in to comment.