Skip to content

Commit

Permalink
Fix mosaic module parameters so that only the 'objective' parameter c…
Browse files Browse the repository at this point in the history
…an be changed.
  • Loading branch information
HazenBabcock committed Apr 26, 2019
1 parent aa1d467 commit def84a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storm_control/hal4000/mosaic/mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ class Mosaic(halModule.HalModule):
def __init__(self, module_params = None, qt_settings = None, **kwds):
super().__init__(**kwds)

#
# FIXME: Are these parameters mutable? They shouldn't be if they are.
#
self.parameters = module_params.get("parameters")
for param in self.parameters.getAttrs():
if (param != "objective"):
self.parameters.getp(param).setMutable(False)

self.view = MosaicBox()
self.configure_dict = {"ui_order" : 3,
Expand Down

0 comments on commit def84a2

Please sign in to comment.