diff --git a/met-api/src/met_api/generated_documents_carbone_templates/proponent_comments_sheet.xlsx b/met-api/src/met_api/generated_documents_carbone_templates/proponent_comments_sheet.xlsx index 72c35a3c0..c7d6efb46 100644 Binary files a/met-api/src/met_api/generated_documents_carbone_templates/proponent_comments_sheet.xlsx and b/met-api/src/met_api/generated_documents_carbone_templates/proponent_comments_sheet.xlsx differ diff --git a/met-api/src/met_api/services/comment_service.py b/met-api/src/met_api/services/comment_service.py index 8ec54d749..1fba0948f 100644 --- a/met-api/src/met_api/services/comment_service.py +++ b/met-api/src/met_api/services/comment_service.py @@ -339,9 +339,7 @@ def format_comments(cls, comments): comments_by_label[label].append({'text': text, 'submission_id': submission_id}) # Create a list of titles with label information in order of appearance - titles = [{'label': title} for title in unique_titles for _ in range(2)] - # Insert "Proponent Answer" after each label in titles - titles = [{'label': 'Proponent Answer'} if i % 2 else title for i, title in enumerate(titles)] + titles = [{'label': title, 'proponent_answers': 'Proponent Answer'} for title in unique_titles] # Create a list of comments organized by label order formatted_comments = []