deriva-ml 1.14.33__py3-none-any.whl → 1.14.34__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/feature.py CHANGED
@@ -52,6 +52,7 @@ class FeatureRecord(BaseModel):
52
52
 
53
53
  class Config:
54
54
  arbitrary_types_allowed = True
55
+ extra = "forbid"
55
56
 
56
57
  @classmethod
57
58
  def feature_columns(cls) -> set[Column]:
deriva_ml/run_notebook.py CHANGED
@@ -95,7 +95,7 @@ class DerivaMLRunNotebookCLI(BaseCLI):
95
95
  exit(1)
96
96
 
97
97
  os.environ["DERIVA_HOST"] = args.host
98
- os.environ["DERIVA_CATALOG_ID"] = args.catalog
98
+ os.environ["DERIVA_CATALOG"] = args.catalog
99
99
 
100
100
  # Create a workflow instance for this specific version of the script.
101
101
  # Return an existing workflow if one is found.
@@ -106,14 +106,14 @@ class DerivaMLRunNotebookCLI(BaseCLI):
106
106
  return
107
107
  else:
108
108
  notebook_parameters = (
109
- {"host": args.host, "catalog_id": args.catalog, "catalog": args.catalog}
110
- | {k: v["default"] for k, v in notebook_parameters.items()}
109
+ {k: v["default"] for k, v in notebook_parameters.items()}
110
+ | {"host": args.host, "hostname": args.host, "catalog_id": args.catalog, "catalog": args.catalog}
111
111
  | parameters
112
112
  )
113
113
  print(f"Running notebook {notebook_file.name} with parameters:")
114
114
  for param, value in notebook_parameters.items():
115
115
  print(f" {param}:{value}")
116
- self.run_notebook(notebook_file.resolve(), parameters, kernel=args.kernel, log=args.log_output)
116
+ self.run_notebook(notebook_file.resolve(), parameters, kernel=args.kernel[0], log=args.log_output)
117
117
 
118
118
  def run_notebook(self, notebook_file, parameters, kernel=None, log=False):
119
119
  url, checksum = Workflow.get_url_and_checksum(Path(notebook_file))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.14.33
3
+ Version: 1.14.34
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
@@ -25,10 +25,9 @@ Deriva-ML is a python library to simplify the process of creating and executing
25
25
  using a deriva catalog.
26
26
 
27
27
 
28
- ## Installing the GitHub CLI
28
+ Complete on-line documentation for DerivaML can be found [here](https://informatics-isi-edu.github.io/deriva-ml/)
29
29
 
30
- The script release.sh will create a new release tag in GitHub. This script requires the
31
- GitHUB CLI be installed.
30
+ To get started using DerivaML, you can clone the [model template repository](https://github.com/informatics-isi-edu/deriva-ml-model-template), and modify it to suite your requirements.
32
31
 
33
- See [https://cli.github.com](https://cli.github.com) for instructions on how to install and configure the CLI.
34
32
 
33
+ ## References
@@ -1,7 +1,7 @@
1
1
  deriva_ml/__init__.py,sha256=_aMdxGG4mRTcXodLZLNpXqH8v5uqMbqFUryE9KqNSB8,1158
2
2
  deriva_ml/demo_catalog.py,sha256=JjPAIac_hKPh5krEhGJydjXquRnivi7kQoR8W4Khp-s,14928
3
- deriva_ml/feature.py,sha256=L1XUXLWGnUGCjkxX5KsGu0I8SaUTJG7eDs__yUCWuCY,8445
4
- deriva_ml/run_notebook.py,sha256=BvLtkD_uizukqkAYoSUb1teIfuBWtKKcHSyJoAnAC4c,6496
3
+ deriva_ml/feature.py,sha256=6-aphkxdKjWa9oPSGFWxHcwAc_8hmWj-7I4M178YG5Y,8470
4
+ deriva_ml/run_notebook.py,sha256=XPZPtGDLv0Ej6dcqIwA1dx_ya1Z9kzsP7um473WtLpU,6519
5
5
  deriva_ml/core/__init__.py,sha256=V_i90pc5PB1F4UdOO6DZWzpEFaZDTaPRU-EzKXQ19eI,787
6
6
  deriva_ml/core/base.py,sha256=uG7xyVk12fXXWipusRmaBGplxbdlnN9sIOGAEHWD8i8,61090
7
7
  deriva_ml/core/constants.py,sha256=6wBJ8qMxe-dbCjRGrjUIX-RK0mTWrLDTeUpaVbLFoM8,888
@@ -32,9 +32,9 @@ deriva_ml/schema/create_schema.py,sha256=0ydJSZEg3C3-m8hWPN6k2MoUvm-RWxAlKFzVChx
32
32
  deriva_ml/schema/deriva-ml-reference.json,sha256=AEOMIgwKO3dNMMWHb0lxaXyamvfAEbUPh8qw0aAtsUQ,242460
33
33
  deriva_ml/schema/policy.json,sha256=5ykB8nnZFl-oCHzlAwppCFKJHWJFIkYognUMVEanfY8,1826
34
34
  deriva_ml/schema/table_comments_utils.py,sha256=4flCqnZAaqg_uSZ9I18pNUWAZoLfmMCXbmI5uERY5vM,2007
35
- deriva_ml-1.14.33.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
- deriva_ml-1.14.33.dist-info/METADATA,sha256=IbEngyEfOSCucoY9aRrvK4nuI9zNpTmg-Kh4XZ7fmW0,1065
37
- deriva_ml-1.14.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
- deriva_ml-1.14.33.dist-info/entry_points.txt,sha256=dkf_z7E4V6_3_5Xjsm0hcixNg6ASHDw6NfYQuBvF1Wc,363
39
- deriva_ml-1.14.33.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
40
- deriva_ml-1.14.33.dist-info/RECORD,,
35
+ deriva_ml-1.14.34.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
+ deriva_ml-1.14.34.dist-info/METADATA,sha256=tfSeZzxb5yLv_hivz1uDVLqv2zQrXNjy4zsPS0iJW30,1122
37
+ deriva_ml-1.14.34.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
+ deriva_ml-1.14.34.dist-info/entry_points.txt,sha256=dkf_z7E4V6_3_5Xjsm0hcixNg6ASHDw6NfYQuBvF1Wc,363
39
+ deriva_ml-1.14.34.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
40
+ deriva_ml-1.14.34.dist-info/RECORD,,