zombie-squirrel 0.5.5__py3-none-any.whl → 0.6.0__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.
- zombie_squirrel/__init__.py +1 -1
- zombie_squirrel/squirrels.py +6 -0
- {zombie_squirrel-0.5.5.dist-info → zombie_squirrel-0.6.0.dist-info}/METADATA +1 -1
- zombie_squirrel-0.6.0.dist-info/RECORD +10 -0
- zombie_squirrel-0.5.5.dist-info/RECORD +0 -10
- {zombie_squirrel-0.5.5.dist-info → zombie_squirrel-0.6.0.dist-info}/WHEEL +0 -0
- {zombie_squirrel-0.5.5.dist-info → zombie_squirrel-0.6.0.dist-info}/licenses/LICENSE +0 -0
- {zombie_squirrel-0.5.5.dist-info → zombie_squirrel-0.6.0.dist-info}/top_level.txt +0 -0
zombie_squirrel/__init__.py
CHANGED
|
@@ -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.6.0"
|
|
7
7
|
|
|
8
8
|
from zombie_squirrel.squirrels import ( # noqa: F401
|
|
9
9
|
asset_basics,
|
zombie_squirrel/squirrels.py
CHANGED
|
@@ -144,6 +144,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
144
144
|
"acquisition.acquisition_end_time",
|
|
145
145
|
"processing.data_processes.start_date_time",
|
|
146
146
|
"subject.subject_details.genotype",
|
|
147
|
+
"other_identifiers",
|
|
147
148
|
"location",
|
|
148
149
|
]
|
|
149
150
|
|
|
@@ -159,6 +160,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
159
160
|
"subject_id",
|
|
160
161
|
"acquisition_start_time",
|
|
161
162
|
"acquisition_end_time",
|
|
163
|
+
"code_ocean",
|
|
162
164
|
"process_date",
|
|
163
165
|
"genotype",
|
|
164
166
|
"location",
|
|
@@ -212,6 +214,9 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
212
214
|
else:
|
|
213
215
|
process_date = None
|
|
214
216
|
|
|
217
|
+
# Get the CO asset ID
|
|
218
|
+
code_ocean = record.get("other_identifiers", {}).get("Code Ocean", None)
|
|
219
|
+
|
|
215
220
|
flat_record = {
|
|
216
221
|
"_id": record["_id"],
|
|
217
222
|
"_last_modified": record.get("_last_modified", None),
|
|
@@ -221,6 +226,7 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
|
|
|
221
226
|
"subject_id": record.get("subject", {}).get("subject_id", None),
|
|
222
227
|
"acquisition_start_time": record.get("acquisition", {}).get("acquisition_start_time", None),
|
|
223
228
|
"acquisition_end_time": record.get("acquisition", {}).get("acquisition_end_time", None),
|
|
229
|
+
"code_ocean": code_ocean,
|
|
224
230
|
"process_date": process_date,
|
|
225
231
|
"genotype": record.get("subject", {}).get("subject_details", {}).get("genotype", None),
|
|
226
232
|
"location": record.get("location", None),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
zombie_squirrel/__init__.py,sha256=ey78QUNNeGUxBr0oQ4eY_sHVMGPXuq1ZFgNvbWKhLYo,409
|
|
2
|
+
zombie_squirrel/acorns.py,sha256=mpinFacaN9BM6CvRy0M76JMb6n3oVPZLJxn8O4J9Wlw,2945
|
|
3
|
+
zombie_squirrel/squirrels.py,sha256=nxCwkPsZlUVbqVvvDOj1r9C8YG4be6DbHKjeBbsCBgw,12122
|
|
4
|
+
zombie_squirrel/sync.py,sha256=84Ta5beHiPuGBVzp9SCo7G1b4McTUohcUIf_TJbNIV8,518
|
|
5
|
+
zombie_squirrel/utils.py,sha256=kojQpHUKlRJD7WEZDfcpQIZTj9iUrtX5_6F-gWWzJW0,628
|
|
6
|
+
zombie_squirrel-0.6.0.dist-info/licenses/LICENSE,sha256=U0Y7B3gZJHXpjJVLgTQjM8e_c8w4JJpLgGhIdsoFR1Y,1092
|
|
7
|
+
zombie_squirrel-0.6.0.dist-info/METADATA,sha256=G-KICuCfZXURsyUyuXHoXkT6P8yVy2cXKm-Mdw7CudM,1894
|
|
8
|
+
zombie_squirrel-0.6.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
9
|
+
zombie_squirrel-0.6.0.dist-info/top_level.txt,sha256=FmM0coe4AangURZLjM4JwwRv2B8H6oINYCoZLKLDCKA,16
|
|
10
|
+
zombie_squirrel-0.6.0.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
zombie_squirrel/__init__.py,sha256=KFS_vk9X-5ETf1z2EO7g_1D67HF4-LpBJIoIIB3Q-fU,409
|
|
2
|
-
zombie_squirrel/acorns.py,sha256=mpinFacaN9BM6CvRy0M76JMb6n3oVPZLJxn8O4J9Wlw,2945
|
|
3
|
-
zombie_squirrel/squirrels.py,sha256=PwLhJdpNZZCWIdqb3-MA3VRzCMf1tWwKcCxpTMbIjn0,11901
|
|
4
|
-
zombie_squirrel/sync.py,sha256=84Ta5beHiPuGBVzp9SCo7G1b4McTUohcUIf_TJbNIV8,518
|
|
5
|
-
zombie_squirrel/utils.py,sha256=kojQpHUKlRJD7WEZDfcpQIZTj9iUrtX5_6F-gWWzJW0,628
|
|
6
|
-
zombie_squirrel-0.5.5.dist-info/licenses/LICENSE,sha256=U0Y7B3gZJHXpjJVLgTQjM8e_c8w4JJpLgGhIdsoFR1Y,1092
|
|
7
|
-
zombie_squirrel-0.5.5.dist-info/METADATA,sha256=eUlzNR_v9OXV5RswIfK5Janz_UINUpcorwsK7iyg-jA,1894
|
|
8
|
-
zombie_squirrel-0.5.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
9
|
-
zombie_squirrel-0.5.5.dist-info/top_level.txt,sha256=FmM0coe4AangURZLjM4JwwRv2B8H6oINYCoZLKLDCKA,16
|
|
10
|
-
zombie_squirrel-0.5.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|