This is a minor change to try to identify the contents of an HDF5 file for the dingo_ls command.
We require special handling for files that contain only an SVD basis, and previously I was identifying this based on the file name. However, this was confusing some intermediate files produced during condor dataset generation. Now, we use a try-except statement.
If anybody has a better idea to make this cleaner, I'm open to suggestions.
This is a minor change to try to identify the contents of an
HDF5
file for thedingo_ls
command.We require special handling for files that contain only an SVD basis, and previously I was identifying this based on the file name. However, this was confusing some intermediate files produced during condor dataset generation. Now, we use a try-except statement.
If anybody has a better idea to make this cleaner, I'm open to suggestions.