generic
- pilot.user.generic.setup.download_transform(url, transform_name, workdir)[source]
Download the transform from the given url :param url: download URL with path to transform (string). :param transform_name: trf name (string). :param workdir: work directory (string). :return:
- pilot.user.generic.setup.get_analysis_trf(transform, workdir)[source]
Prepare to download the user analysis transform with curl. The function will verify the download location from a known list of hosts.
- Parameters:
transform – full trf path (url) (string).
workdir – work directory (string).
- Returns:
exit code (int), diagnostics (string), transform_name (string)
- pilot.user.generic.setup.get_valid_base_urls(order=None)[source]
Return a list of valid base URLs from where the user analysis transform may be downloaded from. If order is defined, return given item first. E.g. order=http://atlpan.web.cern.ch/atlpan -> [’http://atlpan.web.cern.ch/atlpan’, …] NOTE: the URL list may be out of date.
- Parameters:
order – order (string).
- Returns:
valid base URLs (list).