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
2badc222
Commit
2badc222
authored
13 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
logging improved
SVN: 20562
parent
c83f339a
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
rtd_yeastx/source/java/ch/systemsx/cisd/yeastx/etl/DatasetMappingResolver.java
+6
-6
6 additions, 6 deletions
...a/ch/systemsx/cisd/yeastx/etl/DatasetMappingResolver.java
with
6 additions
and
6 deletions
rtd_yeastx/source/java/ch/systemsx/cisd/yeastx/etl/DatasetMappingResolver.java
+
6
−
6
View file @
2badc222
...
@@ -339,19 +339,19 @@ class DatasetMappingResolver
...
@@ -339,19 +339,19 @@ class DatasetMappingResolver
private
boolean
sampleExistsAndBelongsToExperiment
(
DataSetMappingInformation
mapping
,
private
boolean
sampleExistsAndBelongsToExperiment
(
DataSetMappingInformation
mapping
,
String
sampleCode
,
LogUtils
log
)
String
sampleCode
,
LogUtils
log
)
{
{
if
(
isConnectedToExperiment
(
mapping
,
sampleCode
,
log
)
==
false
)
SampleIdentifier
sampleIdentifier
=
createSampleIdentifier
(
sampleCode
,
mapping
);
if
(
isConnectedToExperiment
(
mapping
,
sampleIdentifier
,
log
)
==
false
)
{
{
log
.
datasetMappingError
(
mapping
,
"sample
with the code
'%s' does not exist"
log
.
datasetMappingError
(
mapping
,
"sample '%s' does not exist"
+
" or is not connected to any experiment"
,
sample
Code
);
+
" or is not connected to any experiment
.
"
,
sample
Identifier
);
return
false
;
return
false
;
}
}
return
true
;
return
true
;
}
}
private
boolean
isConnectedToExperiment
(
DataSetMappingInformation
mapping
,
String
sampleCode
,
private
boolean
isConnectedToExperiment
(
DataSetMappingInformation
mapping
,
LogUtils
log
)
SampleIdentifier
sampleIdentifier
,
LogUtils
log
)
{
{
SampleIdentifier
sampleIdentifier
=
createSampleIdentifier
(
sampleCode
,
mapping
);
try
try
{
{
Sample
sample
=
openbisService
.
tryGetSampleWithExperiment
(
sampleIdentifier
);
Sample
sample
=
openbisService
.
tryGetSampleWithExperiment
(
sampleIdentifier
);
...
...
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