diff options
-rwxr-xr-x | utils/cat-grid-jobs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cat-grid-jobs b/utils/cat-grid-jobs index d64fab2..55e89a0 100755 --- a/utils/cat-grid-jobs +++ b/utils/cat-grid-jobs @@ -103,7 +103,7 @@ def cat_grid_jobs(conn, output_dir, zdab_dir=None): total_fits += f['fits'].shape[0] with h5py.File(output,'r') as fout: - if 'version' not in fout.attrs or fout.attrs['version'] < 2: + if 'version' not in fout.attrs or fout.attrs['version'] < 3: pass elif 'reprocessed' in filename and 'reprocessed' not in fout.attrs: pass @@ -135,7 +135,7 @@ def cat_grid_jobs(conn, output_dir, zdab_dir=None): with h5py.File(output,"a") as fout: # Mark a version in case we need to reprocess all the files - fout.attrs['version'] = 2 + fout.attrs['version'] = 3 # Mark the file as being reprocessed so we know in the future if we # already used the reprocessed version instead of the reduced |