Commit 2708765400bb39f18dba2c1309b1eabbb770473c

Authored by Jürgen Knödlseder
1 parent d256a720

cscripts::execute() no longer creates log files (#2182)

ChangeLog
@@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
22 Add RING background method to ctskymap (#2207) 22 Add RING background method to ctskymap (#2207)
23 Add keywords to sky maps produced by ctskymap (#2194) 23 Add keywords to sky maps produced by ctskymap (#2194)
24 Enhance efficiency of computations in ctmodel (#2189) 24 Enhance efficiency of computations in ctmodel (#2189)
  25 + cscripts::execute() no longer creates log files (#2182)
25 Add csmodelsois script (#2180) 26 Add csmodelsois script (#2180)
26 Add "NODES" method to csspec to support non-CTA analysis (#1927) 27 Add "NODES" method to csspec to support non-CTA analysis (#1927)
27 Use t-type parameters for all "tmin" and "tmax" parameters (#1864) 28 Use t-type parameters for all "tmin" and "tmax" parameters (#1864)
@@ -9,7 +9,8 @@ ctools release with respect to the precedent release. @@ -9,7 +9,8 @@ ctools release with respect to the precedent release.
9 9
10 Configuration 10 Configuration
11 ------------- 11 -------------
12 -None 12 +The cscripts::execute() method no longer creates log files, making the
  13 +cscripts behaviour compliant with that of ctools (#2182).
13 14
14 15
15 Python interface 16 Python interface
doc/source/admin/release_history/1.5.rst
@@ -54,6 +54,8 @@ Improvements @@ -54,6 +54,8 @@ Improvements
54 Add keywords to sky maps produced by :ref:`ctskymap` 54 Add keywords to sky maps produced by :ref:`ctskymap`
55 * [`2189 <https://cta-redmine.irap.omp.eu/issues/2189>`_] - 55 * [`2189 <https://cta-redmine.irap.omp.eu/issues/2189>`_] -
56 Enhance efficiency of computations in :ref:`ctmodel` 56 Enhance efficiency of computations in :ref:`ctmodel`
  57 +* [`2182 <https://cta-redmine.irap.omp.eu/issues/2182>`_] -
  58 + ``cscripts::execute()`` no longer creates log files
57 * [`1927 <https://cta-redmine.irap.omp.eu/issues/1927>`_] - 59 * [`1927 <https://cta-redmine.irap.omp.eu/issues/1927>`_] -
58 Add ``NODES`` method to :ref:`csspec` to support non-CTA analysis 60 Add ``NODES`` method to :ref:`csspec` to support non-CTA analysis
59 * [`1836 <https://cta-redmine.irap.omp.eu/issues/1836>`_] - 61 * [`1836 <https://cta-redmine.irap.omp.eu/issues/1836>`_] -
pyext/ctool.i
@@ -304,7 +304,6 @@ cscript.pardict = _pardict @@ -304,7 +304,6 @@ cscript.pardict = _pardict
304 304
305 # Execute the script 305 # Execute the script
306 def _execute(self): 306 def _execute(self):
307 - self.logFileOpen()  
308 self._read_ahead(True) 307 self._read_ahead(True)
309 self.run() 308 self.run()
310 self.save() 309 self.save()