Skip to content

Commit

Permalink
Add the missing python package, PyPDF2 (#372)
Browse files Browse the repository at this point in the history
* Add the missing python package, PyPDF2

Signed-off-by: M Q <[email protected]>

* Add PyPDF2>=2.11.1

Signed-off-by: M Q <[email protected]>

Signed-off-by: M Q <[email protected]>
  • Loading branch information
MMelQin authored Oct 17, 2022
1 parent 9fa416d commit 6cdc09d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@md.input("pdf_file", DataPath, IOType.DISK)
@md.input("study_selected_series_list", List[StudySelectedSeries], IOType.IN_MEMORY)
@md.output("dicom_instance", DataPath, IOType.DISK)
@md.env(pip_packages=["pydicom >= 1.4.2"])
@md.env(pip_packages=["pydicom >= 1.4.2", "PyPDF2 >= 2.11.1"])
class DICOMEncapsulatedPDFWriterOperator(Operator):

DCM_EXTENSION = ".dcm"
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cucim~=21.06; platform_system == "Linux"
monai>=1.0.0
docker>=5.0.0
pydicom>=2.3.0
PyPDF2>=2.11.1
highdicom>=0.18.2
SimpleITK>=2.0.0
Pillow>=8.0.0
Expand Down
19 changes: 10 additions & 9 deletions requirements-examples.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
scikit-image >= 0.17.2
pydicom >= 2.3.0
scikit-image>=0.17.2
pydicom>=2.3.0
PyPDF2>=2.11.1
highdicom>=0.18.2
SimpleITK >= 2.0.0
Pillow >= 8.0.0
SimpleITK>=2.0.0
Pillow>=8.0.0
numpy-stl>=2.12.0
trimesh>=3.8.11
nibabel >= 3.2.1
numpy-stl >= 2.12.0
trimesh >= 3.8.11
torch >= 1.10.0
monai >= 1.0.0
nibabel>=3.2.1
numpy-stl>=2.12.0
trimesh>=3.8.11
torch>=1.10.0
monai>=1.0.0

0 comments on commit 6cdc09d

Please sign in to comment.