From 596efafb3055a8d8af628e91b55545bdc87dee7c Mon Sep 17 00:00:00 2001 From: root Date: Fri, 18 Oct 2024 15:57:36 +0800 Subject: [PATCH] fix --- dpdata/plugins/lammps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dpdata/plugins/lammps.py b/dpdata/plugins/lammps.py index d265c53e3..c7e5c7653 100644 --- a/dpdata/plugins/lammps.py +++ b/dpdata/plugins/lammps.py @@ -1,6 +1,6 @@ from __future__ import annotations -from typing import TYPE_CHECKING, List +from typing import TYPE_CHECKING import numpy as np @@ -64,7 +64,7 @@ class LAMMPSDumpFormat(Format): def from_system( self, file_name: str, - type_map: List[str] = None, + type_map: list[str] = None, begin: int = 0, step: int = 1, unwrap: bool = False,