lamin_cli 1.7.1__tar.gz → 1.7.2__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.
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/PKG-INFO +1 -1
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/__init__.py +1 -1
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_save_annotate_files.py +6 -6
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/.github/workflows/build.yml +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/.github/workflows/doc-changes.yml +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/.gitignore +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/.pre-commit-config.yaml +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/LICENSE +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/README.md +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/__main__.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/_annotate.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/_cache.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/_load.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/_migration.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/_save.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/_settings.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/compute/__init__.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/compute/modal.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/lamin_cli/urls.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/noxfile.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/pyproject.toml +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/conftest.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_create_switch_delete_list.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_load.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_login.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_migrate.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_multi_process.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_parse_uid_from_code.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_save_annotate_scripts.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_save_notebooks.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/core/test_save_r_code.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/modal/test_modal.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/notebooks/not-initialized.ipynb +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/notebooks/with-title-and-initialized-consecutive.ipynb +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/notebooks/with-title-and-initialized-non-consecutive.ipynb +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/merely-import-lamindb.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/run-track-and-finish-sync-git.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/run-track-and-finish.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/run-track-with-params.py +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/run-track.R +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/run-track.qmd +0 -0
- {lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/scripts/testscript.py +0 -0
|
@@ -5,7 +5,7 @@ This is the command line interface for interacting with LaminDB & LaminHub.
|
|
|
5
5
|
The interface is defined in `__main__.py`. The root API here is used by LaminR to replicate the CLI functionality.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
__version__ = "1.7.
|
|
8
|
+
__version__ = "1.7.2"
|
|
9
9
|
|
|
10
10
|
from ._save import save
|
|
11
11
|
|
|
@@ -41,7 +41,7 @@ def test_save_and_annotate_local_file():
|
|
|
41
41
|
assert "labeled with project: test_project" in result.stdout.decode()
|
|
42
42
|
assert result.returncode == 0
|
|
43
43
|
|
|
44
|
-
artifact = ln.Artifact.get(key="mytest")
|
|
44
|
+
artifact = ln.Artifact.get(key="mytest", branch=branch)
|
|
45
45
|
assert artifact.branch == branch
|
|
46
46
|
assert project in artifact.projects.all()
|
|
47
47
|
|
|
@@ -90,9 +90,9 @@ def test_save_and_annotate_local_file():
|
|
|
90
90
|
ln.ULabel(name="DMSO", type=ml_split_type).save()
|
|
91
91
|
ln.ULabel(name="IFNG", type=ml_split_type).save()
|
|
92
92
|
ln.Feature(name="perturbation", dtype=ml_split_type).save()
|
|
93
|
-
|
|
93
|
+
# can't find by key here because the artifact is not in the main branch
|
|
94
94
|
result = subprocess.run(
|
|
95
|
-
"lamin annotate --
|
|
95
|
+
f"lamin annotate --uid {artifact.uid} --project test_project --features perturbation=DMSO,IFNG",
|
|
96
96
|
shell=True,
|
|
97
97
|
capture_output=True,
|
|
98
98
|
)
|
|
@@ -100,13 +100,13 @@ def test_save_and_annotate_local_file():
|
|
|
100
100
|
print(result.stderr.decode())
|
|
101
101
|
assert result.returncode == 0
|
|
102
102
|
|
|
103
|
-
artifact = ln.Artifact.get(key="mytest")
|
|
103
|
+
artifact = ln.Artifact.get(key="mytest", branch=branch)
|
|
104
104
|
features = artifact.features.get_values()
|
|
105
105
|
assert features["perturbation"] == {"DMSO", "IFNG"}
|
|
106
106
|
assert project in artifact.projects.all()
|
|
107
|
-
|
|
107
|
+
# can't find by key here because the artifact is not in the main branch
|
|
108
108
|
result = subprocess.run(
|
|
109
|
-
"lamin describe --
|
|
109
|
+
f"lamin describe --uid {artifact.uid}",
|
|
110
110
|
shell=True,
|
|
111
111
|
capture_output=True,
|
|
112
112
|
)
|
|
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
|
{lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/notebooks/with-title-and-initialized-consecutive.ipynb
RENAMED
|
File without changes
|
{lamin_cli-1.7.1 → lamin_cli-1.7.2}/tests/notebooks/with-title-and-initialized-non-consecutive.ipynb
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
|