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.
- {deriva_ml-1.14.28/src/deriva_ml.egg-info → deriva_ml-1.14.29}/PKG-INFO +1 -1
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/workflow.py +1 -1
- {deriva_ml-1.14.28 → deriva_ml-1.14.29/src/deriva_ml.egg-info}/PKG-INFO +1 -1
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/SOURCES.txt +2 -2
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/execution/test_execution.py +12 -7
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.github/release-drafter.yml +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.github/workflows/publish-docs.yml +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.github/workflows/release.yml +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/.gitignore +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/LICENSE +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/README.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/.DS_Store +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Create Notes.ipynb +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Dataset.ipynb +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Execution.ipynb +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Features.ipynb +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Ingest.ipynb +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/Notebooks/DerivaML Vocabulary.ipynb +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/ERD.png +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/Launcher.png +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/copy_minid.png +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/deriva-logo.png +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/deriva-ml.pdf +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/assets/sharing-at-home.pdf +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/dataset.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/dataset_aux_classes.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/dataset_bag.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/deriva_definitions.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/deriva_ml_base.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/deriva_model.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/execution.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/execution_configuration.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/feature.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/code-docs/upload.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/index.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/release-notes.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/datasets.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/deriva_ml_structure.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/execution-configuration.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/file-assets.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/identifiers.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/install.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/notebooks.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/docs/user-guide/overview.md +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/mkdocs.yml +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/pyproject.toml +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/release.sh +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/setup.cfg +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/base.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/constants.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/definitions.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/enums.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/ermrest.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/exceptions.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/core/filespec.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/aux_classes.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/dataset.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/dataset_bag.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/history.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/dataset/upload.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/demo_catalog.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/environment.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/execution.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/execution/execution_configuration.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/feature.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/catalog.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/database.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/model/sql_mapper.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/run_notebook.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/annotations.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/check_schema.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/create_schema.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/deriva-ml-reference.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/policy.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml/schema/table_comments_utils.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/dependency_links.txt +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/entry_points.txt +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/requires.txt +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/src/deriva_ml.egg-info/top_level.txt +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/conftest.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/test_basic_tables.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/test_file.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/core/test_vocabulary.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/demo-catalog-schema.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/deriva-ml-reference.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/eye-ai-catalog-schema.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_dataset_export.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_dataset_version.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_datasets.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/dataset/test_download.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/execution/__init__.py +0 -0
- /deriva_ml-1.14.28/tests/execution/workflow_test.ipynb → /deriva_ml-1.14.29/tests/execution/workflow-test.ipynb +0 -0
- /deriva_ml-1.14.28/tests/execution/workflow-script.py → /deriva_ml-1.14.29/tests/execution/workflow-test.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/feature/test_features.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/model/__init__.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/model/test_database.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/model/test_models.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/test-files/execution-parameters.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/test-files/notebook-parameters.json +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/tests/test_utils.py +0 -0
- {deriva_ml-1.14.28 → deriva_ml-1.14.29}/uv.lock +0 -0
|
@@ -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
|
|
389
|
+
["git", "log", "-n", "1", "--pretty=format:%H", executable_path],
|
|
390
390
|
cwd=repo_root,
|
|
391
391
|
capture_output=True,
|
|
392
392
|
text=True,
|
|
@@ -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-
|
|
102
|
-
tests/execution/
|
|
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-
|
|
26
|
+
print("Running workflow-test.py ...")
|
|
27
27
|
result = subprocess.run(
|
|
28
28
|
[
|
|
29
29
|
"python",
|
|
30
|
-
"execution/workflow-
|
|
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-
|
|
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
|
|
54
|
+
print("Running notebook...")
|
|
55
55
|
result = subprocess.run(
|
|
56
|
-
[
|
|
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
|
|
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-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|