Skip to content

Commit 0ae388e

Browse files
committed
fix the mypy error
1 parent 6052c1e commit 0ae388e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/atomate2/forcefields/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def make(
173173
stacklevel=1,
174174
)
175175

176-
return ForceFieldTaskDocument.from_ase_compatible_result(
176+
return ForceFieldTaskDocument.from_ase_compatible_result_forcefield(
177177
str(self.force_field_name), # make mypy happy
178178
ase_result,
179179
self.steps,

src/atomate2/forcefields/md.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def make(
159159
stacklevel=1,
160160
)
161161

162-
return ForceFieldTaskDocument.from_ase_compatible_result(
162+
return ForceFieldTaskDocument.from_ase_compatible_result_forcefield(
163163
str(self.force_field_name), # make mypy happy
164164
md_result,
165165
relax_cell=(self.ensemble == MDEnsemble.npt),

src/atomate2/forcefields/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class ForceFieldTaskDocument(AseTaskDoc):
149149
)
150150

151151
@classmethod
152-
def from_ase_compatible_result(
152+
def from_ase_compatible_result_forcefield(
153153
cls,
154154
ase_calculator_name: str,
155155
result: AseResult,

0 commit comments

Comments
 (0)