Commit 7ac3f717fbd0f4934b0536f0135e4188edf88549
1 parent
befa124b
Remove quality check (otherwise the code gets stuck)
Showing
1 changed file
with
8 additions
and
8 deletions
cscripts/cssens.py
| ... | ... | @@ -506,10 +506,10 @@ class cssens(ctools.cscript): |
| 506 | 506 | self.log("\n") |
| 507 | 507 | |
| 508 | 508 | # Start over if the fit quality was bad |
| 509 | - if abs(quality_bgm) > 3.0: | |
| 510 | - if self.logExplicit(): | |
| 511 | - self.log("Fit quality outside required range. Start over.\n") | |
| 512 | - continue | |
| 509 | + #if abs(quality_bgm) > 3.0: | |
| 510 | + # if self.logExplicit(): | |
| 511 | + # self.log("Fit quality outside required range. Start over.\n") | |
| 512 | + # continue | |
| 513 | 513 | |
| 514 | 514 | # Write model fit results |
| 515 | 515 | if self.logExplicit(): |
| ... | ... | @@ -555,10 +555,10 @@ class cssens(ctools.cscript): |
| 555 | 555 | self.log(str(par)+"\n") |
| 556 | 556 | |
| 557 | 557 | # Start over if the fit quality was bad |
| 558 | - if abs(quality_all) > 3.0: | |
| 559 | - if self.logExplicit(): | |
| 560 | - self.log("Fit quality outside required range. Start over.\n") | |
| 561 | - continue | |
| 558 | + #if abs(quality_all) > 3.0: | |
| 559 | + # if self.logExplicit(): | |
| 560 | + # self.log("Fit quality outside required range. Start over.\n") | |
| 561 | + # continue | |
| 562 | 562 | |
| 563 | 563 | # Start over if TS was non-positive |
| 564 | 564 | if ts <= 0.0: | ... | ... |