aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/clean_evt2.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/clean_evt2.py b/bin/clean_evt2.py
index ee93f36..0dc2636 100755
--- a/bin/clean_evt2.py
+++ b/bin/clean_evt2.py
@@ -133,6 +133,9 @@ def make_gti(infile, outfile, scale=1.2, clobber=False):
"print_window('%s', ['format', 'jpg', 'clobber', 'True'])" % outimg
]
open(chipsfile, "w").write("\n".join(lines) + "\n")
+ logger.warning("ChIPS may sometimes just failed to execute the script " +
+ "to create the GTI file. If this happens, try manually " +
+ "run 'execfile(%s)' in ChIPS." % chipsfile)
subprocess.check_call(["chips", "-x", chipsfile])
if not os.path.exists(outfile):