Skip to content

Commit

Permalink
remove unnecessary parameter in RTStruct creation qurit#64
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhack47 authored and asim-shrestha committed Jan 8, 2023
1 parent 7b4b424 commit bc31474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rt_utils/rtstruct_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_new(dicom_series_path: str) -> RTStruct:

series_data = image_helper.load_sorted_image_series(dicom_series_path)
ds = ds_helper.create_rtstruct_dataset(series_data)
return RTStruct(series_data, ds, warn_only=warn_only)
return RTStruct(series_data, ds)

@staticmethod
def create_from(dicom_series_path: str, rt_struct_path: str, warn_only: bool = False) -> RTStruct:
Expand Down

0 comments on commit bc31474

Please sign in to comment.