Generate dialog on faliure to generate reference c...
by Chris Satterlee 5 years 2 months
Generate dialog on faliure to generate reference curve (Issue #143)

Call show_pv_model_failure_dialog() when reference CSV file not generated in swing_loop() and when the Plot Reference box is checked immediately after a curve is swung or when a curve is displayed from the Results Wizard.
7e7593bd
Fix Swing! button not red after image resize (Issu...
by Chris Satterlee 5 years 2 months
Fix Swing! button not red after image resize (Issue #142)

In the create_go_button_box() method, call enable_go_button() if arduino_ready is true and disable_go_button otherwise.
c08e4baf
Fix restore of plotting preferences after PV model...
by Chris Satterlee 5 years 2 months
Fix restore of plotting preferences after PV model test (Issue #118)

Added call to save_config() at the end of save_config_for_pv_test(), after restoring the config. Preface this call by setting suppress_cfg_file_copy to True, so the PV model test run's config is not overwritten. Also move the setting of suppress_cfg_file_copy to False into this method from where it was before.
ddc42402
Fixed typo in advanced calibration help
by Chris Satterlee 5 years 2 months
Fixed typo in advanced calibration help

No Issue filed. Added missing word. "it".
4557d4ac
Treat resistor values as integers in calibration d...
by Chris Satterlee 5 years 2 months
Treat resistor values as integers in calibration dialog (Issue #140)

All changes are in ResistorValuesDialog class:

- Current values from config are converted to ints before being displayed in the dialog (body() method)
- Default values are converted to ints (restore_defaults() method)
- Values entered by user are checked to be integers (validate() method)
5006c1fc
Fix typo in PvModelHelpDialog text
by Chris Satterlee 5 years 2 months
Fix typo in PvModelHelpDialog text

No Issue filed. Remove repeated word "two" in PV model help dialog.
af4a6409
Change STOP button text to red (Issue #139)
by Chris Satterlee 5 years 2 months
Change STOP button text to red (Issue #139)

Set the stop button style to go_stop_button.TButton.

Also remove spurious line setting the go_button style to None in disable_go_button() method.
cb94ee65
Fix overlay user even logging (Issue #138)
by Chris Satterlee 5 years 2 months
Fix overlay user even logging (Issue #138)

1) Set event="reselect" for call to overlay_runs( ) method in select() method. Suppress logging "(Wizard) clicked Overlay button" if event is "reselect"

2) Only log "(Wizard) clicked Overlay button" if the overlays are reordered
f706d063
Add check for no selected runs in plot_overlay_and...
by Chris Satterlee 5 years 2 months
Add check for no selected runs in plot_overlay_and_display (Issue #137)

The simplest fix for Issue #137 is for the plot_overlay_and_display() method to do nothing if there are no selected CSV files. No error message or dialog is generated, but there is no exception.
0052d8db
Generate error dialog when ADC CSV file has bad va...
by Chris Satterlee 5 years 3 months
Generate error dialog when ADC CSV file has bad values (Issue #136)

Add function (method in Python 2 code) show_process_adc_values_err_dialog and call it when process_adc_values() returns bad rc when called from redisplay_img().
97ac6baa
Report a bug