You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the simulator is run from the Help menu, it creates a new log file with the simulation logging. This is wrong. The simulation logging should be included in the existing log file. When the simulator is run standalone, it should still create a new log file, however.
The text was updated successfully, but these errors were encountered:
To fix this, the following changes were made:
- Add optional logger parameter to the IV_Swinger2 class initializer
- Add logger parameter to IV_Swinger2 configure logging method
- Modify configure_logging to just set the logger attribute to the passed value if it is set
- Add optional logger parameter to the IV_Swinger2_sim class initializer and pass that to the IV_Swinger2 initializer
- Add optional logger parameter to the SimulatorDialog class initializer and pass that to the IV_Swinger2_sim instantiation
- Pass the existing logger to the SimulatorDialog instantiaton in the run_simulator method in the MenuBar class of the main GUI
This commit also includes one unrelated whitespace fix in IV_Swinger2_gui.py
All changes are made to both python and python3 files.
When the simulator is run from the Help menu, it creates a new log file with the simulation logging. This is wrong. The simulation logging should be included in the existing log file. When the simulator is run standalone, it should still create a new log file, however.
The text was updated successfully, but these errors were encountered: