plantcv
plantcv copied to clipboard
analyze_object's tuple observations are not registered in final processed results file
Describe the bug The two observations of type tuple in the function analyze_object (center_of_mass and ellipse_center) don't get registered in the file resulting from process_results.
The intermediary .json file does contain the observations.
@HaleySchuhl points out that in save_results lines 158-166 of classes.py tuple values are not being unpacked.
To Reproduce Steps to reproduce the behavior (including sample data and code really help):
- Run analyze_object
- Run outputs.save_results
- Run parallel.process_results on the results folder
- Run plantcv-utils.py json2csv to obtain the csv files where the observations are missing
Expected behavior The observations should be registered in either the single-value-traits or the multi-value-traits files.
Local environment (please complete the following information):
- OS: Linux
- Environment conda
- PlantCV Version 3.12.0
Additional context