Skip to content

Commit

Permalink
Merge branch 'master' of github.com:EdinburghGenomics/pyclarity-lims …
Browse files Browse the repository at this point in the history
…into fixactions
  • Loading branch information
tcezard committed Dec 18, 2017
2 parents c50857d + b358a92 commit 1fc4e81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyclarity_lims/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@ def _setitem(self, key, value):
node = ElementTree.SubElement(self.rootnode(self.instance), 'pool')
node.attrib['name'] = key
node.attrib['uri'] = pool.uri
for input in list_input:
for inart in list_input:
sub = ElementTree.Element('input')
sub.attrib['uri'] = input.uri
sub.attrib['uri'] = inart.uri
node.append(sub)

def _delitem(self, key):
Expand Down
7 changes: 5 additions & 2 deletions pyclarity_lims/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,11 @@ class StepPools(Entity):
pooled_inputs = MutableDescriptor(XmlPooledInputDict)
"""Dictionary where the key are the pool names and the values are tuples (pool, inputs) representing a pool.
Each tuple has two elements:
the first item is an output Artifact containing the pool.
the second item is a tuple containing the input artifacts for that pool.
* an output Artifact containing the pool.
* a tuple containing the input artifacts for that pool.
"""

class Step(Entity):
Expand Down

0 comments on commit 1fc4e81

Please sign in to comment.