diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-11-16 11:22:34 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-11-16 11:22:34 -0600 |
commit | 3d3d9ce306137f347b939d07f36cf050af674fec (patch) | |
tree | 8027be8b96935305c817eb5a8dae517d5a086bad /utils/cat-grid-jobs | |
parent | dd017644419ad1bb4966d0cec5b72e50ef920f0e (diff) | |
download | sddm-3d3d9ce306137f347b939d07f36cf050af674fec.tar.gz sddm-3d3d9ce306137f347b939d07f36cf050af674fec.tar.bz2 sddm-3d3d9ce306137f347b939d07f36cf050af674fec.zip |
bump version to 3
Diffstat (limited to 'utils/cat-grid-jobs')
-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 |