Skip to content

Commit b2b8a7e

Browse files
committed
plates.detect_plates_vzcheck doesn't return nphi
1 parent d74f5b3 commit b2b8a7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stagpy/plates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def detect_plates_vzcheck(step, vz_thres_ratio=0):
6565
limits.remove(phi)
6666
k += 1
6767

68-
return limits, nphi, dvphi, vphi_surf
68+
return limits, dvphi, vphi_surf
6969

7070

7171
def detect_plates(step, vrms_surface, fids, time):
@@ -771,7 +771,7 @@ def cmd():
771771
istart = step.isnap if istart is None else istart
772772
iend = step.isnap
773773
phi = step.geom.p_centers
774-
limits, nphi, dvphi, vphi_surf = detect_plates_vzcheck(step)
774+
limits, dvphi, vphi_surf = detect_plates_vzcheck(step)
775775
limits.sort()
776776
sizeplates = [phi[limits[0]] + 2 * np.pi - phi[limits[-1]]]
777777
for lim in range(1, len(limits)):

0 commit comments

Comments
 (0)