deriva-ml 1.14.40__py3-none-any.whl → 1.14.41__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.
deriva_ml/run_notebook.py CHANGED
@@ -76,7 +76,7 @@ class DerivaMLRunNotebookCLI(BaseCLI):
76
76
  def main(self):
77
77
  """Parse arguments and set up execution environment."""
78
78
  args = self.parse_cli()
79
- notebook_file = args.notebook_file
79
+ notebook_file: Path = args.notebook_file
80
80
  parameter_file = args.file
81
81
 
82
82
  # args.parameter is now a list of [KEY, VALUE] lists
@@ -115,11 +115,11 @@ class DerivaMLRunNotebookCLI(BaseCLI):
115
115
  print(f" {param}:{value}")
116
116
  self.run_notebook(notebook_file.resolve(), parameters, kernel=args.kernel[0], log=args.log_output)
117
117
 
118
- def run_notebook(self, notebook_file, parameters, kernel=None, log=False):
118
+ def run_notebook(self, notebook_file: Path, parameters, kernel=None, log=False):
119
119
  url, checksum = Workflow.get_url_and_checksum(Path(notebook_file))
120
120
  os.environ["DERIVA_ML_WORKFLOW_URL"] = url
121
121
  os.environ["DERIVA_ML_WORKFLOW_CHECKSUM"] = checksum
122
- os.environ["DERIVA_ML_NOTEBOOK_PATH"] = notebook_file
122
+ os.environ["DERIVA_ML_NOTEBOOK_PATH"] = notebook_file.as_posix()
123
123
 
124
124
  with tempfile.TemporaryDirectory() as tmpdirname:
125
125
  notebook_output = Path(tmpdirname) / Path(notebook_file).name
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.14.40
3
+ Version: 1.14.41
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
@@ -3,7 +3,7 @@ deriva_ml/bump_version.py,sha256=KpHmkpEztly2QHYL4dyaIGdEMyP4F0D89rawyh5EDTs,398
3
3
  deriva_ml/demo_catalog.py,sha256=JjPAIac_hKPh5krEhGJydjXquRnivi7kQoR8W4Khp-s,14928
4
4
  deriva_ml/feature.py,sha256=6-aphkxdKjWa9oPSGFWxHcwAc_8hmWj-7I4M178YG5Y,8470
5
5
  deriva_ml/install_kernel.py,sha256=b62XY0SLViYO_Zye5r1Pl9qhYZyu_fk4KAO8NS1pxgM,2165
6
- deriva_ml/run_notebook.py,sha256=rzTruz0HFTuBpuLs2de1Gm1sYS2YE9j9q7eeE981cVs,6581
6
+ deriva_ml/run_notebook.py,sha256=QDeYKv8Ug9lx36e-CMogDu1Y4omOFlkTXvMxLriulJQ,6604
7
7
  deriva_ml/core/__init__.py,sha256=V_i90pc5PB1F4UdOO6DZWzpEFaZDTaPRU-EzKXQ19eI,787
8
8
  deriva_ml/core/base.py,sha256=5H0GEMlKXUVRXBYXJQ25kxdscB6uX1wIKSUAM_CBOhI,61228
9
9
  deriva_ml/core/constants.py,sha256=6wBJ8qMxe-dbCjRGrjUIX-RK0mTWrLDTeUpaVbLFoM8,888
@@ -34,9 +34,9 @@ deriva_ml/schema/create_schema.py,sha256=IrnSfN0ufS3M31MD8M6ZWyfJidKllLPqDFBUDAI
34
34
  deriva_ml/schema/deriva-ml-reference.json,sha256=AEOMIgwKO3dNMMWHb0lxaXyamvfAEbUPh8qw0aAtsUQ,242460
35
35
  deriva_ml/schema/policy.json,sha256=5ykB8nnZFl-oCHzlAwppCFKJHWJFIkYognUMVEanfY8,1826
36
36
  deriva_ml/schema/table_comments_utils.py,sha256=4flCqnZAaqg_uSZ9I18pNUWAZoLfmMCXbmI5uERY5vM,2007
37
- deriva_ml-1.14.40.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
38
- deriva_ml-1.14.40.dist-info/METADATA,sha256=LdGCdHNg-xBkBmZOat0Z8h97_7OLXzqsQU4sitNBeh0,1122
39
- deriva_ml-1.14.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- deriva_ml-1.14.40.dist-info/entry_points.txt,sha256=XsHSbfp7S1cKMjHoPUdFIaFcp9lHXHS6CV1zb_MEXkg,463
41
- deriva_ml-1.14.40.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
42
- deriva_ml-1.14.40.dist-info/RECORD,,
37
+ deriva_ml-1.14.41.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
38
+ deriva_ml-1.14.41.dist-info/METADATA,sha256=WTixw85aw7Qz8eFwBUcCCnf3WtjrLqng9XTc9S5ToZg,1122
39
+ deriva_ml-1.14.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ deriva_ml-1.14.41.dist-info/entry_points.txt,sha256=XsHSbfp7S1cKMjHoPUdFIaFcp9lHXHS6CV1zb_MEXkg,463
41
+ deriva_ml-1.14.41.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
42
+ deriva_ml-1.14.41.dist-info/RECORD,,