lamindb 0.59.1__py3-none-any.whl → 0.59.3__py3-none-any.whl

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.
lamindb/__init__.py CHANGED
@@ -53,7 +53,7 @@ Static classes & modules:
53
53
 
54
54
  """
55
55
 
56
- __version__ = "0.59.1" # denote a release candidate for 0.1.0 with 0.1rc1
56
+ __version__ = "0.59.3" # denote a release candidate for 0.1.0 with 0.1rc1
57
57
 
58
58
  import os as _os
59
59
 
lamindb/_parents.py CHANGED
@@ -277,7 +277,7 @@ def _record_label(record: Registry, field: Optional[str] = None):
277
277
  name = f'{record.transform.name.replace("&", "&")}'
278
278
  return (
279
279
  rf'<{TRANSFORM_EMOJIS.get(str(record.transform.type), "💫")} {name}<BR/><FONT COLOR="GREY" POINT-SIZE="10"' # noqa
280
- rf' FACE="Monospace">uid={record.uid}<BR/>type={record.transform.type},'
280
+ rf' FACE="Monospace">uid={record.transform.uid}<BR/>type={record.transform.type},' # noqa
281
281
  rf" user={record.created_by.name}<BR/>run_at={format_field_value(record.run_at)}</FONT>>" # noqa
282
282
  )
283
283
  elif isinstance(record, Transform):
@@ -547,7 +547,7 @@ class AnnDataAccessorSubset(_AnnDataAttrsMixin):
547
547
  prepare_indices = None
548
548
  if self.indices is not None:
549
549
  oidx = self.indices[0]
550
- if oidx != slice(None):
550
+ if isinstance(oidx, np.ndarray) or oidx != slice(None):
551
551
  prepare_indices = oidx, slice(None)
552
552
  return AnnDataRawAccessor(
553
553
  self.storage["raw"],
@@ -575,7 +575,7 @@ class AnnDataRawAccessor(AnnDataAccessorSubset):
575
575
 
576
576
  if attrs_keys is None:
577
577
  attrs_keys = {}
578
- if isinstance(var_raw, (h5py.Dataset, zarr.Array)):
578
+ if isinstance(var_raw, ArrayTypes):
579
579
  attrs_keys["var"] = list(var_raw.dtype.fields.keys())
580
580
  else:
581
581
  # for some reason list(var_raw.keys()) is very slow for zarr
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lamindb
3
- Version: 0.59.1
3
+ Version: 0.59.3
4
4
  Summary: A data framework for biology.
5
5
  Author-email: Lamin Labs <open-source@lamin.ai>
6
6
  Requires-Python: >=3.8
@@ -9,8 +9,8 @@ Classifier: Programming Language :: Python :: 3.8
9
9
  Classifier: Programming Language :: Python :: 3.9
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Requires-Dist: lnschema_core==0.54.0
12
- Requires-Dist: lamindb_setup==0.57.0
13
- Requires-Dist: lamin_utils==0.11.5
12
+ Requires-Dist: lamindb_setup==0.57.1
13
+ Requires-Dist: lamin_utils==0.11.7
14
14
  Requires-Dist: lamin_cli==0.1.2
15
15
  Requires-Dist: rapidfuzz
16
16
  Requires-Dist: pyarrow
@@ -20,11 +20,13 @@ Requires-Dist: anndata>=0.8.0,<=0.10.2
20
20
  Requires-Dist: fsspec
21
21
  Requires-Dist: pandas
22
22
  Requires-Dist: graphviz
23
+ Requires-Dist: psycopg2-binary
23
24
  Requires-Dist: botocore==1.31.17 ; extra == "aws"
24
25
  Requires-Dist: urllib3<2 ; extra == "aws"
25
26
  Requires-Dist: boto3==1.28.17 ; extra == "aws"
26
27
  Requires-Dist: aiobotocore==2.5.4 ; extra == "aws"
27
28
  Requires-Dist: fsspec[s3]==2023.9.0 ; extra == "aws"
29
+ Requires-Dist: s3fs>=2023.1.0 ; extra == "aws"
28
30
  Requires-Dist: lnschema_bionty==0.34.0 ; extra == "bionty"
29
31
  Requires-Dist: pandas<2 ; extra == "dev"
30
32
  Requires-Dist: pre-commit ; extra == "dev"
@@ -35,14 +37,13 @@ Requires-Dist: coverage ; extra == "dev"
35
37
  Requires-Dist: pytest-cov ; extra == "dev"
36
38
  Requires-Dist: nbproject_test>=0.3.0 ; extra == "dev"
37
39
  Requires-Dist: faker-biology ; extra == "dev"
40
+ Requires-Dist: lamin_vault ; extra == "dev"
38
41
  Requires-Dist: django-schema-graph ; extra == "erdiagram"
39
42
  Requires-Dist: readfcs>=1.1.7 ; extra == "fcs"
40
43
  Requires-Dist: fsspec[gs]==2023.9.0 ; extra == "gcp"
41
44
  Requires-Dist: nbproject==0.9.2 ; extra == "jupyter"
42
45
  Requires-Dist: nbstripout ; extra == "jupyter"
43
46
  Requires-Dist: nbconvert ; extra == "jupyter"
44
- Requires-Dist: psycopg2-binary ; extra == "postgres"
45
- Requires-Dist: lamin_vault ; extra == "postgres"
46
47
  Requires-Dist: zarr>=2.16.0 ; extra == "zarr"
47
48
  Project-URL: Home, https://github.com/laminlabs/lamindb
48
49
  Provides-Extra: aws
@@ -52,7 +53,6 @@ Provides-Extra: erdiagram
52
53
  Provides-Extra: fcs
53
54
  Provides-Extra: gcp
54
55
  Provides-Extra: jupyter
55
- Provides-Extra: postgres
56
56
  Provides-Extra: zarr
57
57
 
58
58
  [![Stars](https://img.shields.io/github/stars/laminlabs/lamindb?logo=GitHub&color=yellow)](https://github.com/laminlabs/lamindb)
@@ -1,4 +1,4 @@
1
- lamindb/__init__.py,sha256=X4cQsVQClIneceQVrlAI0j-Y0YDDqygnxZhrkwy2eCA,2870
1
+ lamindb/__init__.py,sha256=5uuMGrceLG-E0akIFHfSQeEZCvMj_1PD34qwDb1rQvc,2870
2
2
  lamindb/_dataset.py,sha256=Kqln9JKAIWtNmXq_Gmi9jruN4DWt4OcqDV-aB1-bPZk,15894
3
3
  lamindb/_delete.py,sha256=wiYmYnvIEHrDdmw1NiXyfCY9mBt-FI5XNFi5jyR_mkA,1968
4
4
  lamindb/_feature.py,sha256=BTss2B534SRbv1uj1MFydcrOxL-RyTsX5qMkdlbUy30,5562
@@ -6,7 +6,7 @@ lamindb/_feature_set.py,sha256=G63pwauDQ7jg4ydFCQLhu-lgO6tm56iQwUdRuNHeKHY,9233
6
6
  lamindb/_file.py,sha256=ceS4CKGsZwEgvUPPyjbJ0YgHWU5Jm7KNVhHy9eP7Gp8,38680
7
7
  lamindb/_filter.py,sha256=Xf6nAm8BXT8BgX6801KqOZfa73GVAx1oPFNb6rNymIo,1013
8
8
  lamindb/_from_values.py,sha256=GitpmKOqV6YHJggaCnJgGsRIHI_bnuLRVE2oo9W-SgE,11613
9
- lamindb/_parents.py,sha256=uMElAM7qL_iYflG4vyP5HeeQ5-Dj-XyDQQB6VrUpwFk,13801
9
+ lamindb/_parents.py,sha256=qUFg_5kAr2VzsEbHsSnr3i1PgzjMMr1h00dQ-ugkFyU,13819
10
10
  lamindb/_query_manager.py,sha256=MXueabWHqft7GWNkzmWbhfTqdk-0mKU7nWrhXG6wpYQ,3693
11
11
  lamindb/_query_set.py,sha256=BYQlCpt11eodlVVV5BbOQ98h7h0gq-J4Pz0ZccgjqME,10206
12
12
  lamindb/_registry.py,sha256=6AUwb7tJRXyk2XOsp-6KeOgzkHjTQQAbaA10a7ZxuWY,16352
@@ -35,13 +35,13 @@ lamindb/dev/datasets/_core.py,sha256=_K1HuMjN8cwf8YWpepIXwHoNlepIuH7kqe7wIGBdcx0
35
35
  lamindb/dev/datasets/_fake.py,sha256=S8mNho-oSh1M9x9oOSsUBLLHmBAegsOLlFk6LnF81EA,942
36
36
  lamindb/dev/storage/__init__.py,sha256=mFvsMkAHHmO_xTM1UI-WGynDObnH0RCI2TXtFGhYfv8,392
37
37
  lamindb/dev/storage/_anndata_sizes.py,sha256=0XVzA6AQeVGPaGPrhGusKyxFgFjeo3qSN29hxb8D5E8,993
38
- lamindb/dev/storage/_backed_access.py,sha256=IWKLxvSWvzXGgysx1FLhfQ3mEoTxhtQXCvqBxpIpucw,22150
38
+ lamindb/dev/storage/_backed_access.py,sha256=JeEdrth4BOTo5Fa_bzHWaApJzbRhT_gbrhRRqLjZKto,22166
39
39
  lamindb/dev/storage/_zarr.py,sha256=7W1Jos1QOOF3f41uML_arQoDTNPZVpRyP2m3SLWaCAo,2766
40
40
  lamindb/dev/storage/file.py,sha256=UHwm4LeK22J4pDuMjwLSqORlFEIwm6WWxWN-IfDuocc,8005
41
41
  lamindb/dev/storage/object.py,sha256=KGuOwwYuN2yCJxTXn9v0LanC0fjKwy_62P-WksHcf40,1140
42
42
  lamindb/setup/__init__.py,sha256=8-0F2C4Glx23-b8-D_1CBGgRBM5PppVhazhoXZYOLsg,275
43
43
  lamindb/setup/dev/__init__.py,sha256=tBty426VGF2PGqqt2XuNU-WgvOrbOp1aZBDowjLuzgA,242
44
- lamindb-0.59.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
- lamindb-0.59.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
46
- lamindb-0.59.1.dist-info/METADATA,sha256=0dHJUJX_8ujuPyHP9dkj_9G7U1iI-s0_kfQ0GVAYaAo,3119
47
- lamindb-0.59.1.dist-info/RECORD,,
44
+ lamindb-0.59.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
+ lamindb-0.59.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
46
+ lamindb-0.59.3.dist-info/METADATA,sha256=pdR9Zc2aawpd0Qg9u7JZlu8dSh4ep68wxA3p1zefNyQ,3114
47
+ lamindb-0.59.3.dist-info/RECORD,,