Skip to content

Commit

Permalink
Bump [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 21, 2024
1 parent f12d318 commit 71413ad
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
<!-- insertion marker -->
## Unreleased

<small>[Compare with latest](https://github.com/AllenInstitute/npc_lims/compare/v0.1.174...HEAD)</small>
<small>[Compare with latest](https://github.com/AllenInstitute/npc_lims/compare/v0.1.175...HEAD)</small>

### Fixed

- Fix import ([b5b279b](https://github.com/AllenInstitute/npc_lims/commit/b5b279b2ba787cc929efc6654deddcaa9d6a04d5) by bjhardcastle).
- Fix previous ([f12d318](https://github.com/AllenInstitute/npc_lims/commit/f12d3184042d16e98918a4f64b62fefbe24ea77c) by bjhardcastle).

<!-- insertion marker -->
## [v0.1.175](https://github.com/AllenInstitute/npc_lims/releases/tag/v0.1.175) - 2024-09-18

<small>[Compare with v0.1.174](https://github.com/AllenInstitute/npc_lims/compare/v0.1.174...v0.1.175)</small>

### Fixed

- Fix import ([b5b279b](https://github.com/AllenInstitute/npc_lims/commit/b5b279b2ba787cc929efc6654deddcaa9d6a04d5) by bjhardcastle).

## [v0.1.174](https://github.com/AllenInstitute/npc_lims/releases/tag/v0.1.174) - 2024-09-16

<small>[Compare with v0.1.173](https://github.com/AllenInstitute/npc_lims/compare/v0.1.173...v0.1.174)</small>
Expand Down
2 changes: 1 addition & 1 deletion npc_lims
Submodule npc_lims updated from b5b279 to f12d31
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "npc_lims"
version = "0.1.175"
version = "0.1.176"
description = "Tools to fetch and update paths, metadata and state for Mindscope Neuropixels sessions, in the cloud."
authors = [
{ name = "Arjun Sridhar", email = "[email protected]" },
Expand Down
6 changes: 4 additions & 2 deletions src/npc_lims/paths/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import operator
from collections.abc import Iterator

import npc_session
import aind_session
import npc_session
import upath
from codeocean.data_asset import DataAsset

Expand Down Expand Up @@ -112,7 +112,9 @@ def get_sorted_data_paths_from_s3(
sorted_data_asset = aind_session.get_codeocean_model(sorted_data_asset_id)
elif session is not None:
np_session = npc_session.SessionRecord(session)
aind_session_ = aind_session.get_sessions(np_session.subject, np_session.date)[0]
aind_session_ = aind_session.get_sessions(np_session.subject, np_session.date)[
0
]
sorted_data_asset = aind_session_.ecephys.latest_ks25_sorted_data_asset
else:
raise ValueError("Must provide either session or sorted_data_asset_id")
Expand Down

0 comments on commit 71413ad

Please sign in to comment.