chrissoria Claude commited on
Commit
ad336b6
·
1 Parent(s): 7e9f122

Move citation to end of page 1 with Zenodo DOI

Browse files

- Citation now appears at end of first page (after Other Output Columns)
- Updated DOI to 10.5281/zenodo.15532316
- Removed duplicate citation from Category Distribution page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (2) hide show
  1. __pycache__/app.cpython-311.pyc +0 -0
  2. app.py +7 -7
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
app.py CHANGED
@@ -129,6 +129,13 @@ def generate_methodology_report_pdf(categories, model, column_name, num_rows, mo
129
  ]))
130
  story.append(other_table)
131
 
 
 
 
 
 
 
 
132
  # === PAGE 2: Sample Results ===
133
  if result_df is not None and len(result_df) > 0:
134
  story.append(PageBreak())
@@ -195,13 +202,6 @@ def generate_methodology_report_pdf(categories, model, column_name, num_rows, mo
195
  story.append(Spacer(1, 15))
196
  story.append(Paragraph(f"<i>Note: Percentages may sum to more than 100% as responses can be assigned to multiple categories.</i>", normal_style))
197
 
198
- # Citation on page 3
199
- story.append(Spacer(1, 30))
200
- story.append(Paragraph("Citation", heading_style))
201
- story.append(Paragraph("If you use CatLLM in your research, please cite:", normal_style))
202
- story.append(Spacer(1, 5))
203
- story.append(Paragraph("Soria, C. (2025). CatLLM: A Python package for LLM-based text classification. https://github.com/chrissoria/cat-llm", normal_style))
204
-
205
  # === PAGE 4: Classification Summary (Expanded) ===
206
  story.append(PageBreak())
207
  story.append(Paragraph("Classification Summary", title_style))
 
129
  ]))
130
  story.append(other_table)
131
 
132
+ # Citation at end of page 1
133
+ story.append(Spacer(1, 30))
134
+ story.append(Paragraph("Citation", heading_style))
135
+ story.append(Paragraph("If you use CatLLM in your research, please cite:", normal_style))
136
+ story.append(Spacer(1, 5))
137
+ story.append(Paragraph("Soria, C. (2025). CatLLM: A Python package for LLM-based text classification. DOI: 10.5281/zenodo.15532316", normal_style))
138
+
139
  # === PAGE 2: Sample Results ===
140
  if result_df is not None and len(result_df) > 0:
141
  story.append(PageBreak())
 
202
  story.append(Spacer(1, 15))
203
  story.append(Paragraph(f"<i>Note: Percentages may sum to more than 100% as responses can be assigned to multiple categories.</i>", normal_style))
204
 
 
 
 
 
 
 
 
205
  # === PAGE 4: Classification Summary (Expanded) ===
206
  story.append(PageBreak())
207
  story.append(Paragraph("Classification Summary", title_style))