Skip to content

Commit fa8c984

Browse files
author
root
committed
fix bug in comm.py
1 parent ea09af2 commit fa8c984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

abacustest/lib_prepare/comm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def gen_folder_by_syntax(x, idx, output_path, syntax=None, create=False):
103103
print("Translating %s to ABACUS stru:" % iistru)
104104
struinfo[istru] = []
105105
for i in range(stru.get_nframes()):
106-
if len(stru.get_nframes()) > 1:
106+
if stru.get_nframes() > 1:
107107
ipath = gen_path_name(tpath + f".{i}", create=True)
108108
else:
109109
itpath = tpath

0 commit comments

Comments
 (0)