File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,11 @@ def _start_logging(self):
8585
8686 def _log_conf (self ):
8787 # log config.py
88- with open ("proj/model/config.py" ) as f :
89- conf = f .read ()
88+ try :
89+ with open ("proj/model/config.py" ) as f :
90+ conf = f .read ()
91+ except FileNotFoundError :
92+ conf = self .model .config_dict ()
9093 logging .info (conf )
9194
9295 def _save_results (self ):
Original file line number Diff line number Diff line change 2525 db_app = "D:\\ Dropbox (UCL - SWC)\\ Apps\\ loco_upload"
2626
2727# winstor paths
28- winstor_main = Path ("/nfs/winstor/branco/Federico/Locomotion/control" )
28+ winstor_main = Path ("/nfs/winstor/branco/Federico/Locomotion/control/data " )
2929winstor_trial_cache = (
3030 "/nfs/winstor/branco/Federico/Locomotion/control/m46_cache.h5"
3131)
You can’t perform that action at this time.
0 commit comments