Skip to content

Commit

Permalink
fixed parameters passed to readMatchesByTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Goina committed May 10, 2024
1 parent 626f706 commit 008cfcd
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,27 @@ private void runExportForTargetIds(int jobId, List<String> targetMipIds) {
targetMipIds.forEach(targetMipId -> {
LOG.info("Read LM color depth matches for mip {}", targetMipId);
List<CDMatchEntity<? extends AbstractNeuronEntity, ? extends AbstractNeuronEntity>> allMatchesForTarget = neuronMatchesReader.readMatchesByTarget(
dataSourceParam.getAlignmentSpace(),
/* alignmentSpace */dataSourceParam.getAlignmentSpace(),
/* maskLibraries */targetLibraries, // for LM -> EM targetLibraries should be EM libraries so they are mask libs
/* maskPublishedNames */null,
/* maskMIPIds */null,
/* maskDatasets */null,
/* maskTags */null,
/* maskTags */targetTags,
/* maskExcludedTags */targetExcludedTags,
targetAnnotations,
targetExcludedAnnotations,
/* maskAnnotations */targetAnnotations,
/* maskExcludedAnnotations*/targetExcludedAnnotations,
/* targetLibraries */null,
/* targetPublishedNames */null,
/* targetMIPIds */null,
/* targetDatasets */Collections.singletonList(targetMipId),
/* targetTags */dataSourceParam.getDatasets(),
/* targetExcludedTags */dataSourceParam.getTags(), // use the tags for selecting the targets but not for selecting the matches
/* targetMIPIds */Collections.singletonList(targetMipId),
/* targetDatasets */dataSourceParam.getDatasets(),
/* targetTags */dataSourceParam.getTags(),
/* targetExcludedTags */dataSourceParam.getExcludedTags(),
/* targetAnnotations */dataSourceParam.getAnnotations(),
/* targtExcludedAnnotations */dataSourceParam.getExcludedAnnotations(),
/* targetExcludedAnnotations */dataSourceParam.getExcludedAnnotations(),
/* matchTags */dataSourceParam.getExcludedTags(),
/* matchExcludedTags */matchesExcludedTags,
scoresFilter, /* no sorting yet because it uses too much memory on the server */null);
/* matchesScoresFilter */scoresFilter,
/* no sorting yet because it uses too much memory on the server */null);
LOG.info("Found {} color depth matches for mip {}", allMatchesForTarget.size(), targetMipId);
List<CDMatchEntity<? extends AbstractNeuronEntity, ? extends AbstractNeuronEntity>> selectedMatchesForTarget;
if (allMatchesForTarget.isEmpty()) {
Expand Down

0 comments on commit 008cfcd

Please sign in to comment.