maweigert / gputools

GPU accelerated image/volume processing in Python
BSD 3-Clause "New" or "Revised" License
108 stars 20 forks source link

convert print statements to logging module #7

Closed tlambert03 closed 6 years ago

tlambert03 commented 6 years ago

this PR just converts print statements that are not in if __name__ == "__main__": or obvious test() functions to use the logging module. logger = logging.getLogger(__name__) was used where logging was not already imported. The one that crops up the most is the print statement in the try/except when loading a config file at ~/.gputools that does not exist.