Skip to content

Commit 2d9867f

Browse files
committed
[utils.COM.geom2COMdist] use new optarg in _per_residue_unwrapping(geom,residue_idxs=residue_idxs_unique)
1 parent 71941a4 commit 2d9867f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdciao/utils/COM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def geom2COMdist(geom, residue_pairs, subtract_max_radii=False, low_mem=True,
134134
if per_residue_unwrap:
135135
assert periodic, ValueError("Cannot unwrap residues if 'periodic' is set to False.")
136136
# Per-residue per-frame unwraping
137-
unwrapped_residue_geom = _per_residue_unwrapping(geom)
137+
unwrapped_residue_geom = _per_residue_unwrapping(geom,residue_idxs=residue_idxs_unique)
138138

139139
else:
140140
unwrapped_residue_geom = geom

0 commit comments

Comments
 (0)