We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb2c70 commit a7e0b51Copy full SHA for a7e0b51
src/npc_sessions/sessions.py
@@ -3052,9 +3052,13 @@ def _lp(self) -> tuple[pynwb.core.DynamicTable, ...]:
3052
3053
df = pd.DataFrame()
3054
for result_name in utils.LP_RESULT_TYPES:
3055
- result_df = utils.get_LPFaceParts_result_dataframe(
3056
- self.id, utils.LP_MAPPING[camera_name], result_name
3057
- )
+ try:
+ result_df = utils.get_LPFaceParts_result_dataframe(
+ self.id, utils.LP_MAPPING[camera_name], result_name
3058
+ )
3059
+ except FileNotFoundError as exc:
3060
+ logging.info(repr(exc))
3061
+ return ()
3062
if len(timestamps) != len(result_df):
3063
logger.warning(
3064
f"{self.id} {camera_name} {result_name} lightning pose face parts output has wrong shape {len(df)}, expected {len(timestamps)} frames."
0 commit comments