Skip to content

Commit

Permalink
only use the filename to create the variant pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Goina committed May 30, 2024
1 parent e00519d commit 9f7515e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.janelia.colormipsearch.cmd;

import java.io.File;
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashMap;
Expand Down Expand Up @@ -386,7 +387,7 @@ private <N extends AbstractNeuronEntity> void populateOtherComputeFilesFromInput
Set<ComputeFileType> computeFileTypes,
List<LibraryVariantArg> libraryVariants,
String computeInputVariantSuffix) {
String searchableMIPFile = neuronEntity.getComputeFileName(ComputeFileType.InputColorDepthImage);
String searchableMIPFile = new File(neuronEntity.getComputeFileName(ComputeFileType.InputColorDepthImage)).getName();
String searchableMIPBaseName = RegExUtils.replacePattern(searchableMIPFile, "(_CDM)?\\..*$", "");
String[] searchableMIPNameComps = StringUtils.split(searchableMIPBaseName, "-_");
StringBuilder patternBuilder = new StringBuilder(".*")
Expand Down

0 comments on commit 9f7515e

Please sign in to comment.