available_working_path¶
-
hep_rfm.
available_working_path
(path, modifiers=None, allow_protocols=None)[source]¶ If an accessible path can be resolved from “path”, it returns it. Return None otherwise. If “path” is remote, then “allow_protocols” permits the user to make this function return a path if it belongs to one of the given protocols, that must be specified as a container of strings.
Parameters: - path (ProtocolPath) – path to process.
- modifiers (dict) – modifiers to be applied in the set of paths.
- allow_protocols (container(str)) – possible protocols to consider.
Returns: local path.
Return type: