deriva-ml 1.14.41__tar.gz → 1.14.42__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.41 → deriva_ml-1.14.42}/PKG-INFO +1 -1
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/execution/workflow.py +2 -4
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml.egg-info/PKG-INFO +1 -1
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/.github/release-drafter.yml +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/.github/workflows/publish-docs.yml +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/.github/workflows/release.yml +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/.gitignore +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/LICENSE +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/README.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/.DS_Store +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/Notebooks/DerivaML Create Notes.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/Notebooks/DerivaML Dataset.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/Notebooks/DerivaML Execution.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/Notebooks/DerivaML Features.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/Notebooks/DerivaML Ingest.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/Notebooks/DerivaML Vocabulary.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/assets/ERD.png +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/assets/Launcher.png +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/assets/copy_minid.png +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/assets/deriva-logo.png +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/assets/deriva-ml.pdf +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/assets/sharing-at-home.pdf +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/dataset.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/dataset_aux_classes.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/dataset_bag.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/deriva_definitions.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/deriva_ml_base.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/deriva_model.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/execution.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/execution_configuration.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/feature.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/code-docs/upload.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/index.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/release-notes.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/datasets.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/deriva_ml_structure.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/execution-configuration.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/file-assets.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/identifiers.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/install.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/notebooks.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/docs/user-guide/overview.md +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/mkdocs.yml +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/pyproject.toml +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/setup.cfg +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/bump_version.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/base.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/constants.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/definitions.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/enums.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/ermrest.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/exceptions.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/core/filespec.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/dataset/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/dataset/aux_classes.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/dataset/dataset.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/dataset/dataset_bag.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/dataset/history.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/dataset/upload.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/demo_catalog.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/execution/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/execution/environment.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/execution/execution.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/execution/execution_configuration.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/feature.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/install_kernel.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/model/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/model/catalog.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/model/database.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/model/sql_mapper.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/run_notebook.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/annotations.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/check_schema.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/create_schema.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/deriva-ml-reference.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/policy.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml/schema/table_comments_utils.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml.egg-info/SOURCES.txt +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml.egg-info/dependency_links.txt +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml.egg-info/entry_points.txt +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml.egg-info/requires.txt +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/src/deriva_ml.egg-info/top_level.txt +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/conftest.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/core/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/core/test_basic_tables.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/core/test_file.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/core/test_vocabulary.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/demo-catalog-schema.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/deriva-ml-reference.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/eye-ai-catalog-schema.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/test_dataset_export.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/test_dataset_version.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/test_datasets.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/dataset/test_download.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/execution/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/execution/test_execution.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/execution/workflow-test.ipynb +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/execution/workflow-test.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/feature/test_features.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/model/__init__.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/model/test_database.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/model/test_models.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/test-files/execution-parameters.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/test-files/notebook-parameters.json +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/tests/test_utils.py +0 -0
- {deriva_ml-1.14.41 → deriva_ml-1.14.42}/uv.lock +0 -0
|
@@ -121,7 +121,7 @@ class Workflow(BaseModel):
|
|
|
121
121
|
if "DERIVA_ML_WORKFLOW_URL" in os.environ:
|
|
122
122
|
self.url = os.environ["DERIVA_ML_WORKFLOW_URL"]
|
|
123
123
|
self.checksum = os.environ["DERIVA_ML_WORKFLOW_CHECKSUM"]
|
|
124
|
-
self.git_root = Workflow._get_git_root(Path(os.environ["
|
|
124
|
+
self.git_root = Workflow._get_git_root(Path(os.environ["DERIVA_ML_NOTEBOOK_PATH"]))
|
|
125
125
|
self.is_notebook = True
|
|
126
126
|
|
|
127
127
|
if not self.url:
|
|
@@ -322,10 +322,8 @@ class Workflow(BaseModel):
|
|
|
322
322
|
# Being called from the command line interpreter.
|
|
323
323
|
filename = Path.cwd() / Path("REPL")
|
|
324
324
|
# Get the caller's filename, which is two up the stack from here.
|
|
325
|
-
elif "PYTEST_CURRENT_TEST" in os.environ:
|
|
325
|
+
elif (not filename.exists()) and "PYTEST_CURRENT_TEST" in os.environ:
|
|
326
326
|
filename = Path.cwd() / Path("pytest")
|
|
327
|
-
else:
|
|
328
|
-
raise DerivaMLException("Looking for caller failed") # Stack is too shallow
|
|
329
327
|
return filename, is_notebook
|
|
330
328
|
|
|
331
329
|
@staticmethod
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|