Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct surface_site_density input attribute typo #2532

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rmgpy/rmg/input.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3


###############################################################################
# #
Expand Down Expand Up @@ -1662,9 +1662,9 @@ def save_input_file(path, rmg):
f.write(' kineticsEstimator = {0!r},\n'.format(rmg.kinetics_estimator))
f.write(')\n\n')

if rmg.surfaceSiteDenisty or rmg.binding_energies:
if rmg.surface_site_density or rmg.binding_energies:
f.write('catalystProperties(\n')
if rmg.surfaceSiteDenisty:
if rmg.surface_site_density:
f.write(' surface_site_density = {0!r},'.format(rmg.surface_site_density))
if rmg.binding_energies:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should write surfaceSiteDensity

f.write(' binding_energies = {0!r},'.format(rmg.binding_energies))
Expand Down
Loading