ENCODE-DCC/encoded

Re-cache: TRACKHUB_CACHING

Parul-Kudtarkar opened this issue · 1 comments

Hi,
@Bek
Is there a way to re-cache/clear the cache while setting USE_CACHE = True in visualization.py
Thanks,
Parul Kudtarkar

PS. I am not using proxy
This is how I get bigDataURL

s3path = subprocess.check_output('aws s3 ls s3://< bucket >/2017 --recursive | grep {}.{} | cut -c 32-' .format(a_file['accession'],view["type"]),shell=True)
s3path1 = s3path.decode('ascii')
s3path_final = s3path1.strip()
track["bigDataUrl"] = 'https://s3-us-west-2.amazonaws.com/< bucket >/{}'.format(s3path_final)