deriva-ml 1.13.3__tar.gz → 1.14.26__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 (126) hide show
  1. deriva_ml-1.14.26/.github/release-drafter.yml +26 -0
  2. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/.github/workflows/publish-docs.yml +2 -1
  3. deriva_ml-1.14.26/.github/workflows/release.yml +87 -0
  4. {deriva_ml-1.13.3/src/deriva_ml.egg-info → deriva_ml-1.14.26}/PKG-INFO +5 -4
  5. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/Notebooks/DerivaML Create Notes.ipynb +48 -129
  6. deriva_ml-1.14.26/docs/Notebooks/DerivaML Dataset.ipynb +481 -0
  7. deriva_ml-1.14.26/docs/Notebooks/DerivaML Execution.ipynb +350 -0
  8. deriva_ml-1.14.26/docs/Notebooks/DerivaML Features.ipynb +358 -0
  9. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/Notebooks/DerivaML Ingest.ipynb +51 -164
  10. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/Notebooks/DerivaML Vocabulary.ipynb +158 -73
  11. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/dataset_aux_classes.md +1 -1
  12. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/dataset_bag.md +1 -1
  13. deriva_ml-1.14.26/docs/code-docs/deriva_definitions.md +2 -0
  14. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/deriva_ml_base.md +1 -1
  15. deriva_ml-1.14.26/docs/code-docs/deriva_model.md +2 -0
  16. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/execution_configuration.md +1 -1
  17. deriva_ml-1.14.26/docs/code-docs/upload.md +2 -0
  18. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/datasets.md +3 -2
  19. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/execution-configuration.md +1 -1
  20. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/identifiers.md +1 -2
  21. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/mkdocs.yml +2 -2
  22. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/pyproject.toml +58 -17
  23. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/release.sh +9 -10
  24. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/src/deriva_ml/__init__.py +25 -30
  25. deriva_ml-1.14.26/src/deriva_ml/core/__init__.py +39 -0
  26. deriva_ml-1.14.26/src/deriva_ml/core/base.py +1489 -0
  27. deriva_ml-1.14.26/src/deriva_ml/core/constants.py +36 -0
  28. deriva_ml-1.14.26/src/deriva_ml/core/definitions.py +74 -0
  29. deriva_ml-1.14.26/src/deriva_ml/core/enums.py +222 -0
  30. deriva_ml-1.14.26/src/deriva_ml/core/ermrest.py +288 -0
  31. deriva_ml-1.14.26/src/deriva_ml/core/exceptions.py +28 -0
  32. deriva_ml-1.14.26/src/deriva_ml/core/filespec.py +116 -0
  33. deriva_ml-1.14.26/src/deriva_ml/dataset/__init__.py +4 -0
  34. deriva_ml-1.13.3/src/deriva_ml/dataset_aux_classes.py → deriva_ml-1.14.26/src/deriva_ml/dataset/aux_classes.py +16 -12
  35. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/src/deriva_ml/dataset}/dataset.py +408 -416
  36. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/src/deriva_ml/dataset}/dataset_bag.py +137 -97
  37. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/src/deriva_ml/dataset}/history.py +52 -33
  38. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/src/deriva_ml/dataset}/upload.py +48 -70
  39. deriva_ml-1.14.26/src/deriva_ml/demo_catalog.py +416 -0
  40. deriva_ml-1.14.26/src/deriva_ml/execution/environment.py +290 -0
  41. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/src/deriva_ml/execution}/execution.py +365 -252
  42. deriva_ml-1.14.26/src/deriva_ml/execution/execution_configuration.py +163 -0
  43. deriva_ml-1.13.3/src/deriva_ml/execution_configuration.py → deriva_ml-1.14.26/src/deriva_ml/execution/workflow.py +206 -218
  44. deriva_ml-1.14.26/src/deriva_ml/feature.py +227 -0
  45. deriva_ml-1.13.3/src/deriva_ml/deriva_model.py → deriva_ml-1.14.26/src/deriva_ml/model/catalog.py +113 -132
  46. deriva_ml-1.13.3/src/deriva_ml/database_model.py → deriva_ml-1.14.26/src/deriva_ml/model/database.py +52 -74
  47. deriva_ml-1.14.26/src/deriva_ml/model/sql_mapper.py +44 -0
  48. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/src/deriva_ml/run_notebook.py +19 -11
  49. deriva_ml-1.14.26/src/deriva_ml/schema/__init__.py +3 -0
  50. {deriva_ml-1.13.3/src/deriva_ml/schema_setup → deriva_ml-1.14.26/src/deriva_ml/schema}/annotations.py +31 -22
  51. deriva_ml-1.14.26/src/deriva_ml/schema/check_schema.py +104 -0
  52. {deriva_ml-1.13.3/src/deriva_ml/schema_setup → deriva_ml-1.14.26/src/deriva_ml/schema}/create_schema.py +151 -104
  53. deriva_ml-1.14.26/src/deriva_ml/schema/deriva-ml-reference.json +8525 -0
  54. deriva_ml-1.14.26/src/deriva_ml/schema/table_comments_utils.py +57 -0
  55. {deriva_ml-1.13.3 → deriva_ml-1.14.26/src/deriva_ml.egg-info}/PKG-INFO +5 -4
  56. deriva_ml-1.14.26/src/deriva_ml.egg-info/SOURCES.txt +102 -0
  57. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/src/deriva_ml.egg-info/entry_points.txt +1 -0
  58. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/src/deriva_ml.egg-info/requires.txt +4 -3
  59. deriva_ml-1.14.26/tests/__init__.py +3 -0
  60. deriva_ml-1.14.26/tests/conftest.py +78 -0
  61. deriva_ml-1.14.26/tests/core/__init__.py +0 -0
  62. deriva_ml-1.14.26/tests/core/test_basic_tables.py +14 -0
  63. deriva_ml-1.14.26/tests/core/test_file.py +191 -0
  64. deriva_ml-1.14.26/tests/core/test_vocabulary.py +68 -0
  65. deriva_ml-1.14.26/tests/dataset/__init__.py +0 -0
  66. deriva_ml-1.14.26/tests/dataset/test_dataset_version.py +47 -0
  67. deriva_ml-1.14.26/tests/dataset/test_datasets.py +184 -0
  68. deriva_ml-1.14.26/tests/dataset/test_download.py +148 -0
  69. deriva_ml-1.14.26/tests/execution/__init__.py +0 -0
  70. deriva_ml-1.14.26/tests/execution/test_execution.py +141 -0
  71. deriva_ml-1.14.26/tests/feature/test_features.py +254 -0
  72. deriva_ml-1.14.26/tests/model/__init__.py +0 -0
  73. deriva_ml-1.14.26/tests/model/test_database.py +132 -0
  74. deriva_ml-1.14.26/tests/model/test_models.py +7 -0
  75. deriva_ml-1.14.26/tests/test_utils.py +112 -0
  76. deriva_ml-1.14.26/uv.lock +3700 -0
  77. deriva_ml-1.13.3/docs/Notebooks/DerivaML Dataset.ipynb +0 -863
  78. deriva_ml-1.13.3/docs/Notebooks/DerivaML Execution.ipynb +0 -891
  79. deriva_ml-1.13.3/docs/Notebooks/DerivaML Features.ipynb +0 -998
  80. deriva_ml-1.13.3/docs/code-docs/deriva_model.md +0 -2
  81. deriva_ml-1.13.3/docs/code-docs/upload.md +0 -2
  82. deriva_ml-1.13.3/src/deriva_ml/demo_catalog.py +0 -366
  83. deriva_ml-1.13.3/src/deriva_ml/deriva_definitions.py +0 -372
  84. deriva_ml-1.13.3/src/deriva_ml/deriva_ml_base.py +0 -1046
  85. deriva_ml-1.13.3/src/deriva_ml/execution_environment.py +0 -139
  86. deriva_ml-1.13.3/src/deriva_ml/feature.py +0 -190
  87. deriva_ml-1.13.3/src/deriva_ml/schema_setup/table_comments_utils.py +0 -56
  88. deriva_ml-1.13.3/src/deriva_ml/test_functions.py +0 -141
  89. deriva_ml-1.13.3/src/deriva_ml/test_notebook.ipynb +0 -197
  90. deriva_ml-1.13.3/src/deriva_ml.egg-info/SOURCES.txt +0 -79
  91. deriva_ml-1.13.3/tests/derivaml_test.py +0 -69
  92. deriva_ml-1.13.3/tests/runner.py +0 -35
  93. deriva_ml-1.13.3/tests/test_basic_tables.py +0 -70
  94. deriva_ml-1.13.3/tests/test_dataset.py +0 -201
  95. deriva_ml-1.13.3/tests/test_download.py +0 -56
  96. deriva_ml-1.13.3/tests/test_execution.py +0 -139
  97. deriva_ml-1.13.3/tests/test_features.py +0 -105
  98. deriva_ml-1.13.3/tests/test_upload.py +0 -100
  99. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/.gitignore +0 -0
  100. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/LICENSE +0 -0
  101. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/README.md +0 -0
  102. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/.DS_Store +0 -0
  103. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/assets/ERD.png +0 -0
  104. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/assets/Launcher.png +0 -0
  105. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/assets/copy_minid.png +0 -0
  106. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/assets/deriva-logo.png +0 -0
  107. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/assets/deriva-ml.pdf +0 -0
  108. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/assets/sharing-at-home.pdf +0 -0
  109. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/dataset.md +0 -0
  110. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/execution.md +0 -0
  111. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/code-docs/feature.md +0 -0
  112. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/index.md +0 -0
  113. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/release-notes.md +0 -0
  114. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/deriva_ml_structure.md +0 -0
  115. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/file-assets.md +0 -0
  116. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/install.md +0 -0
  117. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/notebooks.md +0 -0
  118. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/docs/user-guide/overview.md +0 -0
  119. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/setup.cfg +0 -0
  120. {deriva_ml-1.13.3/src/deriva_ml/schema_setup → deriva_ml-1.14.26/src/deriva_ml/execution}/__init__.py +0 -0
  121. {deriva_ml-1.13.3/tests → deriva_ml-1.14.26/src/deriva_ml/model}/__init__.py +0 -0
  122. {deriva_ml-1.13.3/src/deriva_ml/schema_setup → deriva_ml-1.14.26/src/deriva_ml/schema}/policy.json +0 -0
  123. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/src/deriva_ml.egg-info/dependency_links.txt +0 -0
  124. {deriva_ml-1.13.3 → deriva_ml-1.14.26}/src/deriva_ml.egg-info/top_level.txt +0 -0
  125. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/tests}/test-files/execution-parameters.json +0 -0
  126. {deriva_ml-1.13.3/src/deriva_ml → deriva_ml-1.14.26/tests}/test-files/notebook-parameters.json +0 -0
@@ -0,0 +1,26 @@
1
+ name-template: 'v$RESOLVED_VERSION'
2
+ tag-template: 'v$RESOLVED_VERSION'
3
+
4
+ template: |
5
+ ## Changes
6
+
7
+ $CHANGES
8
+
9
+ categories:
10
+ - title: 🚀 Features
11
+ labels: [feature, enhancement]
12
+ - title: 🐛 Bug Fixes
13
+ labels: [bug, fix]
14
+ - title: 🧰 Maintenance
15
+ labels: [chore, refactor, maintenance]
16
+
17
+ change-template: '- $TITLE (#$NUMBER)'
18
+ no-changes-template: '- No notable changes.'
19
+
20
+ exclude-labels:
21
+ - skip-changelog
22
+
23
+ replacers:
24
+ - search: '\[#([0-9]+)\]'
25
+ replace: '[#${1}](https://github.com/${{ GITHUB_REPOSITORY }}/pull/${1})'
26
+
@@ -1,4 +1,4 @@
1
- name: DerivaML
1
+ name: Publish DerivaML Documents
2
2
  on:
3
3
  push:
4
4
  branches:
@@ -9,6 +9,7 @@ permissions:
9
9
  jobs:
10
10
  deploy:
11
11
  runs-on: ubuntu-latest
12
+
12
13
  steps:
13
14
  - uses: actions/checkout@v4
14
15
  - name: Configure Git Credentials
@@ -0,0 +1,87 @@
1
+ name: Build and Release
2
+
3
+
4
+
5
+ on:
6
+ push:
7
+ tags:
8
+ - 'v*.*.*'
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ id-token: write
13
+ contents: read
14
+
15
+ jobs:
16
+ build:
17
+ name: Build Package
18
+ runs-on: ubuntu-latest
19
+ outputs:
20
+ artifact-name: dist
21
+ steps:
22
+ - name: Checkout code
23
+ uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+
27
+ - name: Set up Python
28
+ uses: actions/setup-python@v5
29
+ with:
30
+ python-version: '3.11'
31
+
32
+ - name: Install the latest version of uv
33
+ uses: astral-sh/setup-uv@v6
34
+
35
+ - name: Build package
36
+ run: uv build
37
+
38
+ - name: Upload built dist
39
+ uses: actions/upload-artifact@v4
40
+ with:
41
+ name: dist
42
+ path: dist/*
43
+
44
+ create-release:
45
+ name: Create GitHub Release
46
+ runs-on: ubuntu-latest
47
+ needs: build
48
+ steps:
49
+ - name: Checkout code
50
+ uses: actions/checkout@v4
51
+
52
+ - name: Draft GitHub Release
53
+ uses: release-drafter/release-drafter@v5
54
+ with:
55
+ config-name: release-drafter.yml
56
+ publish: true
57
+ env:
58
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
+
60
+ publish:
61
+ name: Publish to PyPI
62
+ runs-on: ubuntu-latest
63
+ needs: [build, create-release]
64
+ environment: publish # Optional GitHub environment to protect this step
65
+ steps:
66
+ - name: Checkout code
67
+ uses: actions/checkout@v4
68
+ with:
69
+ fetch-depth: 0
70
+
71
+ - name: Set up Python
72
+ uses: actions/setup-python@v5
73
+ with:
74
+ python-version: '3.11'
75
+
76
+ - name: Install the latest version of uv
77
+ uses: astral-sh/setup-uv@v6
78
+
79
+ - name: Download built dist
80
+ uses: actions/download-artifact@v4
81
+ with:
82
+ name: dist
83
+ path: dist/
84
+
85
+ - name: Publish to PyPI
86
+ run: uv publish --verbose
87
+
@@ -1,21 +1,22 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.13.3
3
+ Version: 1.14.26
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
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: bump-my-version
10
- Requires-Dist: deriva~=1.7.7
9
+ Requires-Dist: deriva~=1.7.10
10
+ Requires-Dist: deepdiff
11
11
  Requires-Dist: pandas
12
12
  Requires-Dist: regex~=2024.7.24
13
- Requires-Dist: pydantic>=2.10.6
13
+ Requires-Dist: pydantic>=2.11
14
14
  Requires-Dist: semver>3.0.0
15
15
  Requires-Dist: setuptools>=64
16
16
  Requires-Dist: setuptools-scm>=8.0
17
17
  Requires-Dist: nbstripout
18
18
  Requires-Dist: papermill
19
+ Requires-Dist: pandas-stubs==2.2.3.250527
19
20
  Dynamic: license-file
20
21
 
21
22
  # DerivaML
@@ -2,7 +2,7 @@
2
2
  "cells": [
3
3
  {
4
4
  "cell_type": "markdown",
5
- "id": "94ffee41-4986-4196-b35d-b38b6e10490a",
5
+ "id": "0",
6
6
  "metadata": {},
7
7
  "source": [
8
8
  "DerivaML is a class library built on the Deriva Scientific Asset management system that is designed to help simplify a number of the basic operations associated with building and testing ML libraries based on common toolkits such as TensorFlow. This notebook reviews the basic features of the DerivaML library."
@@ -10,41 +10,31 @@
10
10
  },
11
11
  {
12
12
  "cell_type": "code",
13
- "id": "ff605747-195b-40a1-b915-0e799f8d0748",
14
- "metadata": {
15
- "ExecuteTime": {
16
- "end_time": "2025-02-25T21:48:28.351714Z",
17
- "start_time": "2025-02-25T21:48:28.337684Z"
18
- }
19
- },
13
+ "execution_count": null,
14
+ "id": "1",
15
+ "metadata": {},
16
+ "outputs": [],
20
17
  "source": [
21
18
  "%load_ext autoreload\n",
22
19
  "%autoreload 2"
23
- ],
24
- "outputs": [],
25
- "execution_count": 1
20
+ ]
26
21
  },
27
22
  {
28
23
  "cell_type": "code",
29
- "id": "9493a5ef-86b9-490b-a1d5-f461fdcd68ef",
30
- "metadata": {
31
- "ExecuteTime": {
32
- "end_time": "2025-02-25T21:48:34.419914Z",
33
- "start_time": "2025-02-25T21:48:33.686305Z"
34
- }
35
- },
24
+ "execution_count": null,
25
+ "id": "2",
26
+ "metadata": {},
27
+ "outputs": [],
36
28
  "source": [
37
29
  "import builtins\n",
38
30
  "from demo_catalog import create_demo_catalog, DemoML\n",
39
31
  "from deriva.core.utils.globus_auth_utils import GlobusNativeLogin\n",
40
32
  "from IPython.display import display, Markdown, HTML, IFrame\n"
41
- ],
42
- "outputs": [],
43
- "execution_count": 2
33
+ ]
44
34
  },
45
35
  {
46
36
  "cell_type": "markdown",
47
- "id": "ba06990f-6dc5-4805-9e82-0881a524bfef",
37
+ "id": "3",
48
38
  "metadata": {},
49
39
  "source": [
50
40
  "Set the details for the catalog we want and authenticate to the server if needed."
@@ -52,13 +42,10 @@
52
42
  },
53
43
  {
54
44
  "cell_type": "code",
55
- "id": "9ee79ab7-a3f7-4c69-9c80-336871c13ec2",
56
- "metadata": {
57
- "ExecuteTime": {
58
- "end_time": "2024-11-29T21:26:58.015044Z",
59
- "start_time": "2024-11-29T21:26:57.868191Z"
60
- }
61
- },
45
+ "execution_count": null,
46
+ "id": "4",
47
+ "metadata": {},
48
+ "outputs": [],
62
49
  "source": [
63
50
  "hostname = 'dev.eye-ai.org'\n",
64
51
  "domain_schema = 'demo-schema'\n",
@@ -69,26 +56,14 @@
69
56
  "else:\n",
70
57
  " gnl.login([hostname], no_local_server=True, no_browser=True, refresh_tokens=True, update_bdbag_keychain=True)\n",
71
58
  " print(\"Login Successful\")\n"
72
- ],
73
- "outputs": [
74
- {
75
- "name": "stdout",
76
- "output_type": "stream",
77
- "text": [
78
- "You are already logged in.\n"
79
- ]
80
- }
81
- ],
82
- "execution_count": 6
59
+ ]
83
60
  },
84
61
  {
85
- "metadata": {
86
- "ExecuteTime": {
87
- "end_time": "2025-02-25T21:55:24.227032Z",
88
- "start_time": "2025-02-25T21:55:24.201465Z"
89
- }
90
- },
91
62
  "cell_type": "code",
63
+ "execution_count": null,
64
+ "id": "5",
65
+ "metadata": {},
66
+ "outputs": [],
92
67
  "source": [
93
68
  "import json\n",
94
69
  "import os\n",
@@ -116,112 +91,56 @@
116
91
  "# Usage\n",
117
92
  "notebook_file = get_notebook_filename()\n",
118
93
  "print(f\"Current Notebook: {notebook_file}\")"
119
- ],
120
- "id": "94d9b590bc04d3fa",
121
- "outputs": [
122
- {
123
- "name": "stdout",
124
- "output_type": "stream",
125
- "text": [
126
- "23f783f8\n",
127
- "{'message': 'Forbidden', 'reason': None}\n",
128
- "message\n",
129
- "Current Notebook: Error: string indices must be integers\n"
130
- ]
131
- }
132
- ],
133
- "execution_count": 8
94
+ ]
134
95
  },
135
96
  {
136
97
  "cell_type": "code",
137
- "id": "e9bddcf0-27ea-40b3-a388-b77635586fad",
138
- "metadata": {
139
- "ExecuteTime": {
140
- "end_time": "2024-11-29T21:27:24.811146Z",
141
- "start_time": "2024-11-29T21:27:01.353095Z"
142
- }
143
- },
98
+ "execution_count": null,
99
+ "id": "6",
100
+ "metadata": {},
101
+ "outputs": [],
144
102
  "source": [
145
103
  "test_catalog = create_demo_catalog(hostname, domain_schema)\n",
146
104
  "ml_instance = DemoML(hostname, test_catalog.catalog_id)"
147
- ],
148
- "outputs": [],
149
- "execution_count": 7
105
+ ]
150
106
  },
151
107
  {
152
108
  "cell_type": "markdown",
153
- "id": "92416df1-e3f9-4097-bc19-b24712dc7242",
109
+ "id": "7",
154
110
  "metadata": {},
155
111
  "source": [
156
112
  "Now using TestFeatureClass, we can create some instances of the feature and add it. We must have a exeuction_rid in order to define the feature."
157
113
  ]
158
114
  },
159
115
  {
160
- "metadata": {
161
- "ExecuteTime": {
162
- "end_time": "2024-11-29T21:44:32.359769Z",
163
- "start_time": "2024-11-29T21:44:32.301145Z"
164
- }
165
- },
166
116
  "cell_type": "code",
167
- "source": "display(IFrame(ml_instance.chaise_url('Page'), 500, 500))\n",
168
- "id": "4a7c313481859e78",
169
- "outputs": [
170
- {
171
- "data": {
172
- "text/plain": [
173
- "<IPython.lib.display.IFrame at 0x17b5d6b10>"
174
- ],
175
- "text/html": [
176
- "\n",
177
- " <iframe\n",
178
- " width=\"500\"\n",
179
- " height=\"500\"\n",
180
- " src=\"https://dev.eye-ai.org/chaise/recordset/#631/www%3APage\"\n",
181
- " frameborder=\"0\"\n",
182
- " allowfullscreen\n",
183
- " \n",
184
- " ></iframe>\n",
185
- " "
186
- ]
187
- },
188
- "metadata": {},
189
- "output_type": "display_data"
190
- }
191
- ],
192
- "execution_count": 21
117
+ "execution_count": null,
118
+ "id": "8",
119
+ "metadata": {},
120
+ "outputs": [],
121
+ "source": [
122
+ "display(IFrame(ml_instance.chaise_url('Page'), 500, 500))\n"
123
+ ]
193
124
  },
194
125
  {
195
- "metadata": {
196
- "ExecuteTime": {
197
- "end_time": "2024-11-29T21:49:30.725063Z",
198
- "start_time": "2024-11-29T21:49:29.753350Z"
199
- }
200
- },
201
126
  "cell_type": "code",
202
- "source": "ml_instance.chaise_url('Page')",
203
- "id": "ea200c3f5ff4d39f",
204
- "outputs": [
205
- {
206
- "data": {
207
- "text/plain": [
208
- "'https://dev.eye-ai.org/chaise/recordset/#631/www:Page'"
209
- ]
210
- },
211
- "execution_count": 23,
212
- "metadata": {},
213
- "output_type": "execute_result"
214
- }
215
- ],
216
- "execution_count": 23
127
+ "execution_count": null,
128
+ "id": "9",
129
+ "metadata": {},
130
+ "outputs": [],
131
+ "source": [
132
+ "ml_instance.chaise_url('Page')"
133
+ ]
217
134
  },
218
135
  {
219
- "metadata": {},
220
136
  "cell_type": "code",
221
- "source": "test_catalog.delete_ermrest_catalog(really=True)",
222
- "id": "79aa46cf32c2db00",
137
+ "execution_count": null,
138
+ "id": "10",
139
+ "metadata": {},
223
140
  "outputs": [],
224
- "execution_count": null
141
+ "source": [
142
+ "test_catalog.delete_ermrest_catalog(really=True)"
143
+ ]
225
144
  }
226
145
  ],
227
146
  "metadata": {