From b84be8c73ee4353805f0a57c5f27b522d70e4167 Mon Sep 17 00:00:00 2001 From: bjhardcastle Date: Thu, 15 Aug 2024 17:21:43 -0700 Subject: [PATCH] [test] Add check for credentials --- src/npc_sessions/trials/TaskControl/DynamicRouting1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/npc_sessions/trials/TaskControl/DynamicRouting1.py b/src/npc_sessions/trials/TaskControl/DynamicRouting1.py index a466b7f..229b5cb 100644 --- a/src/npc_sessions/trials/TaskControl/DynamicRouting1.py +++ b/src/npc_sessions/trials/TaskControl/DynamicRouting1.py @@ -46,7 +46,9 @@ class DynamicRouting1(TaskControl): >>> for trial in obj.to_add_trial(): # doctest: +SKIP ... nwb_file.add_trial(**trial) - + >>> import upath + >>> upath.UPath('s3://aind-ephys-data/ecephys_670248_2023-08-03_12-04-15/behavior/DynamicRouting1_670248_20230803_123154.hdf5').exists() + False >>> trials = DynamicRouting1('s3://aind-ephys-data/ecephys_670248_2023-08-03_12-04-15/behavior/DynamicRouting1_670248_20230803_123154.hdf5') >>> assert not trials.to_dataframe().empty """