diff --git a/gui/fitCommands/calc/fitImportMutatedModule.py b/gui/fitCommands/calc/fitImportMutatedModule.py index d3c182d70..426f8245b 100644 --- a/gui/fitCommands/calc/fitImportMutatedModule.py +++ b/gui/fitCommands/calc/fitImportMutatedModule.py @@ -31,7 +31,7 @@ class FitImportMutatedCommand(wx.Command): return False - mutaplasmid = getDynamicItem(getattr(self.mutaItem, 'ID')) + mutaplasmid = getDynamicItem(getattr(self.mutaItem, 'ID', None)) # Try to build simple item even though no mutaplasmid found if mutaplasmid is None: try: