Remove IVS1-only code (Issue #213)
by Chris Satterlee 1 year 11 months
Remove IVS1-only code (Issue #213)

- Removed the Adafruit modules, which were needed only for IVS1
- Removed 60% of IV_Swinger.py - everything specific to IVS1
- Removed support for gnuplot from IV_Swinger.py and IV_Swinger_plotter.py
- Removed --gif option from plotter (since it only worked with gnuplot)
- Removed --interactive option from plotter (it did work with pyplot, but wasn't as useful as with gnuplot)
8aadb7df
Next incremental batch of pathlib changes (Issue #...
by Chris Satterlee 2 years 1 day
Next incremental batch of pathlib changes (Issue #210)

This one covers IV_Swinger2_PV_model.py
c6003a9d
Next incremental batch of pathlib changes (Issue #...
by Chris Satterlee 2 years 1 day
Next incremental batch of pathlib changes (Issue #210)

Various
55480d56
Next incremental batch of pathlib changes (Issue #...
by Chris Satterlee 2 years 1 day
Next incremental batch of pathlib changes (Issue #210)

Various
3e4e0938
Next incremental batch of pathlib changes (Issue #...
by Chris Satterlee 2 years 2 days
Next incremental batch of pathlib changes (Issue #210)

Also temporarily import "icecream" which is probably a better tool than the print_dbg_str function that I added a few commits ago.
51bd17da
Next incremental batch of pathlib changes (Issue #...
by Chris Satterlee 2 years 5 days
Next incremental batch of pathlib changes (Issue #210)

I am no longer going to attempt to say what my reason is for grouping the changes in each of these incremental commits. I'm just making changes that can be made until I feel like it's time to do a commit.
ad3a03b2
Merge branch 'master' into pathlib_refactor
by Chris Satterlee 2 years 1 week
670c7456
Fix reopen of Issue #211
by Chris Satterlee 2 years 1 week
Fix reopen of Issue #211

Set the Remote Command tab widgets to dummy values if the config doesn't contain a Remote Command section.
07c4622d
Convert run_info_filename and others to Path (Issu...
by Chris Satterlee 2 years 1 week
Convert run_info_filename and others to Path (Issue #210)

This is another incremental change to refactor the code to use pathlib Path objects.

The following are converted:
sensor_info_filename
run_info_filename
cfg_filename
starting_cfg_filename
copy_dir
current_img
run_dir
cfg_file
config_dir
overlay_dir
gif_full_path

This commit is to the pathlib_refactor branch and will be merged to the default branch after all the other changes have been committed and thorough testing has been performed.
c313718a
Convert hdd_output_dir to Path (Issue #210)
by Chris Satterlee 2 years 1 week
Convert hdd_output_dir to Path (Issue #210)

This is another incremental change to refactor the code to use pathlib Path objects. In this commit, the hdd_output_dir path is converted, as well as paths that have it immediately on the RHS of their assignment. There are a few instances where this is propagated a bit further, but for the most part that is as far as it goes..

The commit also includes a change to remove the gen_dbg_str global function from IV_Swinger2.py. It is superseded by the print_dbg_str global function in IV_Swinger.py. That function is aliased to PRINT_DBG_STR in IV_Swinger2.py, IV_Swinger2_gui.py, and IV_Swinger2_sim.py (so far).

This commit is to the pathlib_refactor branch and will be merged to the default branch after all the other changes have been committed and thorough testing has been performed.
c316d584
Report a bug