zombie-squirrel 0.6.1__tar.gz → 0.7.1__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.
- {zombie_squirrel-0.6.1/src/zombie_squirrel.egg-info → zombie_squirrel-0.7.1}/PKG-INFO +1 -1
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel/__init__.py +1 -1
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel/squirrels.py +4 -1
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1/src/zombie_squirrel.egg-info}/PKG-INFO +1 -1
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/LICENSE +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/README.md +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/pyproject.toml +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/setup.cfg +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/setup.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel/acorns.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel/sync.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel/utils.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel.egg-info/SOURCES.txt +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel.egg-info/dependency_links.txt +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel.egg-info/requires.txt +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel.egg-info/top_level.txt +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/tests/test_acorns.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/tests/test_squirrels.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/tests/test_sync.py +0 -0
- {zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/tests/test_utils.py +0 -0
|
@@ -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.
|
|
6
|
+
__version__ = "0.7.1"
|
|
7
7
|
|
|
8
8
|
from zombie_squirrel.squirrels import ( # noqa: F401
|
|
9
9
|
asset_basics,
|
|
@@ -146,6 +146,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
146
146
|
"subject.subject_details.genotype",
|
|
147
147
|
"other_identifiers",
|
|
148
148
|
"location",
|
|
149
|
+
"name",
|
|
149
150
|
]
|
|
150
151
|
|
|
151
152
|
if df.empty or force_update:
|
|
@@ -164,6 +165,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
164
165
|
"process_date",
|
|
165
166
|
"genotype",
|
|
166
167
|
"location",
|
|
168
|
+
"name",
|
|
167
169
|
]
|
|
168
170
|
)
|
|
169
171
|
client = MetadataDbClient(
|
|
@@ -217,7 +219,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
217
219
|
# Get the CO asset ID
|
|
218
220
|
other_identifiers = record.get("other_identifiers", {})
|
|
219
221
|
if other_identifiers:
|
|
220
|
-
code_ocean = other_identifiers.get("Code Ocean", None)
|
|
222
|
+
code_ocean = other_identifiers.get("Code Ocean", None)[0]
|
|
221
223
|
else:
|
|
222
224
|
code_ocean = None
|
|
223
225
|
|
|
@@ -234,6 +236,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
234
236
|
"process_date": process_date,
|
|
235
237
|
"genotype": record.get("subject", {}).get("subject_details", {}).get("genotype", None),
|
|
236
238
|
"location": record.get("location", None),
|
|
239
|
+
"name": record.get("name", None),
|
|
237
240
|
}
|
|
238
241
|
records.append(flat_record)
|
|
239
242
|
|
|
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
|
{zombie_squirrel-0.6.1 → zombie_squirrel-0.7.1}/src/zombie_squirrel.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|