Commit d2fa0176925a0d7bbeed4ef7a9da204037974a2d
1 parent
ce3d1288
added logfile to the parfile of cstsdist and cspull
Showing
2 changed files
with
2 additions
and
0 deletions
scripts/cspull.py
| ... | ... | @@ -116,6 +116,7 @@ class cspull(ctools.cscript): |
| 116 | 116 | pars.append(gammalib.GApplicationPar("ntrials","i","a","10","","","Number of trials")) |
| 117 | 117 | pars.append(gammalib.GApplicationPar("edisp","b","h","no","","","Apply energy dispersion?")) |
| 118 | 118 | pars.append_standard() |
| 119 | + pars.append(gammalib.GApplicationPar("logfile","f","h","cspull.log","","","Log filename")) | |
| 119 | 120 | pars.save(parfile) |
| 120 | 121 | |
| 121 | 122 | # Return | ... | ... |
scripts/cstsdist.py
| ... | ... | @@ -117,6 +117,7 @@ class cstsdist(ctools.cscript): |
| 117 | 117 | pars.append(gammalib.GApplicationPar("offset","r","a","0.0","0.0","","Source offset angle (deg)")) |
| 118 | 118 | pars.append(gammalib.GApplicationPar("bkg","s","a","$CTOOLS/share/models/bkg_dummy.txt","","","Background model file function")) |
| 119 | 119 | pars.append_standard() |
| 120 | + pars.append(gammalib.GApplicationPar("logfile","f","h","cstsdist.log","","","Log filename")) | |
| 120 | 121 | pars.save(parfile) |
| 121 | 122 | |
| 122 | 123 | # Return | ... | ... |