Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
utf committed May 23, 2023
1 parent 9c7a42d commit 7bef4b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/atomate2/forcefields/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def make(self, structure: Structure):
structure, relax_cell=self.relax_cell, steps=self.steps, **self.relax_kwargs
)

ff_task_doc = ForceFieldTaskDocument.from_chgnet_result(
return ForceFieldTaskDocument.from_chgnet_result(
result,
self.relax_cell,
self.steps,
Expand All @@ -73,8 +73,6 @@ def make(self, structure: Structure):
**self.task_document_kwargs,
)

return ff_task_doc


@dataclass
class CHGNetStaticMaker(CHGNetRelaxMaker):
Expand Down

0 comments on commit 7bef4b0

Please sign in to comment.