-
Notifications
You must be signed in to change notification settings - Fork 8
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
added option to save log in the hdf raw data file plus changes to build on OSX/python3 #2
Conversation
def blocked_view(proj, theta, params): | ||
log.info(" *** correcting for blocked view data collection") | ||
if params.blocked_views: | ||
log.warning(' *** *** ON') |
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.
For global (and local) logging: https://stackoverflow.com/questions/7621897/python-logging-module-globally
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.
I think I am already using a global logger. This is defined in log.py.
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.
ah you mean having tomopy and tomopy-cli using the same logging?
changes to build on OSX/python3
@aps-7bm needed to touch beamhardening.py to handle file path/name correctly also under MacOSX/python3.