Commit 97f3d4c9 authored by Koehorst, Jasper's avatar Koehorst, Jasper
Browse files

demultiplex path search fix

parent 3b29e61b
Pipeline #22182 passed with stage
in 1 minute and 21 seconds
......@@ -257,6 +257,7 @@ public class Search {
public static void getAllUnprocessedReferences(CommandOptionsKubernetes commandOptionsKubernetes, Connection connection, String search) throws GenQueryBuilderException, JargonException, JargonQueryException, IOException, InterruptedException, ApiException {
log.info("Searching in... " + search);
IRODSGenQueryBuilder queryBuilder = new IRODSGenQueryBuilder(true, null);
queryBuilder.addConditionAsGenQueryField(RodsGenQueryEnum.COL_COLL_NAME, QueryConditionOperators.LIKE, search);
......@@ -324,6 +325,7 @@ public class Search {
}
scanner.close();
}
log.info("Processed " + index + " jobs");
}
public static void getAllUnprocessed(CommandOptionsKubernetes commandOptionsKubernetes, Connection connection) throws GenQueryBuilderException, JargonException, JargonQueryException, IOException, InterruptedException, ApiException {
......
......@@ -115,7 +115,8 @@ public class Kubernetes {
Kubernetes.createJobs(commandOptionsKubernetes, connection);
} else if (commandOptionsKubernetes.project.contains("ampliconlibraries")) {
String path = Search.makePath(commandOptionsKubernetes.project, commandOptionsKubernetes.investigation, commandOptionsKubernetes.study, commandOptionsKubernetes.observationUnit, commandOptionsKubernetes.assay, connection);
// /unlock/landingzone/projects/
path = path.replaceAll("/unlock/projects/ampliconlibraries/","/" + commandOptionsKubernetes.zone + "/landingzone/projects/%");
if (commandOptionsKubernetes.reset) {
resetFailures(connection, path);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment