Skip to content

Commit

Permalink
Small fix in energy readout
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaplaza committed Oct 31, 2024
1 parent 7abdc84 commit 12e93ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion navicat_marc/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def molecules_from_file(filename, scale_factor=1.10, noh=True):
def processargs(arguments):
input_list = sys.argv
input_str = " ".join(input_list)
version_str = "0.2.2"
version_str = "0.2.3"
mbuilder = argparse.ArgumentParser(
prog="navicat_marc",
description="Analyse conformer ensembles to find the most representative structures.",
Expand Down
2 changes: 1 addition & 1 deletion navicat_marc/molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def from_file(self, filename, noh=True):
energy = None
if "Energy:" in title and energy is None:
try:
etitle = title.split(":")[1].split(" ")[1].rstrip()
etitle = title.split(":")[1].strip()
energy = float(etitle) # * ha_to_kcalmol
except ValueError:
energy = None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "navicat_marc"
version = "0.2.2"
version = "0.2.3"
authors = [
{ name="R. Laplaza", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
setup(
name="marc",
packages=["navicat_marc"],
version="0.2.2",
version="0.2.3",
description="Modular Analysis of Representative Conformers",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 12e93ff

Please sign in to comment.