Commit 1cd66136b1fe92c5fe52c2a1624959b1ece4281d
1 parent
407a8bd5
Adapt to new ctlike interface.
The method parameter has been removed, and an infile parameter has been introduced instead of the old evfile and cntmap parameters.
Showing
1 changed file
with
1 additions
and
2 deletions
test/test_python.py
| @@ -93,10 +93,9 @@ def pipeline_v1(): | @@ -93,10 +93,9 @@ def pipeline_v1(): | ||
| 93 | # Perform maximum likelihood fitting | 93 | # Perform maximum likelihood fitting |
| 94 | like = ctlike() | 94 | like = ctlike() |
| 95 | like.logFileOpen() | 95 | like.logFileOpen() |
| 96 | - like["evfile"].filename(selected_events_name) | 96 | + like["infile"].filename(selected_events_name) |
| 97 | like["srcmdl"].filename(model_name) | 97 | like["srcmdl"].filename(model_name) |
| 98 | like["outmdl"].filename(result_name) | 98 | like["outmdl"].filename(result_name) |
| 99 | - like["method"].string("UNBINNED") | ||
| 100 | like["caldb"].string(caldb) | 99 | like["caldb"].string(caldb) |
| 101 | like["irf"].string(irf) | 100 | like["irf"].string(irf) |
| 102 | like.execute() | 101 | like.execute() |