Source

orange-bioinformatics / _bioinformatics / widgets / OWPIPA.py

Diff from to

_bioinformatics/widgets/OWPIPA.py

             return "-1"
 
     def UpdateExperimentTypes(self):
-        self.signalManager.freeze(self).push() #setFreeze(1)
+        if self.signalManager:
+            self.signalManager.freeze(self).push()
         try:
             self.expressionTypesCB.clear()
             items = [desc for _,desc,_ in self.exTypes]
         except IOError:
             pass
         finally:
-            self.signalManager.freeze(self).pop() #setFreeze(0)
+            if self.signalManager:
+                self.signalManager.freeze(self).pop()
+
         self.ctypei = max(0, min(self.ctypei, len(self.exTypes)-1))
 
     def UpdateExperiments(self, reload=False):