Skip to content

Commit

Permalink
Add a 'facts' member to ObservingBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopasra committed Apr 5, 2016
1 parent dda6b5a commit 084f73d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numina/dal/stored.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, content):
# Notice that this is different to ObservationResult
# that contains the results of the reductions
class ObservingBlock(object):
def __init__(self, id, instrument, mode, images, children, parent):
def __init__(self, id, instrument, mode, images, children, parent, facts=None):
self.id = id
self.instrument = instrument
self.mode = mode
Expand All @@ -44,3 +44,4 @@ def __init__(self, id, instrument, mode, images, children, parent):
self.frames = self.images
self.children = children
self.parent = parent
self.facts = facts

0 comments on commit 084f73d

Please sign in to comment.