Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
arielleleon committed Nov 14, 2024
1 parent ffce70a commit 59158c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/aind_metadata_mapper/stimulus/camstim.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,17 @@ def __init__(

def _get_session_type(self) -> str:
"""Determine the session type from the pickle data
Returns
-------
str
session type
"""
if self.behavior:
return self.pkl_data['items']["behavior"]['params']['stage']
return self.pkl_data["items"]["behavior"]["params"]["stage"]
else:
return self.pkl_data['items']["foraging"]["params"]["stage"]
return self.pkl_data["items"]["foraging"]["params"]["stage"]

def _is_behavior(self) -> bool:
"""Check if the session has behavior data"""
if self.pkl_data.get("items", {}).get("behavior", None):
Expand Down

0 comments on commit 59158c1

Please sign in to comment.