mecfs_bio.build_system.wf.base_wf
Classes:
-
WF–An interface to the external world.
Functions:
-
make_wf–Construct a WF, defaulting any capability not explicitly supplied.
WF
An interface to the external world.
To add a new capability, add an attribute here and a corresponding parameter to make_wf with an appropriate default.
Methods:
-
download_from_synapse–Download the single file at synid into dest_dir and return its path.
-
download_from_url– -
fetch_synapse_file_head–Return the first n_bytes of the Synapse file at synid without downloading the
Attributes:
download_from_synapse
Download the single file at synid into dest_dir and return its path.
Source code in mecfs_bio/build_system/wf/base_wf.py
download_from_url
fetch_synapse_file_head
Return the first n_bytes of the Synapse file at synid without downloading the whole file (via a pre-signed URL + HTTP Range request).
Source code in mecfs_bio/build_system/wf/base_wf.py
make_wf
make_wf(
downloader: WFDownloader | None = None,
synapse_downloader: SynapseDownloader | None = None,
) -> WF
Construct a WF, defaulting any capability not explicitly supplied.