Skip to content

Commit

Permalink
Add docstring, typehint, todo to TINKER parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jessbade committed Feb 7, 2024
1 parent 4239bfd commit c88061e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions isicle/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def load(self, path: str):
self.contents = f.readlines()
self.path = path

def _parse_energy(self):
def _parse_energy(self) -> list:
"""
Parse the energy from TINKER simulation
"""
Expand All @@ -997,7 +997,7 @@ def _parse_energy(self):

def _parse_conformers(self):
"""
Add docstring
Parse the conformers from TINKER simulation
"""

conffile = open(self.path.split(".")[0] + ".arc", "r")
Expand Down Expand Up @@ -1076,7 +1076,7 @@ def parse(self):
result["energy"] = self._parse_energy()
except:
pass

# TODO no self._parse_charge code
try:
result["charge"] = self._parse_charge()
except:
Expand Down

0 comments on commit c88061e

Please sign in to comment.