Skip to content

Commit

Permalink
removed some print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Apr 28, 2017
1 parent 065a22a commit c4d1c14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion msnoise/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ def preload_instrument_responses(session):
channels = []
if response_format == "inventory":
for file in files:
print("Processing %s" % file)
logging.debug("Processing %s" % file)
try:
inv = read_inventory(file, format='STATIONXML')
for net in inv.networks:
Expand Down
4 changes: 2 additions & 2 deletions msnoise/plots/station_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main(show=True, outfile=None):
now = datetime.datetime.now()
now = now.strftime('station map on %Y-%m-%d %H.%M.%S')
tmp = outfile.replace('?', now)
print("output to:", tmp)
logging.debug("output to:", tmp)
sta_map.save('%s.html' % tmp)

# plot topography/bathymetry as an image.
Expand Down Expand Up @@ -107,7 +107,7 @@ def main(show=True, outfile=None):
now = datetime.datetime.now()
now = now.strftime('station map on %Y-%m-%d %H.%M.%S')
outfile = outfile.replace('?', now)
print("output to:", outfile)
logging.info("output to:", outfile)
plt.savefig(outfile)
if show:
plt.show()
Expand Down

0 comments on commit c4d1c14

Please sign in to comment.