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 | 93 | # Perform maximum likelihood fitting |
| 94 | 94 | like = ctlike() |
| 95 | 95 | like.logFileOpen() |
| 96 | - like["evfile"].filename(selected_events_name) | |
| 96 | + like["infile"].filename(selected_events_name) | |
| 97 | 97 | like["srcmdl"].filename(model_name) |
| 98 | 98 | like["outmdl"].filename(result_name) |
| 99 | - like["method"].string("UNBINNED") | |
| 100 | 99 | like["caldb"].string(caldb) |
| 101 | 100 | like["irf"].string(irf) |
| 102 | 101 | like.execute() | ... | ... |