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
bff7c4ee
Commit
bff7c4ee
authored
13 years ago
by
brinn
Browse files
Options
Downloads
Patches
Plain Diff
Add debug log message.
SVN: 24311
parent
8253f99f
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
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/PlateContentLoader.java
+18
-0
18 additions, 0 deletions
...bis/plugin/screening/server/logic/PlateContentLoader.java
with
18 additions
and
0 deletions
screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/PlateContentLoader.java
+
18
−
0
View file @
bff7c4ee
...
...
@@ -22,7 +22,11 @@ import java.util.Collections;
import
java.util.List
;
import
java.util.Map
;
import
org.apache.log4j.Logger
;
import
ch.systemsx.cisd.common.exceptions.UserFailureException
;
import
ch.systemsx.cisd.common.logging.LogCategory
;
import
ch.systemsx.cisd.common.logging.LogFactory
;
import
ch.systemsx.cisd.openbis.generic.server.business.bo.IDataBO
;
import
ch.systemsx.cisd.openbis.generic.server.business.bo.IDataSetTable
;
import
ch.systemsx.cisd.openbis.generic.server.business.bo.ISampleBO
;
...
...
@@ -68,6 +72,9 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.imaging.IHCSFeatureVecto
*/
public
class
PlateContentLoader
{
private
final
static
Logger
operationLog
=
LogFactory
.
getLogger
(
LogCategory
.
OPERATION
,
PlateContentLoader
.
class
);
/**
* Loads data about the plate for a specified sample id. Attaches information about images and
* image analysis datasets.
...
...
@@ -296,6 +303,17 @@ public class PlateContentLoader
FeatureVectorDataset
featureVectorDataset
=
new
FeatureVectorDataset
(
datasetReference
,
featureVectors
,
allFeatureNames
,
property
==
null
?
null
:
property
.
value
);
if
(
operationLog
.
isDebugEnabled
())
{
operationLog
.
debug
(
String
.
format
(
"loadFeatureVector(%s,%s):"
,
datasetReference
.
getPermId
(),
featureName
.
toString
()));
for
(
int
i
=
0
;
i
<
featureVectorDataset
.
getDatasetFeatures
().
size
();
++
i
)
{
operationLog
.
debug
(
String
.
format
(
"%d: %s -> %s"
,
i
,
featureVectorDataset
.
getDatasetFeatures
().
get
(
i
).
getWellLocation
(),
featureVectorDataset
.
getDatasetFeatures
().
get
(
i
).
getFeatureMap
()));
}
}
return
featureVectorDataset
;
}
...
...
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