From f08f3744596726d9599ac4cec0e7ab4b02af0bd2 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Sat, 11 May 2024 17:23:20 -0400 Subject: [PATCH] `from_...` class methods now return `typing_extensions.Self` (#840) * more clean up of schemas/test_lobster.py * from_... class methods return typing_extensions.Self * fix NameError: name 'Self' is not defined in schema files * missed one NameError: name 'Self' is not defined * start doc strings on 1st line --- src/atomate2/vasp/sets/mp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/atomate2/vasp/sets/mp.py b/src/atomate2/vasp/sets/mp.py index 00924e6d13..5a6e91ecf0 100644 --- a/src/atomate2/vasp/sets/mp.py +++ b/src/atomate2/vasp/sets/mp.py @@ -44,7 +44,6 @@ class MPGGAStaticSetGenerator(StaticSetGenerator): auto_kspacing: bool = True inherit_incar: bool | None = False - @dataclass class MPMetaGGAStaticSetGenerator(StaticSetGenerator): """Class to generate MP-compatible VASP GGA static input sets."""