zombie-squirrel 0.7.1__py3-none-any.whl → 0.7.2__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.
@@ -3,7 +3,7 @@
3
3
  Provides functions to fetch and cache project names, subject IDs, and asset
4
4
  metadata from the AIND metadata database with support for multiple backends."""
5
5
 
6
- __version__ = "0.7.1"
6
+ __version__ = "0.7.2"
7
7
 
8
8
  from zombie_squirrel.squirrels import ( # noqa: F401
9
9
  asset_basics,
@@ -218,10 +218,11 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
218
218
 
219
219
  # Get the CO asset ID
220
220
  other_identifiers = record.get("other_identifiers", {})
221
+ code_ocean = None
221
222
  if other_identifiers:
222
- code_ocean = other_identifiers.get("Code Ocean", None)[0]
223
- else:
224
- code_ocean = None
223
+ co_list = other_identifiers.get("Code Ocean", None)
224
+ if co_list:
225
+ code_ocean = co_list[0]
225
226
 
226
227
  flat_record = {
227
228
  "_id": record["_id"],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zombie-squirrel
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: Generated from aind-library-template
5
5
  Author: Allen Institute for Neural Dynamics
6
6
  License: MIT
@@ -0,0 +1,10 @@
1
+ zombie_squirrel/__init__.py,sha256=HqqqUDHjlIjwfaj6aYj8lOXI9l_vqAB-brvq7DZk28o,409
2
+ zombie_squirrel/acorns.py,sha256=mpinFacaN9BM6CvRy0M76JMb6n3oVPZLJxn8O4J9Wlw,2945
3
+ zombie_squirrel/squirrels.py,sha256=1leLr5gA3gPa39NSLNmTOVFjxC29caciPwEcTNCgj6Y,12399
4
+ zombie_squirrel/sync.py,sha256=84Ta5beHiPuGBVzp9SCo7G1b4McTUohcUIf_TJbNIV8,518
5
+ zombie_squirrel/utils.py,sha256=kojQpHUKlRJD7WEZDfcpQIZTj9iUrtX5_6F-gWWzJW0,628
6
+ zombie_squirrel-0.7.2.dist-info/licenses/LICENSE,sha256=U0Y7B3gZJHXpjJVLgTQjM8e_c8w4JJpLgGhIdsoFR1Y,1092
7
+ zombie_squirrel-0.7.2.dist-info/METADATA,sha256=XDVDGFb-AnK4T6gFS_hAcHCBmEdHC4acUt7q8bmcCmA,1893
8
+ zombie_squirrel-0.7.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ zombie_squirrel-0.7.2.dist-info/top_level.txt,sha256=FmM0coe4AangURZLjM4JwwRv2B8H6oINYCoZLKLDCKA,16
10
+ zombie_squirrel-0.7.2.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- zombie_squirrel/__init__.py,sha256=tNZ18z3hBjD4D6tquMCGa-4hJu-7b1b9Klb4-88Z5jM,409
2
- zombie_squirrel/acorns.py,sha256=mpinFacaN9BM6CvRy0M76JMb6n3oVPZLJxn8O4J9Wlw,2945
3
- zombie_squirrel/squirrels.py,sha256=7rD8vmx0vM3XPZ3q6lIU1Ik9mf3xVOYG6vuTI55MzVM,12355
4
- zombie_squirrel/sync.py,sha256=84Ta5beHiPuGBVzp9SCo7G1b4McTUohcUIf_TJbNIV8,518
5
- zombie_squirrel/utils.py,sha256=kojQpHUKlRJD7WEZDfcpQIZTj9iUrtX5_6F-gWWzJW0,628
6
- zombie_squirrel-0.7.1.dist-info/licenses/LICENSE,sha256=U0Y7B3gZJHXpjJVLgTQjM8e_c8w4JJpLgGhIdsoFR1Y,1092
7
- zombie_squirrel-0.7.1.dist-info/METADATA,sha256=Cdp54I4ns8Ox-bOHXRlDshf4voAllg37USq7m_quLsw,1893
8
- zombie_squirrel-0.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- zombie_squirrel-0.7.1.dist-info/top_level.txt,sha256=FmM0coe4AangURZLjM4JwwRv2B8H6oINYCoZLKLDCKA,16
10
- zombie_squirrel-0.7.1.dist-info/RECORD,,