in ez_wsi_dicomweb/ml_toolkit/dicom_path.py [0:0]
def GetSeriesPath(self) -> Path:
"""Returns the sub-path for the DICOM Series within this path."""
if self.type in (Type.STORE, Type.STUDY):
raise ValueError(f"Can't get a series path from a {self.type} path.")
return Path(
self.base_address,
self.healthcare_api_version,
self.project_id,
self.location,
self.dataset_id,
self.store_id,
self.study_prefix,
self.study_uid,
self.series_uid,
'',
)