Skip to content
Snippets Groups Projects
Commit ed60a1cc authored by Valerio Mascagna's avatar Valerio Mascagna
Browse files

minor mods

parent 60b62bab
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,4 @@ new_ascii_compact_dir="/home/insudaq/tlktest2011/maroc3_2012/vme14/ana_insulab20
awk '{for(i=1;i<=NF;i++)printf("%s ",$i);if(NR%3==0)printf("\n")}' $ascii_dir/run$nrun*wave*.dat | gzip > $new_ascii_compact_dir"/run"$nrun"_WF.gz"
echo "File "$new_ascii_compact_dir"/run"$nrun"_WF.gz created."
......@@ -34,7 +34,7 @@ for f in lista_done:
allf[runN]['duration'] = allf[runN]['stop'] - allf[runN]['start']
# print(f,runN,fileN)
ok_runs = [ el for el in allf.items() if el[1]['nFiles']>10]
ok_runs = [ el for el in allf.items() if el[1]['nFiles']>3]
ok_runs.sort(key = lambda x:x[1]['start'])
for r in ok_runs:
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment