You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a problem in the vanilla admix-download in stable branch. When a run is too huge, for example 050073-raw_records-rfzvpzj4mf, you will have problems downloading because of a timeout issue. A patch was proposed before and didn't solve the problem.
However, a brutal way to bypass this is to use rucio download. It might be acceptable to find a way to insert this functionality into admix stable branch.
def_meta_admix_download(st, run, target, rse="UC_OSG_USERDISK"):
codes=""filename=str(st.key_for(run, target))
straxhash=filename.split('-')[-1]
did="xnt_"+run+":"+target+"-"+straxhash# make directorycodes+="mkdir -p %s"%(filename) +"\n"# enter directorycodes+="cd %s"%(filename) +"\n"# rucio downloadcodes+="rucio download %s --rse %s"%(did, rse) +"\n"# move things outcodes+="mv %s/* ."%(did.split(':')[-1]) +"\n"# remove empty folder codes+="rm -rf %s"%(did.split(':')[-1]) +"\n"# cd out back to parent directorycodes+="cd ../"+"\n"print(codes)
defmeta_admix_download(runs, target="raw_records", rse="UC_OSG_USERDISK"):
importcutaxst=cutax.xenonnt_offline()
forrinruns:
iftype(r) ==str:
passelse:
r=str(r).zfill(6)
_meta_admix_download(st, r, target, rse)
This is a problem in the vanilla admix-download in stable branch. When a run is too huge, for example
050073-raw_records-rfzvpzj4mf
, you will have problems downloading because of a timeout issue. A patch was proposed before and didn't solve the problem.However, a brutal way to bypass this is to use rucio download. It might be acceptable to find a way to insert this functionality into admix stable branch.
An example will be
and this will give you the output you are expected to paste into terminal:
The text was updated successfully, but these errors were encountered: