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 Oct 17, 2023
1 parent 22103b0 commit 7dd8f34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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.84"
version = "0.1.85"
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
7 changes: 4 additions & 3 deletions src/npc_lims/status/tracked_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
]

DR_DATA_REPO_ISILON = upath.UPath(
f"//allen/programs/mindscope/workgroups/dynamicrouting/DynamicRoutingTask/Data"
"//allen/programs/mindscope/workgroups/dynamicrouting/DynamicRoutingTask/Data"
)


@dataclasses.dataclass(frozen=True, eq=True)
class SessionInfo:
"""Minimal session metadata obtained quickly from a database.
Expand Down Expand Up @@ -72,7 +73,7 @@ def cloud_path(self) -> upath.UPath | None:
if DR_DATA_REPO_ISILON in self.allen_path.parents:
return s3.DR_DATA_REPO / self.allen_path.relative_to(DR_DATA_REPO_ISILON)
return None

@property
def is_uploaded(self) -> bool:
"""All of the session's raw data has been uploaded to S3 and can be found in
Expand All @@ -85,7 +86,7 @@ def is_uploaded(self) -> bool:
with contextlib.suppress(FileNotFoundError, ValueError):
return bool(codeocean.get_raw_data_root(self.id))
return False

@property
def is_sorted(self) -> bool:
"""The AIND sorting pipeline has yielded a Result asset for this
Expand Down

0 comments on commit 7dd8f34

Please sign in to comment.