deriva-ml 1.14.28__tar.gz → 1.14.29__tar.gz

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.
Files changed (110) hide show
  1. {deriva_ml-1.14.28/src/deriva_ml.egg-info → deriva_ml-1.14.29}/PKG-INFO +1 -1
  2. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/workflow.py +1 -1
  3. {deriva_ml-1.14.28 → deriva_ml-1.14.29/src/deriva_ml.egg-info}/PKG-INFO +1 -1
  4. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/SOURCES.txt +2 -2
  5. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/execution/test_execution.py +12 -7
  6. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.github/release-drafter.yml +0 -0
  7. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.github/workflows/publish-docs.yml +0 -0
  8. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.github/workflows/release.yml +0 -0
  9. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.gitignore +0 -0
  10. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/LICENSE +0 -0
  11. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/README.md +0 -0
  12. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/.DS_Store +0 -0
  13. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Create Notes.ipynb +0 -0
  14. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Dataset.ipynb +0 -0
  15. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Execution.ipynb +0 -0
  16. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Features.ipynb +0 -0
  17. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Ingest.ipynb +0 -0
  18. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Vocabulary.ipynb +0 -0
  19. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/ERD.png +0 -0
  20. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/Launcher.png +0 -0
  21. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/copy_minid.png +0 -0
  22. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/deriva-logo.png +0 -0
  23. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/deriva-ml.pdf +0 -0
  24. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/sharing-at-home.pdf +0 -0
  25. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/dataset.md +0 -0
  26. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/dataset_aux_classes.md +0 -0
  27. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/dataset_bag.md +0 -0
  28. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/deriva_definitions.md +0 -0
  29. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/deriva_ml_base.md +0 -0
  30. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/deriva_model.md +0 -0
  31. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/execution.md +0 -0
  32. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/execution_configuration.md +0 -0
  33. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/feature.md +0 -0
  34. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/upload.md +0 -0
  35. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/index.md +0 -0
  36. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/release-notes.md +0 -0
  37. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/datasets.md +0 -0
  38. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/deriva_ml_structure.md +0 -0
  39. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/execution-configuration.md +0 -0
  40. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/file-assets.md +0 -0
  41. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/identifiers.md +0 -0
  42. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/install.md +0 -0
  43. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/notebooks.md +0 -0
  44. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/overview.md +0 -0
  45. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/mkdocs.yml +0 -0
  46. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/pyproject.toml +0 -0
  47. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/release.sh +0 -0
  48. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/setup.cfg +0 -0
  49. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/__init__.py +0 -0
  50. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/__init__.py +0 -0
  51. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/base.py +0 -0
  52. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/constants.py +0 -0
  53. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/definitions.py +0 -0
  54. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/enums.py +0 -0
  55. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/ermrest.py +0 -0
  56. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/exceptions.py +0 -0
  57. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/filespec.py +0 -0
  58. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/__init__.py +0 -0
  59. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/aux_classes.py +0 -0
  60. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/dataset.py +0 -0
  61. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/dataset_bag.py +0 -0
  62. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/history.py +0 -0
  63. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/upload.py +0 -0
  64. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/demo_catalog.py +0 -0
  65. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/__init__.py +0 -0
  66. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/environment.py +0 -0
  67. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/execution.py +0 -0
  68. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/execution_configuration.py +0 -0
  69. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/feature.py +0 -0
  70. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/__init__.py +0 -0
  71. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/catalog.py +0 -0
  72. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/database.py +0 -0
  73. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/sql_mapper.py +0 -0
  74. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/run_notebook.py +0 -0
  75. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/__init__.py +0 -0
  76. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/annotations.py +0 -0
  77. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/check_schema.py +0 -0
  78. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/create_schema.py +0 -0
  79. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/deriva-ml-reference.json +0 -0
  80. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/policy.json +0 -0
  81. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/table_comments_utils.py +0 -0
  82. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/dependency_links.txt +0 -0
  83. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/entry_points.txt +0 -0
  84. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/requires.txt +0 -0
  85. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/top_level.txt +0 -0
  86. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/__init__.py +0 -0
  87. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/conftest.py +0 -0
  88. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/__init__.py +0 -0
  89. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/test_basic_tables.py +0 -0
  90. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/test_file.py +0 -0
  91. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/test_vocabulary.py +0 -0
  92. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/__init__.py +0 -0
  93. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/demo-catalog-schema.json +0 -0
  94. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/deriva-ml-reference.json +0 -0
  95. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/eye-ai-catalog-schema.json +0 -0
  96. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_dataset_export.py +0 -0
  97. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_dataset_version.py +0 -0
  98. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_datasets.py +0 -0
  99. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_download.py +0 -0
  100. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/execution/__init__.py +0 -0
  101. /deriva_ml-1.14.28/tests/execution/workflow_test.ipynb → /deriva_ml-1.14.29/tests/execution/workflow-test.ipynb +0 -0
  102. /deriva_ml-1.14.28/tests/execution/workflow-script.py → /deriva_ml-1.14.29/tests/execution/workflow-test.py +0 -0
  103. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/feature/test_features.py +0 -0
  104. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/model/__init__.py +0 -0
  105. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/model/test_database.py +0 -0
  106. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/model/test_models.py +0 -0
  107. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/test-files/execution-parameters.json +0 -0
  108. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/test-files/notebook-parameters.json +0 -0
  109. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/test_utils.py +0 -0
  110. {deriva_ml-1.14.28 → deriva_ml-1.14.29}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.14.28
