deriva-ml 1.8.0__tar.gz → 1.8.1__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.8.0/src/deriva_ml.egg-info → deriva_ml-1.8.1}/PKG-INFO +1 -1
- deriva_ml-1.8.1/src/deriva_ml/VERSION.py +1 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/dataset.py +1 -1
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/dataset_aux_classes.py +8 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/demo_catalog.py +1 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/deriva_ml_base.py +2 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/execution_configuration.py +2 -2
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/test_functions.py +2 -2
- {deriva_ml-1.8.0 → deriva_ml-1.8.1/src/deriva_ml.egg-info}/PKG-INFO +1 -1
- deriva_ml-1.8.0/src/deriva_ml/VERSION.py +0 -1
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/LICENSE +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/README.md +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/pyproject.toml +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/setup.cfg +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/__init__.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/__init__.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/alter_annotation.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/annotation_temp.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/create_schema.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/table_comments_utils.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/database_model.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/dataset_bag.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/deriva_definitions.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/deriva_model.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/execution.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/execution_environment.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/feature.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/history.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/schema_setup/__init__.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/schema_setup/alter_annotation.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/schema_setup/annotations.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/schema_setup/create_schema.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/schema_setup/policy.json +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/schema_setup/table_comments_utils.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/upload.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml.egg-info/SOURCES.txt +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml.egg-info/dependency_links.txt +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml.egg-info/entry_points.txt +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml.egg-info/requires.txt +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml.egg-info/top_level.txt +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/tests/test_basic_tables.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/tests/test_dataset.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/tests/test_download.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/tests/test_execution.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/tests/test_features.py +0 -0
- {deriva_ml-1.8.0 → deriva_ml-1.8.1}/tests/test_upload.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.8.1"
|
|
@@ -892,7 +892,7 @@ class Dataset:
|
|
|
892
892
|
config_file=spec_file,
|
|
893
893
|
output_dir=tmp_dir,
|
|
894
894
|
defer_download=True,
|
|
895
|
-
timeout=(10,
|
|
895
|
+
timeout=(10, 610),
|
|
896
896
|
envars={"Dataset_RID": dataset.rid},
|
|
897
897
|
)
|
|
898
898
|
minid_page_url = exporter.export()[0] # Get the MINID launch page
|
|
@@ -187,6 +187,14 @@ class DatasetSpec(BaseModel):
|
|
|
187
187
|
|
|
188
188
|
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
189
189
|
|
|
190
|
+
@field_validator("version", mode="before")
|
|
191
|
+
@classmethod
|
|
192
|
+
def version_field_validator(cls, v: Any) -> Any:
|
|
193
|
+
if isinstance(v, dict):
|
|
194
|
+
return DatasetVersion(**v)
|
|
195
|
+
else:
|
|
196
|
+
return v
|
|
197
|
+
|
|
190
198
|
@model_validator(mode="before")
|
|
191
199
|
@classmethod
|
|
192
200
|
def _check_bare_rid(cls, data: Any) -> dict[str, str | bool]:
|
|
@@ -115,10 +115,12 @@ class DerivaML(Dataset):
|
|
|
115
115
|
if working_dir
|
|
116
116
|
else Path.home() / "deriva-ml"
|
|
117
117
|
) / default_workdir
|
|
118
|
+
|
|
118
119
|
self.working_dir.mkdir(parents=True, exist_ok=True)
|
|
119
120
|
self.cache_dir = (
|
|
120
121
|
Path(cache_dir) if cache_dir else Path.home() / "deriva-ml" / "cache"
|
|
121
122
|
)
|
|
123
|
+
|
|
122
124
|
self.cache_dir.mkdir(parents=True, exist_ok=True)
|
|
123
125
|
|
|
124
126
|
# Initialize dataset class.
|
|
@@ -96,12 +96,12 @@ def execution_test(ml_instance):
|
|
|
96
96
|
vc.workflow_type, "ML Demo", description="A ML Workflow that uses Deriva ML API"
|
|
97
97
|
)
|
|
98
98
|
|
|
99
|
-
api_workflow = Workflow(
|
|
99
|
+
api_workflow = ml_instance.add_workflow(Workflow(
|
|
100
100
|
name="Manual Workflow",
|
|
101
101
|
url="https://github.com/informatics-isi-edu/deriva-ml/blob/main/docs/Notebooks/DerivaML%20Execution.ipynb",
|
|
102
102
|
workflow_type="Manual Workflow",
|
|
103
103
|
description="A manual operation",
|
|
104
|
-
)
|
|
104
|
+
))
|
|
105
105
|
|
|
106
106
|
manual_execution = ml_instance.create_execution(
|
|
107
107
|
ExecutionConfiguration(description="Sample Execution", workflow=api_workflow)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.8.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/alter_annotation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deriva_ml-1.8.0 → deriva_ml-1.8.1}/src/deriva_ml/build/lib/schema_setup/table_comments_utils.py
RENAMED
|
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
|