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

fix stdout stuff #68

Merged
merged 2 commits into from
Aug 21, 2018
Merged

fix stdout stuff #68

merged 2 commits into from
Aug 21, 2018

Conversation

erikbern
Copy link
Contributor

factor out the stdout stuff from #65

print('\n')
sys.stdout.write('\n')
for i, _ in enumerate(sampler.sample(p0, iterations=nburnin+nsteps)):
sys.stdout.write('MCMC in %d dimensions with %d walkers: %6d/%-6d\r' % (

Choose a reason for hiding this comment

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

line too long (88 > 79 characters)

sampler.run_mcmc(p0, nburnin+nsteps)
print('\n')
sys.stdout.write('\n')
for i, _ in enumerate(sampler.sample(p0, iterations=nburnin+nsteps)):

Choose a reason for hiding this comment

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

line too long (81 > 79 characters)

print('\n')
sys.stdout.write('\n')
for i, _ in enumerate(sampler.sample(p0, iterations=nburnin+nsteps)):
sys.stdout.write('MCMC (%d dims, %d walkers): %6d/%-6d steps\r' % (

Choose a reason for hiding this comment

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

line too long (83 > 79 characters)

@coveralls
Copy link

coveralls commented Aug 21, 2018

Coverage Status

Coverage remained the same at 95.469% when pulling 31faee8 on stdout into a88a6be on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants