Skip to content

Commit

Permalink
Remove warning about automatic properties extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthaf committed Oct 23, 2023
1 parent 29b7874 commit fe06cbc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions python/chemiscope/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
_list_structure_properties,
frames_to_json,
)
from .version import __version__

if tuple(map(int, __version__.split("."))) >= (0, 6, 0):
raise Exception(
"this is a reminder to remove the warning about automatic properties extraction"
)


def create_input(
Expand Down Expand Up @@ -392,13 +386,6 @@ def create_input(
properties_list += " and "
properties_list += "[" + ", ".join(atom_properties) + "]"

if len(properties_list) != 0:
warnings.warn(
"chemiscope behavior changed to no longer include properties "
"from the structure objects. Use `chemiscope.extract_properties` "
f"to also visualize these properties ({properties_list})"
)

return data


Expand Down

0 comments on commit fe06cbc

Please sign in to comment.