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
a8b337d1
Commit
a8b337d1
authored
14 years ago
by
buczekp
Browse files
Options
Downloads
Patches
Plain Diff
[LMS-1979] fixed bugs in yeast_parents script and further cleanup in plasmid_parents
SVN: 20271
parent
28486e02
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plasmid/resource/jython-scripts/MP-plasmid_parents.py
+1
-1
1 addition, 1 deletion
plasmid/resource/jython-scripts/MP-plasmid_parents.py
plasmid/resource/jython-scripts/MP-yeast_parents.py
+2
-3
2 additions, 3 deletions
plasmid/resource/jython-scripts/MP-yeast_parents.py
with
3 additions
and
4 deletions
plasmid/resource/jython-scripts/MP-plasmid_parents.py
+
1
−
1
View file @
a8b337d1
...
...
@@ -104,8 +104,8 @@ def updateFromBatchInput(bindings):
def
configureUI
():
"""
create table builder and add columns
"""
tableBuilder
=
createTableBuilder
()
tableBuilder
.
addHeader
(
CONNECTION_LABEL
)
tableBuilder
.
addHeader
(
LINK_LABEL
)
tableBuilder
.
addHeader
(
CONNECTION_LABEL
)
tableBuilder
.
addHeader
(
CODE_LABEL
)
tableBuilder
.
addHeader
(
RELATIONSHIP_LABEL
)
tableBuilder
.
addHeader
(
ANNOTATION_LABEL
)
...
...
This diff is collapsed.
Click to expand it.
plasmid/resource/jython-scripts/MP-yeast_parents.py
+
2
−
3
View file @
a8b337d1
...
...
@@ -19,7 +19,6 @@ def _createSampleLink(code):
sampleLink
.
addAttribute
(
ATR_CODE
,
code
)
return
sampleLink
"""
Example input:
...
...
@@ -29,8 +28,8 @@ def updateFromBatchInput(bindings):
input
=
bindings
.
get
(
''
)
samples
=
input
.
split
(
'
,
'
)
elements
=
[]
for
p
in
samples
:
sampleLink
=
createSampleLink
(
code
)
for
code
in
samples
:
sampleLink
=
_
createSampleLink
(
code
.
strip
()
)
elements
.
append
(
sampleLink
)
property
.
value
=
propertyConverter
().
convertToString
(
elements
)
...
...
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