Skip to content

Commit 3348f64

Browse files
authored
Merge pull request #85 from InPreD/82-hus-testing-of-pronto-latest-fails
82 hus testing of pronto latest fails
2 parents ca3c75f + f64a056 commit 3348f64

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM python:3.14.0a2-slim
1+
FROM python:3.14.0-slim
22
LABEL maintainer="Xiaoli.Zhang@rr-research.no"
33
# install dependencies
44
COPY requirements.txt /
55
RUN apt-get update \
66
&& apt-get install -y --no-install-recommends \
7-
build-essential=12.9 \
8-
libjpeg-dev=1:2.1.5-2 \
9-
libxml2=2.9.14+dfsg-1.3~deb12u4 \
10-
libxslt1-dev=1.1.35-1+deb12u3 \
11-
poppler-utils=22.12.0-2+deb12u1 \
12-
zlib1g-dev=1:1.2.13.dfsg-1 \
7+
build-essential=12.12 \
8+
libjpeg-dev=1:2.1.5-4 \
9+
libxml2=2.12.7+dfsg+really2.9.14-2.1+deb13u1 \
10+
libxslt1-dev=1.1.35-1.2+deb13u2 \
11+
poppler-utils=25.03.0-5 \
12+
zlib1g-dev=1:1.3.dfsg+really1.3.1-1+b1 \
1313
&& rm -rf /var/lib/apt/lists/* \
1414
&& apt-get clean \
1515
&& pip install --no-cache-dir -r requirements.txt \

Script/PRONTO.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,6 @@ def update_clinical_tsoppi_file(InPreD_clinical_tsoppi_data_file,sample_id,if_ge
11241124
fw.write(new_content)
11251125
fw.close()
11261126

1127-
11281127
def pdf_page_image_to_ppt(pdf_file,output_ppt_file,pages,width_scale,height_scale):
11291128
ppt = Presentation(output_ppt_file)
11301129
slide = ppt.slides.add_slide(ppt.slide_layouts[6])
@@ -1144,8 +1143,6 @@ def pdf_page_image_to_ppt(pdf_file,output_ppt_file,pages,width_scale,height_scal
11441143
slide.shapes.add_picture(image_path, left=0, top=image_top, width=image_width, height=image_height)
11451144
os.remove(image_path)
11461145
ppt.save(output_ppt_file)
1147-
1148-
11491146

11501147
def usage(exit_status = 0):
11511148
print ("""Usage: python3 %s
@@ -1547,7 +1544,7 @@ def main(argv):
15471544
B3_C1_to_extract = [4, 5]
15481545
pdf_page_image_to_ppt(CNV_overview_plots_pdf,output_ppt_file,B3_C1_to_extract,width_scale=1,height_scale=0.5)
15491546

1550-
# Change slides order.
1547+
# Change slides order.
15511548
ppt = Presentation(output_ppt_file)
15521549
slides = ppt.slides._sldIdLst
15531550
slides_list = list(slides)

0 commit comments

Comments
 (0)