customs.build_globus_transfer()

Build a Globus transfer request from manifest settings.

Usage

customs.build_globus_transfer(
    manifest, clearance, fix_holylabs=True, label="Stagecoach transfer"
)

Parameters

globus_info: dict

Manifest subsection describing Globus endpoints and staged items.

clearance: Clearance

Successful clearance result for the same Globus configuration.

fix_holylabs: bool = True

Whether to apply Holylabs-specific path fix to the transfer (removes redundant LAB segment from paths).

label: str = "Stagecoach transfer"
Optional label for the transfer task.

Returns

TransferData
Transfer request populated with all requested items.

Raises

ValueError
Raised when clearance indicates that access checks failed.