aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-03-04 14:42:17 +0800
committerAaron LI <aaronly.me@outlook.com>2017-03-04 14:42:17 +0800
commit5eca9f7055b10bf95f6cd211d093fcc9fd126111 (patch)
tree16bbb2c3adcc3ed9625233e3e4b2550953950a6e /bin
parent76673fbbc2baf8260467c9d6d4e9fa77ac26409e (diff)
downloadchandra-acis-analysis-5eca9f7055b10bf95f6cd211d093fcc9fd126111.tar.bz2
clean_evt2.py: Add 'reg_sources' and 'gti' to manifest
Diffstat (limited to 'bin')
-rwxr-xr-xbin/clean_evt2.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/clean_evt2.py b/bin/clean_evt2.py
index 0712e6e..ee93f36 100755
--- a/bin/clean_evt2.py
+++ b/bin/clean_evt2.py
@@ -197,10 +197,16 @@ def main():
make_gti(lcfile, gtifile, clobber=args.clobber)
filter_gti(evt2_rmsrc, evt2_clean, gtifile, clobber=args.clobber)
- # Add cleaned evt2 to manifest
+ # Add cleaned evt2 and other products to manifest
key = "evt2_clean"
manifest.setpath(key, evt2_clean)
logger.info("Added '%s' to manifest: %s" % (key, manifest.get(key)))
+ key = "reg_sources"
+ manifest.setpath(key, srcfile)
+ logger.info("Added '%s' to manifest: %s" % (key, manifest.get(key)))
+ key = "gti"
+ manifest.setpath(key, gtifile)
+ logger.info("Added '%s' to manifest: %s" % (key, manifest.get(key)))
# Remove useless intermediate files
os.remove(evt2_chips)