Skip to content

Commit

Permalink
[test] debug hdf5 open failling in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Aug 16, 2024
1 parent c049e8f commit 0e6f71f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/npc_sessions/trials/TaskControl/DynamicRouting1.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ class DynamicRouting1(TaskControl):
... nwb_file.add_trial(**trial)
>>> trials = DynamicRouting1('s3://aind-ephys-data/ecephys_670248_2023-08-03_12-04-15/behavior/DynamicRouting1_670248_20230803_123154.hdf5')
>>> import npc_stim
>>> npc_stim.get_stim_data('s3://aind-ephys-data/ecephys_670248_2023-08-03_12-04-15/behavior/DynamicRouting1_670248_20230803_123154.hdf5').keys()
>>> assert not trials.to_dataframe().empty
"""

Expand Down Expand Up @@ -891,6 +889,7 @@ def _opto_location_bregma_x(self) -> tuple[tuple[np.float64], ...]:
if np.isnan(x):
continue
else:
print(trial_idx, location_idx, x, x_values)
value = self.bregma_to_galvo(trial_idx, location_idx)[0]
result[trial_idx][location_idx] = value
return tuple(result)
Expand Down

0 comments on commit 0e6f71f

Please sign in to comment.