Skip to content

Commit

Permalink
optional
Browse files Browse the repository at this point in the history
  • Loading branch information
shivupa committed Apr 30, 2024
1 parent bb5acf4 commit 8ad795a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cclib/attribute_parsers/atomcharges.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def NBO(file_handler, ccdata) -> Optional[dict]:
return None

@staticmethod
def qchem(file_handler, ccdata) -> list | None:
def qchem(file_handler, ccdata) -> Optional[dict]:
line = file_handler.last_line
constructed_charge_data = None
constructed_spin_data = None
Expand Down
2 changes: 1 addition & 1 deletion cclib/attribute_parsers/atommasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def gaussian(file_handler, ccdata) -> Optional[dict]:
return None

@staticmethod
def qchem(file_handler, ccdata) -> list | None:
def qchem(file_handler, ccdata) -> Optional[dict]:
# ccdata is "const" here and we don't need to modify it yet. The driver will set the attr
line = file_handler.last_line
constructed_data = None
Expand Down

0 comments on commit 8ad795a

Please sign in to comment.