-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix stdout stuff #68
Conversation
convoys/regression.py
Outdated
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' % ( |
There was a problem hiding this comment.
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)
convoys/regression.py
Outdated
sampler.run_mcmc(p0, nburnin+nsteps) | ||
print('\n') | ||
sys.stdout.write('\n') | ||
for i, _ in enumerate(sampler.sample(p0, iterations=nburnin+nsteps)): |
There was a problem hiding this comment.
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)
convoys/regression.py
Outdated
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' % ( |
There was a problem hiding this comment.
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)
factor out the stdout stuff from #65