Skip to content

Commit

Permalink
Move log statements into main().
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-drews committed Jun 28, 2024
1 parent 5851f6e commit be55094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/acom_music_box/music_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def solve(self, path_to_output = None):
headers.append("ENV.temperature")
headers.append("ENV.pressure")

music_box_logger.progress("solve0152 self.solver = {}".format(self.solver))
#music_box_logger.progress("solve0152 self.solver = {}".format(self.solver))

if (self.solver is None):
music_box_logger.progress("Warning: MusicBox object {} has no solver."
Expand Down
1 change: 1 addition & 0 deletions src/acom_music_box/music_box_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def getArgsDictionary(argPairs):

# create solver and solve
myBox.create_solver(musicBoxHomeDir + myBox.config_file)
music_box_logger.progress("myBox.solver = {}".format(myBox.solver))
mySolution = myBox.solve(musicBoxHomeDir + "my_solution.csv")
music_box_logger.progress("mySolution = {}".format(mySolution))

Expand Down

0 comments on commit be55094

Please sign in to comment.