make both functions respect the "visualizations" toggle.

#1

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

Sign up or log in to comment