Skip to content

Commit

Permalink
allowing to set mad geometry options, such as no_orient
Browse files Browse the repository at this point in the history
  • Loading branch information
kottmanj committed Nov 29, 2023
1 parent 9d7483d commit e3b8c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tequila/quantumchemistry/madness_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,9 @@ def write_madness_input(self, n_pno=None, n_virt=0, filename="input", maxrank=No
data[key] = {**data[key], **kwargs[key]}

geom = {}
if hasattr(self, mad_geometry_options):
if hasattr(self, "mad_geometry_options"):
geom = self.mad_geometry_options

if "units" not in geom:
geom["units"] = "angstrom"
if "eprec" not in geom:
Expand Down

0 comments on commit e3b8c53

Please sign in to comment.