[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:
marcel committed 2017-08-03 12:05:19 +02:00
1 parent 154e7b459f
commit 125b72a582
2 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -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))