zombie-squirrel 0.6.0__tar.gz → 0.6.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.
Files changed (20) hide show
  1. {zombie_squirrel-0.6.0/src/zombie_squirrel.egg-info → zombie_squirrel-0.6.1}/PKG-INFO +2 -2
  2. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/README.md +1 -1
  3. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel/__init__.py +1 -1
  4. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel/squirrels.py +5 -1
  5. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1/src/zombie_squirrel.egg-info}/PKG-INFO +2 -2
  6. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/LICENSE +0 -0
  7. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/pyproject.toml +0 -0
  8. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/setup.cfg +0 -0
  9. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/setup.py +0 -0
  10. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel/acorns.py +0 -0
  11. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel/sync.py +0 -0
  12. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel/utils.py +0 -0
  13. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel.egg-info/SOURCES.txt +0 -0
  14. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel.egg-info/dependency_links.txt +0 -0
  15. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel.egg-info/requires.txt +0 -0
  16. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/src/zombie_squirrel.egg-info/top_level.txt +0 -0
  17. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/tests/test_acorns.py +0 -0
  18. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/tests/test_squirrels.py +0 -0
  19. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/tests/test_sync.py +0 -0
  20. {zombie_squirrel-0.6.0 → zombie_squirrel-0.6.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zombie-squirrel
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Generated from aind-library-template
5
5
  Author: Allen Institute for Neural Dynamics
6
6
  License: MIT
@@ -21,7 +21,7 @@ Dynamic: license-file
21
21
  ![Code Style](https://img.shields.io/badge/code%20style-black-black)
22
22
  [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
23
23
  ![Interrogate](https://img.shields.io/badge/interrogate-100.0%25-brightgreen)
24
- ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
24
+ ![Coverage](https://img.shields.io/badge/coverage-99%25-brightgreen)
25
25
  ![Python](https://img.shields.io/badge/python->=3.10-blue?logo=python)
26
26
 
27
27
  <img src="zombie-squirrel_logo.png" width="400" alt="Logo (image from ChatGPT)">
@@ -4,7 +4,7 @@
4
4
  ![Code Style](https://img.shields.io/badge/code%20style-black-black)
5
5
  [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
6
6
  ![Interrogate](https://img.shields.io/badge/interrogate-100.0%25-brightgreen)
7
- ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
7
+ ![Coverage](https://img.shields.io/badge/coverage-99%25-brightgreen)
8
8
  ![Python](https://img.shields.io/badge/python->=3.10-blue?logo=python)
9
9
 
10
10
  <img src="zombie-squirrel_logo.png" width="400" alt="Logo (image from ChatGPT)">
@@ -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.0"
6
+ __version__ = "0.6.1"
7
7
 
8
8
  from zombie_squirrel.squirrels import ( # noqa: F401
9
9
  asset_basics,
@@ -215,7 +215,11 @@ def asset_basics(force_update: bool = False) -> pd.DataFrame:
215
215
  process_date = None
216
216
 
217
217
  # Get the CO asset ID
218
- code_ocean = record.get("other_identifiers", {}).get("Code Ocean", None)
218
+ other_identifiers = record.get("other_identifiers", {})
219
+ if other_identifiers:
220
+ code_ocean = other_identifiers.get("Code Ocean", None)
221
+ else:
222
+ code_ocean = None
219
223
 
220
224
  flat_record = {
221
225
  "_id": record["_id"],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zombie-squirrel
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Generated from aind-library-template
5
5
  Author: Allen Institute for Neural Dynamics
6
6
  License: MIT
@@ -21,7 +21,7 @@ Dynamic: license-file
21
21
  ![Code Style](https://img.shields.io/badge/code%20style-black-black)
22
22
  [![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
23
23
  ![Interrogate](https://img.shields.io/badge/interrogate-100.0%25-brightgreen)
24
- ![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)
24
+ ![Coverage](https://img.shields.io/badge/coverage-99%25-brightgreen)
25
25
  ![Python](https://img.shields.io/badge/python->=3.10-blue?logo=python)
26
26
 
27
27
  <img src="zombie-squirrel_logo.png" width="400" alt="Logo (image from ChatGPT)">
File without changes