deriva-ml 1.17.7__py3-none-any.whl → 1.17.9__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.
@@ -295,7 +295,6 @@ def upload_directory(model: DerivaModel, directory: Path | str) -> dict[Any, Fil
295
295
  # Now upload the files by creating an upload spec and then calling the uploader.
296
296
  with TemporaryDirectory() as temp_dir:
297
297
  spec_file = Path(temp_dir) / "config.json"
298
-
299
298
  with spec_file.open("w+") as cfile:
300
299
  json.dump(bulk_upload_configuration(model), cfile)
301
300
  uploader = GenericUploader(
@@ -920,8 +920,11 @@ class Execution:
920
920
 
921
921
  # Determine if we will need to rename an existing file as the asset.
922
922
  file_name = Path(file_name)
923
- target_name = Path(rename_file) if file_name.exists() and rename_file else file_name
923
+ if file_name.name == "_implementations.log":
924
+ # There is a funny bug with S3 hatrac if we have the leading _ in the filename.
925
+ file_name = file_name.with_name("-implementations.log")
924
926
 
927
+ target_name = Path(rename_file) if file_name.exists() and rename_file else file_name
925
928
  asset_path = asset_file_path(
926
929
  prefix=self._working_dir,
927
930
  exec_rid=self.execution_rid,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.17.7
3
+ Version: 1.17.9
4
4
  Summary: Utilities to simplify use of Dervia and Pandas to create reproducable ML pipelines
5
5
  Author-email: ISRD <isrd-dev@isi.edu>
6
6
  Requires-Python: >=3.10
@@ -20,10 +20,10 @@ deriva_ml/dataset/aux_classes.py,sha256=e0D83IEDvsSIx79lKoCsD-CcIFmnoinNtzvpdMMQ
20
20
  deriva_ml/dataset/dataset.py,sha256=d860WuCL0-Pz6TyRpGVzhpPWDMco01-I5LT4dZjYxsQ,64728
21
21
  deriva_ml/dataset/dataset_bag.py,sha256=ori3BuYVqfeHkVCjNSKuZh7oMdC6uufsszicpTPODiw,19944
22
22
  deriva_ml/dataset/history.py,sha256=FK5AYYz11p4E4FWMVg4r7UPWOD4eobrq3b3xMjWF59g,3197
23
- deriva_ml/dataset/upload.py,sha256=n1aXSbOx1hghCDxuF8yf03jZmOLMueXL-rSnQMrfHq0,16535
23
+ deriva_ml/dataset/upload.py,sha256=7qDcW-ifrUbh6WTx_3TVs6jzZbbwxboz5X8je07jEww,16534
24
24
  deriva_ml/execution/__init__.py,sha256=1ngO7avVUqSOS1o09OzS8jFp5mf-rrLxEBHzlIm5R28,706
25
25
  deriva_ml/execution/environment.py,sha256=B7nywqxFTRUWgyu8n7rFoKcVC9on422kjeFG2FPQfvg,9302
26
- deriva_ml/execution/execution.py,sha256=l2dAtalhKt042Yi6vjY9N0sJ49kx-wnxbgEGlYaY4jA,46604
26
+ deriva_ml/execution/execution.py,sha256=-l0e5UkRcT6Uo2QAyl84xeesprqIIoMdBiz9v4hNzqc,46817
27
27
  deriva_ml/execution/execution_configuration.py,sha256=Bxfa_JLbJoEkimRgJ0mDbCKyaKnsSn8j7XON0UbiP4I,5684
28
28
  deriva_ml/execution/workflow.py,sha256=wchHbL2_VrROvbNGtEQb4FYxOtQzlqmwR0VyfnadDvE,14795
29
29
  deriva_ml/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -37,9 +37,9 @@ deriva_ml/schema/create_schema.py,sha256=jB6ZIlQVBMRTWOEnQN6XO6gxMNPdN3t4Q3VdDs8
37
37
  deriva_ml/schema/deriva-ml-reference.json,sha256=AEOMIgwKO3dNMMWHb0lxaXyamvfAEbUPh8qw0aAtsUQ,242460
38
38
  deriva_ml/schema/policy.json,sha256=5ykB8nnZFl-oCHzlAwppCFKJHWJFIkYognUMVEanfY8,1826
39
39
  deriva_ml/schema/table_comments_utils.py,sha256=4flCqnZAaqg_uSZ9I18pNUWAZoLfmMCXbmI5uERY5vM,2007
40
- deriva_ml-1.17.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- deriva_ml-1.17.7.dist-info/METADATA,sha256=GYQXaYYxwmOePrjKeQ_O98wdpjc8w9Ak_HwSp-LUF-E,1272
42
- deriva_ml-1.17.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
- deriva_ml-1.17.7.dist-info/entry_points.txt,sha256=XsHSbfp7S1cKMjHoPUdFIaFcp9lHXHS6CV1zb_MEXkg,463
44
- deriva_ml-1.17.7.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
45
- deriva_ml-1.17.7.dist-info/RECORD,,
40
+ deriva_ml-1.17.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ deriva_ml-1.17.9.dist-info/METADATA,sha256=AHXkmVhAcVn9yYVohezGWbF6JQwLyS6SDCNdSe4I8VA,1272
42
+ deriva_ml-1.17.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
+ deriva_ml-1.17.9.dist-info/entry_points.txt,sha256=XsHSbfp7S1cKMjHoPUdFIaFcp9lHXHS6CV1zb_MEXkg,463
44
+ deriva_ml-1.17.9.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
45
+ deriva_ml-1.17.9.dist-info/RECORD,,