[bugfix] autoPyLoT crashed when getSlope() method of AICPicker returned
None (comparing None to float), workaround: if not slope: slope=0
This commit is contained in:
1 parent
154e7b459f
commit
125b72a582
2 files changed
+12
-6
No files matched your search
@@ -2969,7 +2969,7 @@ class SubmitLocal(QWidget):
|
||||
self.execute_command(pp_export, ncores)
|
||||
|
||||
def execute_command(self, pp_export, ncores):
|
||||
command = self.script_fn
|
||||
command = self.script_fn[:]
|
||||
command.append(pp_export)
|
||||
command.append('--ncores')
|
||||
command.append(str(ncores))
|
||||
|
||||
Reference in new issue
Block a user