Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UNLOCK
kubernetes
Commits
97f3d4c9
Commit
97f3d4c9
authored
Apr 29, 2021
by
Koehorst, Jasper
Browse files
demultiplex path search fix
parent
3b29e61b
Pipeline
#22182
passed with stage
in 1 minute and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/nl/munlock/irods/Search.java
View file @
97f3d4c9
...
...
@@ -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
{
...
...
src/main/java/nl/munlock/kubernetes/Kubernetes.java
View file @
97f3d4c9
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment