We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7313ea4 commit 7566becCopy full SHA for 7566bec
tools/make_mat/make_mat.py
@@ -61,7 +61,7 @@ def read_mat(name, protein_ref_indices, args, cumulative=False):
61
else:
62
with h5py.File(f"{path_prefix}/{name}", "r") as f:
63
if "density" not in f:
64
- raise KeyError(f"Dataset 'density' not found in {h5_file}")
+ raise KeyError(f"Dataset 'density' not found in {name}")
65
66
data = f["density"][:] # Read full dataset
67
# Extract the first column (distance) and the relevant protein_ref_indices columns
0 commit comments