File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,10 @@ for line in f:
8989 if len (args ) > 2 and not 'O2_ROOT' in os .environ :
9090 print ('O2 not loaded' )
9191 raise
92- json_cache_path = os .environ ['GEN_TOPO_WORKDIR' ] + '/json_cache'
93- if not os .path .exists (json_cache_path ):
94- os .makedirs (json_cache_path , 0o770 )
95- os .environ ['GEN_TOPO_QC_JSON_FILE' ] = os .path .abspath (json_cache_path + '/qc_tmp_' + datetime .datetime .now ().strftime ('%y-%m-%d-%H-%M-%S' ) + '_' + str (random .randrange (100000000 )) + '.json' )
9692 with tempfile .TemporaryDirectory (prefix = 'o2_workflow_' ) as tmpdir :
9793 if 'GEN_TOPO_OVERRIDE_TEMPDIR' in os .environ :
9894 tmpdir = os .environ ['GEN_TOPO_OVERRIDE_TEMPDIR' ]
95+ os .environ ['GEN_TOPO_QC_JSON_FILE' ] = os .path .abspath (tmpdir + '/qc.json' )
9996 if NO_PROCESSING_MODE and len (args ) > 2 :
10097 print ('Cannot use DPL workflow together with DD mode' , os .environ ['DDMODE' ])
10198 raise
You can’t perform that action at this time.
0 commit comments