Skip to content

Commit 44ae43e

Browse files
committed
rm warning for molecules
1 parent 0c71a95 commit 44ae43e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

mp_api/client/mprester.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -395,16 +395,6 @@ def __getattr__(self, attr):
395395
f"{self.__class__.__name__!r} object has no attribute {attr!r}"
396396
)
397397

398-
def __getattribute__(self, attr):
399-
if "molecules" in attr:
400-
warnings.warn(
401-
"NOTE: You are accessing a new set of molecules data to be officially released very soon. "
402-
"This dataset includes many new properties, and is designed to be more easily expanded. "
403-
"For the previous (legacy) molecules data, use the MPRester.molecules.jcesr rester. "
404-
)
405-
406-
return super().__getattribute__(attr)
407-
408398
def __dir__(self):
409399
return dir(MPRester) + self._deprecated_attributes + ["materials", "molecules"]
410400

0 commit comments

Comments
 (0)