Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Config/configure_PRONTO.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ encoding_sys = utf-8
;Specify the number of columns you want to do the filtering (NB: this will also make the script to generate the number of output tables):
filter_col_nu = 5
;Please modify this for local env if you use MTF files to import the clinical data into meta file. Specify the version of year of the MTF files.
material_file_version = 2025
material_file_version = 2026

[FILTER1]
;Specify the column name need to be filtered:
Expand Down
Binary file modified In/Template/InPreD_MTB_template.pptx
Binary file not shown.
7 changes: 7 additions & 0 deletions Script/PRONTO.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,17 @@ def update_ppt_template_data(inpred_node,ipd_no,ipd_gender,ipd_age,ipd_diagnosis
today_month = time.strftime("%b", time.localtime())
today_year = time.strftime("%Y", time.localtime())
today = today_date + '\n' + today_month.upper() + '\n' + today_year
year_text = "XX\nXXX\n" + today_year
ppt = Presentation(ppt_template)
indexs = [1,3,4,5,6]
for index in indexs:
slide = ppt.slides[index]
textbox0 = slide.shapes.add_textbox(Inches(0.06), Inches(0.06), Inches(0.47), Inches(0.63))
tf0 = textbox0.text_frame
tf0.paragraphs[0].text = year_text
tf0.paragraphs[0].font.size = Pt(11)
tf0.paragraphs[0].font.color.rgb = RGBColor(250,250,250)
tf0.paragraphs[0].alignment = PP_ALIGN.CENTER
textbox1 = slide.shapes.add_textbox(Inches(3.75), Inches(0.11), Inches(1.33), Inches(0.50))
tf1 = textbox1.text_frame
tf1.paragraphs[0].text = ipd_no
Expand Down