@staticmethod<EOL><INDENT>def _expand_path(hash_str):<DEDENT>
try:<EOL><INDENT>first_hash, second_hash = hash_str.split("<STR_LIT:/>")<EOL>first_hash_path = join(abspath("<STR_LIT>"), first_hash)<EOL>for l in os.listdir(first_hash_path):<EOL><INDENT>if l.startswith(second_hash):<EOL><INDENT>return join(first_hash_path, l)<EOL><DEDENT><DEDENT><DEDENT>except FileNotFoundError:<EOL><INDENT>return None<EOL><DEDENT>
Expands the hash string of a process (ae/1dasjdm) into a full
        working directory

        Parameters
        ----------
        hash_str : str
            Nextflow process hash with the beggining of the work directory

        Returns
        -------
        str
            Path to working directory of the hash string