supervisely 6.73.383__py3-none-any.whl → 6.73.384__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,10 +171,10 @@ class NiiConverter(VolumeConverter):
171
171
  item_paths = []
172
172
 
173
173
  for item in batch:
174
- # if self._upload_as_links:
175
- # remote_path = self.remote_files_map.get(item.path)
176
- # if remote_path is not None:
177
- # item.custom_data = {"remote_path": remote_path}
174
+ if self._upload_as_links:
175
+ remote_path = self.remote_files_map.get(item.path)
176
+ if remote_path is not None:
177
+ item.custom_data["remote_path"] = remote_path
178
178
 
179
179
  item.path = helper.nifti_to_nrrd(item.path, converted_dir)
180
180
  ext = get_file_ext(item.path)
@@ -197,8 +197,8 @@ class NiiConverter(VolumeConverter):
197
197
  leave=True if progress_cb is None else False,
198
198
  position=1,
199
199
  )
200
- # if item.custom_data is not None:
201
- # volume_meta.update(item.custom_data)
200
+ if item.custom_data is not None:
201
+ volume_meta.update(item.custom_data)
202
202
  api.volume.upload_np(dataset_id, item.name, volume_np, volume_meta, progress_nrrd)
203
203
  info = api.volume.get_info_by_name(dataset_id, item.name)
204
204
  item.volume_meta = info.meta
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: supervisely
3
- Version: 6.73.383
3
+ Version: 6.73.384
4
4
  Summary: Supervisely Python SDK.
5
5
  Home-page: https://github.com/supervisely/supervisely
6
6
  Author: Supervisely
@@ -675,7 +675,7 @@ supervisely/convert/volume/dicom/dicom_converter.py,sha256=Hw4RxU_qvllk6M26udZE6
675
675
  supervisely/convert/volume/dicom/dicom_helper.py,sha256=OrKlyt1hA5BOXKhE1LF1WxBIv3b6t96xRras4OSAuNM,2891
676
676
  supervisely/convert/volume/nii/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
677
677
  supervisely/convert/volume/nii/nii_planes_volume_converter.py,sha256=-3afZ61BqfMVqTWNa19INn7OR7DqiIx_HhfVi1oHTcE,14751
678
- supervisely/convert/volume/nii/nii_volume_converter.py,sha256=i8rs7NeDUofsG9uCOZuDe9hiB3IdMB_4PomUX_xo16U,8633
678
+ supervisely/convert/volume/nii/nii_volume_converter.py,sha256=hcWl3v5pp0pSRbS-fdytCkXZ4tcJEap7dg24-aVv9bU,8619
679
679
  supervisely/convert/volume/nii/nii_volume_helper.py,sha256=CxUuJGYRVs9Uhhdnzzi7ioaV6gnReorIANGTvfab53o,14198
680
680
  supervisely/convert/volume/sly/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
681
681
  supervisely/convert/volume/sly/sly_volume_converter.py,sha256=XmSuxnRqxchG87b244f3h0UHvOt6IkajMquL1drWlCM,5595
@@ -1103,9 +1103,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
1103
1103
  supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
1104
1104
  supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
1105
1105
  supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
1106
- supervisely-6.73.383.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1107
- supervisely-6.73.383.dist-info/METADATA,sha256=n8SddS6fYhdFOQyX4uEm9cX9x-2nOHBmYNtugSvfgWc,35154
1108
- supervisely-6.73.383.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
1109
- supervisely-6.73.383.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
1110
- supervisely-6.73.383.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
1111
- supervisely-6.73.383.dist-info/RECORD,,
1106
+ supervisely-6.73.384.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1107
+ supervisely-6.73.384.dist-info/METADATA,sha256=L3cElAo9KEI1npzy83hd4c-LX9mNztaAX5_o-kv3qVs,35154
1108
+ supervisely-6.73.384.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
1109
+ supervisely-6.73.384.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
1110
+ supervisely-6.73.384.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
1111
+ supervisely-6.73.384.dist-info/RECORD,,