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
e0955f41
Commit
e0955f41
authored
12 years ago
by
jakubs
Browse files
Options
Downloads
Patches
Plain Diff
SP-299 BIS-211 add creating of features list to the feature vectors test
SVN: 27069
parent
389d1ddd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/sourceTest/core-plugins/FeatureVectorsDropboxTest/1/dss/drop-boxes/FeatureVectorsDropboxTest-drop-box/feature-vector-data-set-handler.py
+10
-3
10 additions, 3 deletions
...rsDropboxTest-drop-box/feature-vector-data-set-handler.py
with
10 additions
and
3 deletions
screening/sourceTest/core-plugins/FeatureVectorsDropboxTest/1/dss/drop-boxes/FeatureVectorsDropboxTest-drop-box/feature-vector-data-set-handler.py
+
10
−
3
View file @
e0955f41
...
@@ -8,10 +8,11 @@ An Jython dropbox for importing HCS image datasets for use by the FeatureVectors
...
@@ -8,10 +8,11 @@ An Jython dropbox for importing HCS image datasets for use by the FeatureVectors
"""
"""
import
os
import
os
from
java.io
import
File
from
java.util
import
Properties
from
java.util
import
Properties
from
ch.systemsx.cisd.openbis.dss.etl.dto.api.v2
import
SimpleFeatureVectorDataConfig
from
ch.systemsx.cisd.openbis.dss.etl.dto.api.v2
import
SimpleFeatureVectorDataConfig
from
java.io
import
File
from
ch.systemsx.cisd.openbis.dss.etl.dto.api.v2
import
FeatureListDataConfig
def
create_experiment
(
tr
):
def
create_experiment
(
tr
):
space
=
tr
.
getSpace
(
"
TEST
"
)
space
=
tr
.
getSpace
(
"
TEST
"
)
if
space
==
None
:
if
space
==
None
:
...
@@ -62,4 +63,10 @@ def process(transaction):
...
@@ -62,4 +63,10 @@ def process(transaction):
featureDataSet
.
setSample
(
plate
)
featureDataSet
.
setSample
(
plate
)
transaction
.
moveFile
(
featuresPath
,
featureDataSet
)
transaction
.
moveFile
(
featuresPath
,
featureDataSet
)
print
featureDataSet
config
=
FeatureListDataConfig
()
\ No newline at end of file
config
.
setName
(
"
shortListOfFeatures
"
);
config
.
setFeatureList
([
"
feature1
"
,
"
feature2
"
])
config
.
setContainerDataSet
(
featureDataSet
)
transaction
.
createNewFeatureListDataSet
(
config
)
\ No newline at end of file
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