diff --git a/hed/tools/remodeling/operations/summarize_hed_tags_op.py b/hed/tools/remodeling/operations/summarize_hed_tags_op.py index 06be3639..8db7e1aa 100644 --- a/hed/tools/remodeling/operations/summarize_hed_tags_op.py +++ b/hed/tools/remodeling/operations/summarize_hed_tags_op.py @@ -307,7 +307,8 @@ def save_visualizations(self, save_dir, file_formats=['.svg'], individual_summar min_font_size=wc["min_font_size"], max_font_size=wc["max_font_size"], contour_width=wc["contour_width"], contour_color=wc["contour_color"]) svg_data = word_cloud_to_svg(tag_wc) - cloud_filename = os.path.realpath(os.path.join(save_dir, self.op.summary_name, '_word_cloud.svg')) + cloud_filename = os.path.realpath(os.path.join(save_dir, self.sum_op.summary_name, + self.sum_op.summary_name + '_word_cloud.svg')) with open(cloud_filename, "w") as outfile: outfile.writelines(svg_data)