Skip to content

Commit

Permalink
further fix Too many positional arguments for method call in _convert…
Browse files Browse the repository at this point in the history
…ers.py
  • Loading branch information
kenko911 authored Sep 26, 2024
1 parent 9316f9b commit 4eb8338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m3gnet/graph/_converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_states(self, structure: StructureOrMolecule):
return states

@abstractmethod
def convert(self, structure: StructureOrMolecule, **kwargs) -> MaterialGraph:
def convert(self, structure: StructureOrMolecule, state_attr=None, *args, **kwargs) -> MaterialGraph:
"""
Convert the structure into a graph
Args:
Expand Down

0 comments on commit 4eb8338

Please sign in to comment.