Improve get_initial_log_file_name() method (Issue ...
by Chris Satterlee 4 years 9 months
Improve get_initial_log_file_name() method (Issue #166)

Added a "run_dir" property to the ResultsWizard class. It is set when a selection is made and set to None when there is no selection.

Modified the get_initial_log_file_name() method to use the new Wizard property to determine the log directory.
6e22f925
Fix clean_up_after_failure() method (Issue #165)
by Chris Satterlee 4 years 9 months
Fix clean_up_after_failure() method (Issue #165)

Instead of inferring that run_dir contains the ADC and data points CSV files if it contains two files, explcitly check that it indeed contains those two files.
ccc42732
Add calibrated value to Test log message
by Chris Satterlee 4 years 9 months
Add calibrated value to Test log message

No Issue filed. Just a minor change to include the calibrated value in the message logged when the user hits Enter/Return with the DMM value after using the Test button in the advanced calibration dialogs.
aa258df3
Set hdd_output_dir to None in request_adv_calibrat...
by Chris Satterlee 4 years 9 months
Set hdd_output_dir to None in request_adv_calibration_vals (Issue #164)

The request_adv_calibration_vals() method requests an IV curve from the Arduino, but it doesn't save the results anywhere. The receive_data_from_arduino() method writes the sensor values to the run_info file. But in this case, there shouldn't be a run_info file to write it to. The problem reported in Issue #164 occurs because the hdd_output_dir property is still pointing to the directory of the last run, which does have a run_info file.

The problem is fixed simply by setting the hdd_output_dir property to None (which its initial value) before calling receive_data_from_arduino(). However, the property has a sanity check that also needed to be modified in order to allow it to be set to None.
b8987b07
Regenerate User Guide PDF with hyperlinks
by Chris Satterlee 4 years 9 months
Regenerate User Guide PDF with hyperlinks

The previous PDF file did not have hyperlinks. This version does. There are no other changes to the document.
4db2ddf3
Update version to v2.7.0
by Chris Satterlee 4 years 9 months
Update version to v2.7.0

Update from v2.6.0 to v2.7.0
e40af832
Add .python-version (pyenv) to .gitignore
by Chris Satterlee 4 years 9 months
Add .python-version (pyenv) to .gitignore

The .python-version file is used by pyenv to determine which version of Python to use. This should be set by the user (if they even use pyenv).
764d84e7
Update .coveragerc_Mac
by Chris Satterlee 4 years 9 months
Update .coveragerc_Mac

Added a few lines to .coveragerc_Mac and added it to python3 directory too (with one minor difference)
d4e9249b
Add user action logging to advanced calibration di...
by Chris Satterlee 4 years 9 months
Add user action logging to advanced calibration dialogs (Issue #115)

Added logging of:
Selecting relay type (current calibration dialog only)
Clicking Help button
Clicking Get Point 1 button
Clicking Get Point 2 button
Clicking Test button
3e5a0a44
Change to SSR calibration algorithm (Issue #163)
by Chris Satterlee 4 years 9 months
Change to SSR calibration algorithm (Issue #163)

Modify the previous fix for Issue #163.

- The criterion for excluding Pass 2 values is changed. Now values that are within +/- 1 ADC count of the Pass 1 average are not excluded even if this means they differ by more than 0.5% from that average. This is so testing very low currents does not fail when measured values are only differing by 1 ADC count.

- The criterion for determining if the measurement is stable is changed. Now the measurement is considered stable if the majority of Pass 2 values are not excluded. Previously, the measurement could be considered stable if just one measurement fell within +/- 0.5% of the Pass 1 average.
a1362832
Report a bug