make both functions respect the "visualizations" toggle.
#1
by
mewhenmonkeyavatar
- opened
In both process_comprehensive_analysis and process_text_comprehensive_analysis functions, the code now checks if "visualizations" is chosen as an analysis type before attempting to process visual analyses.
The viz_outputs dict is filled with None values for each key from viz_types before the visualizations clause to avoid exceptions at the function return and to eliminate the need of assigning None at every case where a visualization fails.
xoxo, sins. ๐
AhmedAyman
changed pull request status to
merged