Skip to content

Commit

Permalink
Merge pull request #12 from Electrostatics/nathan/junk
Browse files Browse the repository at this point in the history
Remove return values from console script.
  • Loading branch information
sobolevnrm authored Dec 17, 2020
2 parents d5bd7ae + 6efe4d7 commit b7a109f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# osmolytes

## 1.1.1 (17-Dec-2020)

### Fixes

* Remove excess output on stdout/stderr

## 1.1.0 (16-Dec-2020)

### Additions
Expand Down
9 changes: 6 additions & 3 deletions osmolytes/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ def build_parser():
help="output m-value results in Excel (xlsx) or CSV (csv) format",
)
parser.add_argument(
"--output-dir",
default=".",
help="directory for m-value output"
"--output-dir", default=".", help="directory for m-value output"
)
parser.add_argument(
"pqr_path",
Expand Down Expand Up @@ -132,3 +130,8 @@ def main(args=None):
"energy_df": energy_df,
"energies": energies,
}


def console():
"""Run code from the console."""
main()
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="osmolytes",
version="1.1.0",
version="1.1.1",
description=(
"This code attempts to predict the influence of osmolytes on protein "
"stability"
Expand All @@ -32,7 +32,7 @@
},
install_requires=["numpy", "scipy", "pyyaml", "pandas", "openpyxl"],
tests_require=["pytest"],
entry_points={"console_scripts": ["mvalue=osmolytes.main:main"]},
entry_points={"console_scripts": ["mvalue=osmolytes.main:console"]},
keywords="science chemistry biophysics biochemistry",
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit b7a109f

Please sign in to comment.