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 integration_tests
  • Loading branch information
tcezard committed Jan 10, 2018
2 parents 3f246ed + 834cb0a commit 4aeffe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyclarity_lims/descriptors.py
Expand Up @@ -736,7 +736,7 @@ def __init__(self, instance, *args, **kwargs):

def _parse_element(self, element, lims, **kwargs):
from pyclarity_lims.entities import Artifact, Container
input = Artifact(lims, uri=element.attrib['uri'])
input_art = Artifact(lims, uri=element.attrib['uri'])
loc = element.find('location')
location = (None, None)
if loc:
Expand All @@ -760,7 +760,7 @@ def _parse_element(self, element, lims, **kwargs):
# use python 3 for timezone support
qt = qt.split('+')[0]
queue_date = datetime.datetime.strptime(qt, date_format)
list.append(self, (input, queue_date, location))
list.append(self, (input_art, queue_date, location))


# Descriptors: This section contains the object that can be used in entities
Expand Down

0 comments on commit 4aeffe2

Please sign in to comment.