Skip to content

Commit

Permalink
Removed unnecessary debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cklb committed Oct 4, 2018
1 parent 41ca025 commit dd734b5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pymoskito/simulation_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ def play_animation(self):
"""
play the animation
"""
self._logger.debug("Starting Playback")
self._logger.info("Starting Playback")

# if we are at the end, start from the beginning
if self.playbackTime == self.currentEndTime:
Expand All @@ -757,7 +757,7 @@ def pause_animation(self):
"""
pause the animation
"""
self._logger.debug("Pausing Playback")
self._logger.info("Pausing Playback")
self.playbackTimer.stop()
self.actPlayPause.setText("Play Animation")
self.actPlayPause.setIcon(QIcon(get_resource("play.png")))
Expand All @@ -768,7 +768,7 @@ def stop_animation(self):
"""
Stop the animation if it is running and reset the playback time.
"""
self._logger.debug("Stopping Playback")
self._logger.info("Stopping Playback")
if self.actPlayPause.text() == "Pause Animation":
# animation is playing -> stop it
self.playbackTimer.stop()
Expand Down Expand Up @@ -933,7 +933,7 @@ def load_regimes_from_file(self, file_name):
def _update_regime_list(self):
self.regime_list.clear()
for reg in self._regimes:
self._logger.debug("adding '{}' to regime list".format(reg["Name"]))
self._logger.info("adding '{}' to regime list".format(reg["Name"]))
self.regime_list.addItem(reg["Name"])

def remove_regime_items(self):
Expand Down Expand Up @@ -1455,7 +1455,6 @@ def export_png(self, plot_item, name):
plot_item.setGeometry(QRectF(old_geometry))

def _get_data_by_name(self, name):
self._logger.debug("looking up data for {}".format(name))
tmp = name.split(".")
module_name = tmp[0]
try:
Expand Down

0 comments on commit dd734b5

Please sign in to comment.