Skip to content

Commit ac37944

Browse files
committed
Minor fixes
1 parent 84aa191 commit ac37944

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DATA/tools/epn/gen_topo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[[ -z "$GEN_TOPO_STDERR_LOGGING" ]] && export GEN_TOPO_STDERR_LOGGING=1 # Enable logging of stderr messages
1717
[[ -z "$IS_SIMULATED_DATA" ]] && export IS_SIMULATED_DATA=0 # by default we are processing raw data
1818
[[ -z "$GEN_TOPO_ODC_EPN_TOPO_ARGS" ]] && export GEN_TOPO_ODC_EPN_TOPO_ARGS="--recown 'wn_(?"'!'"online-calib).*_.*' --calibwn 'wn_online-calib_.*'" # Arguments to pass to odc-epn-topo command
19-
[[ -z "$GEN_TOPO_EPN_CCDB_SERVER" ]] && export GEN_TOPO_EPN_CCDB_SERVER="http://o2-ccdb.internal" # CCDB server to use
19+
[[ -z "$GEN_TOPO_EPN_CCDB_SERVER" ]] && export GEN_TOPO_EPN_CCDB_SERVER="http://localhost:8084" # CCDB server to use
2020

2121
# GEN_TOPO_RUN_HOME is a debug setting used in some tests. This is not needed for online running.
2222
if [[ "0$GEN_TOPO_RUN_HOME" == "01" ]]; then

DATA/tools/epn/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ else
4141
fi
4242
if [[ $? == 0 ]]; then
4343
echo Generated XML topology $OUTPUT_FILE_NAME
44+
else
45+
cat $OUTPUT_FILE_NAME
4446
fi

DATA/tools/parse

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,13 @@ for line in f:
142142
raise
143143
if 'GEN_TOPO_OOM_WORKAROUND' in os.environ and int(os.environ['GEN_TOPO_OOM_WORKAROUND']):
144144
command = 'cat ' + filename + ' | o2-dpl-run -b --dds --dds-workflow-suffix _' + wf[0] + str(i) + ' --resources-monitoring 15 ' + ' | grep -v ' + command_log_filter + ' > ' + filename_xml
145-
print('Running DPL command', command)
145+
print('Running CAT command', command)
146146
if os.system(command) != 0:
147147
print('Error running command', command)
148148
command = 'sed -i \'s,^\( *.exe.*sleep [0-9.]*;\).*\(|[^|]*./exe.\)$,\\1 cat ' + filename + ' \\2,\' ' + filename_xml
149-
os.system('cat ' + filename_xml)
150149
print('Running SED command', command)
151150
if os.system(command) != 0:
152151
print('Error running sed on XML file')
153-
os.system('cat ' + filename_xml)
154152
filename = filename_xml
155153
if reco_num_nodes_override > 0:
156154
reconodes = reco_num_nodes_override

0 commit comments

Comments
 (0)