一些小修改
This commit is contained in:
@@ -560,7 +560,7 @@ def _parse_print_cube_output(raw_text: str) -> PrintCubeResult:
|
||||
matrix.append(parts)
|
||||
return matrix
|
||||
|
||||
# Find key lines and parse data
|
||||
# Find key lines and parse raw
|
||||
name = re.search(r"CELL: name: (.*)", raw_text).group(1).strip()
|
||||
total_atoms = int(re.search(r"CELL: total atom: (\d+)", raw_text).group(1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user