Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
4a426074
Commit
4a426074
authored
9 years ago
by
kohleman
Browse files
Options
Downloads
Patches
Plain Diff
change the output for the openBIS webapp to RUN_NAME_FOLDER instead of the flowcell code
SVN: 34691
parent
bdac2df3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deep_sequencing_unit/source/java/ch/ethz/bsse/cisd/dsu/tracking/main/TrackingBO.java
+15
-1
15 additions, 1 deletion
.../java/ch/ethz/bsse/cisd/dsu/tracking/main/TrackingBO.java
with
15 additions
and
1 deletion
deep_sequencing_unit/source/java/ch/ethz/bsse/cisd/dsu/tracking/main/TrackingBO.java
+
15
−
1
View file @
4a426074
...
@@ -37,6 +37,7 @@ import ch.systemsx.cisd.common.mail.EMailAddress;
...
@@ -37,6 +37,7 @@ import ch.systemsx.cisd.common.mail.EMailAddress;
import
ch.systemsx.cisd.common.mail.IMailClient
;
import
ch.systemsx.cisd.common.mail.IMailClient
;
import
ch.systemsx.cisd.openbis.generic.shared.ITrackingServer
;
import
ch.systemsx.cisd.openbis.generic.shared.ITrackingServer
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractExternalData
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityProperty
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.Sample
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.Sample
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.TrackingDataSetCriteria
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.TrackingDataSetCriteria
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.TrackingSampleCriteria
;
import
ch.systemsx.cisd.openbis.generic.shared.basic.dto.TrackingSampleCriteria
;
...
@@ -249,13 +250,26 @@ public class TrackingBO
...
@@ -249,13 +250,26 @@ public class TrackingBO
if
(
newDataSetID
>
maxDatasetIdForSample
)
if
(
newDataSetID
>
maxDatasetIdForSample
)
{
{
SampleIdentifier
currentLaneId
=
new
SampleIdentifier
(
d
.
getSampleCode
());
SampleIdentifier
currentLaneId
=
new
SampleIdentifier
(
d
.
getSampleCode
());
changedLanesMap
.
put
(
currentLaneId
.
toString
().
substring
(
1
),
laneSpace
);
Sample
flowcell
=
lane
.
getContainer
();
String
runNameFolder
=
""
;
List
<
IEntityProperty
>
flowcellProperties
=
flowcell
.
getProperties
();
for
(
IEntityProperty
property
:
flowcellProperties
)
{
if
(
property
.
getPropertyType
().
getCode
().
equals
(
"RUN_NAME_FOLDER"
))
{
runNameFolder
=
property
.
getValue
();
break
;
}
}
String
laneString
=
currentLaneId
.
toString
().
substring
(
currentLaneId
.
toString
().
length
()
-
1
);
changedLanesMap
.
put
(
runNameFolder
+
":"
+
laneString
,
laneSpace
);
LogUtils
.
info
(
"DataSetID: "
+
newDataSetID
+
" of NEW data Sets > MAX DataSet id for this sample: "
+
maxDatasetIdForSample
);
LogUtils
.
info
(
"DataSetID: "
+
newDataSetID
+
" of NEW data Sets > MAX DataSet id for this sample: "
+
maxDatasetIdForSample
);
}
}
}
}
Set
<
Map
.
Entry
<
String
,
String
>>
entrySet
=
changedLanesMap
.
entrySet
();
Set
<
Map
.
Entry
<
String
,
String
>>
entrySet
=
changedLanesMap
.
entrySet
();
for
(
Entry
<
String
,
String
>
entry
:
entrySet
)
for
(
Entry
<
String
,
String
>
entry
:
entrySet
)
{
{
// needed for the integration of the openBIS webapp
System
.
out
.
println
(
entry
.
getKey
()
+
" "
+
entry
.
getValue
());
System
.
out
.
println
(
entry
.
getKey
()
+
" "
+
entry
.
getValue
());
}
}
LogUtils
.
info
(
changedLanesMap
.
toString
());
LogUtils
.
info
(
changedLanesMap
.
toString
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment