Commit aaf5ac0e4e62546177de55ce7c4df60f748d1c85
1 parent
5b43dc03
Untar csadd2caldb test file
Showing
4 changed files
with
3 additions
and
3 deletions
cscripts/Makefile.am
| ... | ... | @@ -271,7 +271,7 @@ testiactevents = $(top_srcdir)/test/data/iactdata/events/irf_file.fits.gz \ |
| 271 | 271 | $(top_srcdir)/test/data/iactdata/events/events_8.fits.gz |
| 272 | 272 | |
| 273 | 273 | # Test data to be distributed in $(pyexecdir)/cscripts/tests/data/prod5-v0.1 |
| 274 | -testprod501data = $(top_srcdir)/test/data/prod5-v0.1/CTA-Performance-prod5-v0.1-South-20deg.FITS.tar.gz | |
| 274 | +testprod501data = $(top_srcdir)/test/data/prod5-v0.1/CTA-Performance-prod5-v0.1-South-20deg.FITS.tar | |
| 275 | 275 | |
| 276 | 276 | # Install scripts, parfiles, test scripts and test data. Note that we don't |
| 277 | 277 | # need to prepend $(DESTDIR) here (not fully clear why, but that's the way | ... | ... |
cscripts/csadd2caldb.py
| ... | ... | @@ -79,11 +79,11 @@ class csadd2caldb(ctools.cscript): |
| 79 | 79 | tarfiles = [] |
| 80 | 80 | |
| 81 | 81 | # Search for tarfiles in current directory |
| 82 | - files = glob.glob('%s/*.FITS.tar.gz' % indir.url()) | |
| 82 | + files = glob.glob('%s/*.FITS.tar*' % indir.url()) | |
| 83 | 83 | tarfiles.extend(files) |
| 84 | 84 | |
| 85 | 85 | # Search for tarfiles in 'fits' subdirectory |
| 86 | - files = glob.glob('%s/fits/*.FITS.tar.gz' % indir.url()) | |
| 86 | + files = glob.glob('%s/fits/*.FITS.tar*' % indir.url()) | |
| 87 | 87 | tarfiles.extend(files) |
| 88 | 88 | |
| 89 | 89 | # Return tarfiles | ... | ... |
test/data/prod5-v0.1/CTA-Performance-prod5-v0.1-South-20deg.FITS.tar
0 → 100644
No preview for this file type
test/data/prod5-v0.1/CTA-Performance-prod5-v0.1-South-20deg.FITS.tar.gz deleted
No preview for this file type