pathology/transformation_pipeline/ingestion_lib/dicom_gen/wsi_to_dicom/ingest_svs.py [333:354]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        wsi_pyramid_gen_config.MissingPixelSpacingError,
    ) as exp:
      upload_file_list = []
      force_upload_to_main_store_list = []
      dest_uri = self.log_and_get_failure_bucket_path(exp)
    except pydicom.errors.InvalidDicomError as exp:
      upload_file_list = []
      force_upload_to_main_store_list = []
      dest_uri = self.log_and_get_failure_bucket_path(
          ingest_base.GenDicomFailedError(
              exp, ingest_const.ErrorMsgs.WSI_TO_DICOM_INVALID_DICOM_GENERATED
          )
      )

    return ingest_base.GenDicomResult(
        dicom_gen,
        dest_uri,
        ingest_base.DicomInstanceIngestionSets(
            upload_file_list,
            pyramid_level_config,
            force_upload_to_main_store_list,
        ),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pathology/transformation_pipeline/ingestion_lib/dicom_gen/wsi_to_dicom/ingest_wsi_dicom.py [1137:1158]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        wsi_pyramid_gen_config.MissingPixelSpacingError,
    ) as exp:
      upload_file_list = []
      force_upload_to_main_store_list = []
      dest_uri = self.log_and_get_failure_bucket_path(exp)
    except pydicom.errors.InvalidDicomError as exp:
      upload_file_list = []
      force_upload_to_main_store_list = []
      dest_uri = self.log_and_get_failure_bucket_path(
          ingest_base.GenDicomFailedError(
              exp, ingest_const.ErrorMsgs.WSI_TO_DICOM_INVALID_DICOM_GENERATED
          )
      )

    return ingest_base.GenDicomResult(
        dicom_gen,
        dest_uri,
        ingest_base.DicomInstanceIngestionSets(
            upload_file_list,
            pyramid_level_config,
            force_upload_to_main_store_list,
        ),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



