Skip to content

Commit

Permalink
moved the Instrument class back to allow Process to handle it.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoreno-harveyRoad committed Feb 7, 2018
1 parent e34234f commit 7b09f5f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions genologics/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,19 @@ def create(cls, lims, creation_tag=None, **kwargs):
return instance


class Instrument(Entity):
"""Lab Instrument
"""
_URI = "instruments"
_tag = "instrument"
_PREFIX = "inst"

name = StringDescriptor('name')
type = StringDescriptor('type')
serial_number = StringDescriptor('serial-number')
expiry_date = StringDescriptor('expiry-date')
archived = BooleanDescriptor('archived')

class Lab(Entity):
"Lab; container of researchers."

Expand Down Expand Up @@ -1056,19 +1069,6 @@ def __init__(self, lims, uri=None, id=None):
self.sequence = child.attrib.get("value")


class Instrument(Entity):
"""Lab Instrument
"""
_URI = "instruments"
_tag = "instrument"
_PREFIX = "inst"

name = StringDescriptor('name')
type = StringDescriptor('type')
serial_number = StringDescriptor('serial-number')
expiry_date = StringDescriptor('expiry-date')
archived = BooleanDescriptor('archived')

class Queue(Entity):
"""Queue of a given step"""
_URI = "queues"
Expand Down

0 comments on commit 7b09f5f

Please sign in to comment.