Skip to content

Commit 7566bec

Browse files
flake
1 parent 7313ea4 commit 7566bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/make_mat/make_mat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def read_mat(name, protein_ref_indices, args, cumulative=False):
6161
else:
6262
with h5py.File(f"{path_prefix}/{name}", "r") as f:
6363
if "density" not in f:
64-
raise KeyError(f"Dataset 'density' not found in {h5_file}")
64+
raise KeyError(f"Dataset 'density' not found in {name}")
6565

6666
data = f["density"][:] # Read full dataset
6767
# Extract the first column (distance) and the relevant protein_ref_indices columns

0 commit comments

Comments
 (0)