Fix case when only module name is passed
Still crashes and query cache, will fix later
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user