aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-20 09:19:55 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-20 09:19:55 +0800
commit2a069ed00d6f1c83153be9174c296e5540f37d30 (patch)
tree4170aa16c9f1365e007709e21eb2841535a1a3c6 /scripts
parent79f878f1c578eb4c85563a6f36170e6527f71b3b (diff)
downloadchandra-acis-analysis-2a069ed00d6f1c83153be9174c296e5540f37d30.tar.bz2
Rename 'context.py' to '_context.py'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/_context.py (renamed from scripts/context.py)0
-rwxr-xr-xscripts/analyze_path.py2
-rwxr-xr-xscripts/calc_centroid.py2
-rwxr-xr-xscripts/clean_evt2.py2
-rwxr-xr-xscripts/collect_yaml.py2
-rwxr-xr-xscripts/cosmo_calc.py2
-rwxr-xr-xscripts/event2image.py2
-rwxr-xr-xscripts/manifest.py2
-rwxr-xr-xscripts/renorm_spectrum.py2
-rwxr-xr-xscripts/results.py2
10 files changed, 9 insertions, 9 deletions
diff --git a/scripts/context.py b/scripts/_context.py
index b23b2c8..b23b2c8 100644
--- a/scripts/context.py
+++ b/scripts/_context.py
diff --git a/scripts/analyze_path.py b/scripts/analyze_path.py
index 40ac393..d2acd42 100755
--- a/scripts/analyze_path.py
+++ b/scripts/analyze_path.py
@@ -16,7 +16,7 @@ The root directory of the object data has the format:
import os
import argparse
-from context import acispy
+from _context import acispy
from acispy.analyze_path import get_name, get_obsid
diff --git a/scripts/calc_centroid.py b/scripts/calc_centroid.py
index 36fd766..2f4606f 100755
--- a/scripts/calc_centroid.py
+++ b/scripts/calc_centroid.py
@@ -16,7 +16,7 @@ import argparse
import subprocess
import tempfile
-from context import acispy
+from _context import acispy
from acispy.manifest import get_manifest
from acispy.pfiles import setup_pfiles
from acispy.ds9 import ds9_view
diff --git a/scripts/clean_evt2.py b/scripts/clean_evt2.py
index f6914b1..5b53922 100755
--- a/scripts/clean_evt2.py
+++ b/scripts/clean_evt2.py
@@ -22,7 +22,7 @@ import subprocess
import shutil
import logging
-from context import acispy
+from _context import acispy
from acispy.manifest import get_manifest
from acispy.pfiles import setup_pfiles
from acispy.acis import ACIS
diff --git a/scripts/collect_yaml.py b/scripts/collect_yaml.py
index 6758555..3147a0c 100755
--- a/scripts/collect_yaml.py
+++ b/scripts/collect_yaml.py
@@ -15,7 +15,7 @@ import sys
import argparse
import csv
-from context import acispy
+from _context import acispy
from acispy.manifest import Manifest
diff --git a/scripts/cosmo_calc.py b/scripts/cosmo_calc.py
index 7381da0..8650d2a 100755
--- a/scripts/cosmo_calc.py
+++ b/scripts/cosmo_calc.py
@@ -9,7 +9,7 @@ Cosmology calculator with support of Chandra ACIS-specific quantities.
import argparse
-from context import acispy
+from _context import acispy
from acispy.cosmo import Calculator
diff --git a/scripts/event2image.py b/scripts/event2image.py
index 3dc429f..44189e0 100755
--- a/scripts/event2image.py
+++ b/scripts/event2image.py
@@ -13,7 +13,7 @@ import sys
import argparse
import subprocess
-from context import acispy
+from _context import acispy
from acispy.manifest import get_manifest
from acispy.pfiles import setup_pfiles
from acispy.acis import ACIS
diff --git a/scripts/manifest.py b/scripts/manifest.py
index df0361f..6b100f0 100755
--- a/scripts/manifest.py
+++ b/scripts/manifest.py
@@ -18,7 +18,7 @@ and other structures in the YAML file.
.. _`PyYAML`: http://pyyaml.org/
"""
-from context import acispy
+from _context import acispy
from acispy import manifest
diff --git a/scripts/renorm_spectrum.py b/scripts/renorm_spectrum.py
index 92c2132..9a0c110 100755
--- a/scripts/renorm_spectrum.py
+++ b/scripts/renorm_spectrum.py
@@ -15,7 +15,7 @@ import sys
import argparse
import subprocess
-from context import acispy
+from _context import acispy
from acispy.spectrum import Spectrum
diff --git a/scripts/results.py b/scripts/results.py
index c3c2379..d325dc3 100755
--- a/scripts/results.py
+++ b/scripts/results.py
@@ -10,7 +10,7 @@
Manage the analysis results in YAML format.
"""
-from context import acispy
+from _context import acispy
from acispy import results