3
+ Version: 1.14.29
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
@@ -386,7 +386,7 @@ class Workflow(BaseModel):
386
386
  """Get SHA-1 hash of latest commit of the file in the repository"""
387
387
 
388
388
  result = subprocess.run(
389
- ["git", "log", "-n", "1", "--pretty=format:%H--", executable_path],
389
+ ["git", "log", "-n", "1", "--pretty=format:%H", executable_path],
390
390
  cwd=repo_root,
391
391
  capture_output=True,
392
392
  text=True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.14.28
3
+ Version: 1.14.29
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
@@ -98,8 +98,8 @@ tests/dataset/test_datasets.py
98
98
  tests/dataset/test_download.py
99
99
  tests/execution/__init__.py
100
100
  tests/execution/test_execution.py
101
- tests/execution/workflow-script.py
102
- tests/execution/workflow_test.ipynb
101
+ tests/execution/workflow-test.ipynb
102
+ tests/execution/workflow-test.py
103
103
  tests/feature/test_features.py
104
104
  tests/model/__init__.py
105
105
  tests/model/test_database.py
@@ -23,11 +23,11 @@ class TestWorkflow:
23
23
  ml_instance = test_ml
24
24
  ml_instance.add_term(vc.asset_type, "Test Model", description="Model for our Test workflow")
25
25
  ml_instance.add_term(vc.workflow_type, "Test Workflow", description="A ML Workflow that uses Deriva ML API")
26
- print("Running workflow-script.py ...")
26
+ print("Running workflow-test.py ...")
27
27
  result = subprocess.run(
28
28
  [
29
29
  "python",
30
- "execution/workflow-script.py",
30
+ "execution/workflow-test.py",
31
31
  ml_instance.catalog.deriva_server.server,
32
32
  ml_instance.catalog_id,
33
33
  ],
@@ -45,19 +45,24 @@ class TestWorkflow:
45
45
  print("checksum", checksum)
46
46
  print("is_notebook", is_notebook)
47
47
  assert is_notebook == "False"
48
- assert url.endswith("workflow-script.py")
48
+ assert url.endswith("workflow-test.py")
49
49
 
50
50
  def test_workflow_creation_notebook(self, test_ml):
51
51
  ml_instance = test_ml
52
52
  ml_instance.add_term(vc.asset_type, "Test Model", description="Model for our Test workflow")
53
53
  ml_instance.add_term(vc.workflow_type, "Test Workflow", description="A ML Workflow that uses Deriva ML API")
54
- print("Running workflow-script.py ...")
54
+ print("Running notebook...")
55
55
  result = subprocess.run(
56
- ["runnotebook", "execution/workflow-script.ipnb", "localhost", ml_instance.catalog_id],
56
+ [
57
+ "deriva-ml-run-notebook",
58
+ "execution/workflow-test.ipnb",
59
+ "--host",
60
+ "localhost",
61
+ ],
57
62
  capture_output=True,
58
63
  text=True,
59
64
  )
60
- print(result.stdout)
65
+ print(result)
61
66
  m = re.match(".*url='(?P<url>.*?)'", result.stdout)
62
67
  url = m["url"]
63
68
  m = re.match(".*checksum='(?P<checksum>.*?)'", result.stdout)
@@ -68,7 +73,7 @@ class TestWorkflow:
68
73
  print("checksum", checksum)
69
74
  print("is_notebook", is_notebook)
70
75
  assert is_notebook == "False"
71
- assert url.endswith("workflow-script.py")
76
+ assert url.endswith("workflow-test.py")
72
77
 
73
78
 
74
79
  class TestExecution:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes