Skip to content

Commit

Permalink
General code typo clean-up (#103)
Browse files Browse the repository at this point in the history
* fix errant backslash

* Adjusted the setup.py to not point to ccpforge

* Minor typo picked up in #94

* version bump

---------

Co-authored-by: Will Handley <wh260@cam.ac.uk>
  • Loading branch information
AdamOrmondroyd and williamjameshandley committed Jan 10, 2024
1 parent 4a83ed8 commit 864b7e8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:target: https://arxiv.org/abs/1506.00171
:alt: Open-access paper

PolyChord v 1.21.3
PolyChord v 1.21.4

Will Handley, Mike Hobson & Anthony Lasenby

Expand Down
2 changes: 1 addition & 1 deletion pypolychord/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "1.21.3"
__version__ = "1.21.4"
from pypolychord.settings import PolyChordSettings
from pypolychord.polychord import run_polychord
2 changes: 1 addition & 1 deletion pypolychord/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def _dataframes_for_printing(self):
for paramname in self._samples_table.columns[2:]:
mean = np.mean(np.array( self._samples_table[paramname]) )
std = np.std(np.array( self._samples_table[paramname]) )
stats_dict[paramname] = '%.3E +\- %.3E' % (mean, std)
stats_dict[paramname] = '%.3E +/- %.3E' % (mean, std)

lst.append(pd.Series(stats_dict))
return lst
Expand Down
2 changes: 1 addition & 1 deletion run_pypolychord.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ def dumper(live, dead, logweights, logZ, logZerr):
except ImportError:
print("Install matplotlib and getdist for plotting examples")

print("Install anesthetic or getdist for for plotting examples")
print("Install anesthetic or getdist for plotting examples")
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def run(self):
setup(name=NAME,
version=get_version(),
description='Python interface to PolyChord ' + get_version(),
url='https://ccpforge.cse.rl.ac.uk/gf/project/polychord/',
url='https://github.com/PolyChord/PolyChordLite',
author='Will Handley',
author_email='wh260@cam.ac.uk',
license='PolyChord',
Expand Down
2 changes: 1 addition & 1 deletion src/polychord/feedback.f90
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ subroutine write_opening_statement(settings)
write(stdout_unit,'("")')
write(stdout_unit,'("PolyChord: Next Generation Nested Sampling")')
write(stdout_unit,'("copyright: Will Handley, Mike Hobson & Anthony Lasenby")')
write(stdout_unit,'(" version: 1.21.3")')
write(stdout_unit,'(" version: 1.21.4")')
write(stdout_unit,'(" release: 9th Jan 2024")')
write(stdout_unit,'(" email: wh260@mrao.cam.ac.uk")')
write(stdout_unit,'("")')
Expand Down

0 comments on commit 864b7e8

Please sign in to comment.