Commit 105497eb84990ceb4906fc02145c1559f98bf061
1 parent
241f8174
Import Python native modules first
Showing
14 changed files
with
20 additions
and
21 deletions
cscripts/cscaldb.py
| ... | ... | @@ -18,11 +18,11 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | -import gammalib | |
| 22 | -import ctools | |
| 23 | 21 | import sys |
| 24 | 22 | import glob |
| 25 | 23 | import os |
| 24 | +import gammalib | |
| 25 | +import ctools | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | # ============= # | ... | ... |
cscripts/cslightcrv.py
| ... | ... | @@ -18,9 +18,9 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 21 | 22 | import gammalib |
| 22 | 23 | import ctools |
| 23 | -import sys | |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | # ================ # | ... | ... |
cscripts/csobs2caldb.py
| ... | ... | @@ -18,11 +18,11 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | -import gammalib | |
| 22 | -import ctools | |
| 23 | 21 | import sys |
| 24 | 22 | import os |
| 25 | 23 | import datetime |
| 24 | +import gammalib | |
| 25 | +import ctools | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | # ================= # | ... | ... |
cscripts/csobsdef.py
| ... | ... | @@ -18,9 +18,9 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 21 | 22 | import gammalib |
| 22 | 23 | import ctools |
| 23 | -import sys | |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | # ============== # | ... | ... |
cscripts/cspull.py
| ... | ... | @@ -18,11 +18,11 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 22 | +import csv | |
| 21 | 23 | import gammalib |
| 22 | 24 | import ctools |
| 23 | 25 | from cscripts import obsutils |
| 24 | -import sys | |
| 25 | -import csv | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | # ============ # | ... | ... |
cscripts/csresmap.py
| ... | ... | @@ -18,9 +18,9 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 21 | 22 | import gammalib |
| 22 | 23 | import ctools |
| 23 | -import sys | |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | # ============== # | ... | ... |
cscripts/csroot2caldb.py
cscripts/cssens.py
| ... | ... | @@ -18,12 +18,12 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | -import gammalib | |
| 22 | -import ctools | |
| 23 | -from cscripts import obsutils | |
| 24 | 21 | import sys |
| 25 | 22 | import csv |
| 26 | 23 | import math |
| 24 | +import gammalib | |
| 25 | +import ctools | |
| 26 | +from cscripts import obsutils | |
| 27 | 27 | |
| 28 | 28 | |
| 29 | 29 | # ============ # | ... | ... |
cscripts/csspec.py
| ... | ... | @@ -18,9 +18,9 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 21 | 22 | import gammalib |
| 22 | 23 | import ctools |
| 23 | -import sys | |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | # ============ # | ... | ... |
cscripts/cstsdist.py
| ... | ... | @@ -18,11 +18,11 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 22 | +import csv | |
| 21 | 23 | import gammalib |
| 22 | 24 | import ctools |
| 23 | 25 | from cscripts import obsutils |
| 24 | -import sys | |
| 25 | -import csv | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | # ============== # | ... | ... |
cscripts/cstsmapmerge.py
| ... | ... | @@ -18,11 +18,11 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | -import gammalib | |
| 22 | -import ctools | |
| 23 | 21 | import sys |
| 24 | 22 | import glob |
| 25 | 23 | import os |
| 24 | +import gammalib | |
| 25 | +import ctools | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | # ================== # | ... | ... |
cscripts/csworkflow.py
| ... | ... | @@ -18,10 +18,10 @@ |
| 18 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | 19 | # |
| 20 | 20 | # ========================================================================== |
| 21 | +import sys | |
| 21 | 22 | import gammalib |
| 22 | 23 | import ctools |
| 23 | 24 | import cscripts |
| 24 | -import sys | |
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | # ================ # | ... | ... |
cscripts/lsmodel.py