Skip to content

Use a regular expression to extract the streams from variables files. #545

Description

CMEW/app/configure_standardise/bin/create_request_file.py the stream is currently extracted with

# Get the whole stream including substream
whole_stream = line.strip().split(":")[-1]

# But don't list the substream
stream = whole_stream.split("/")[0]

but this could be done more efficiently with a regular expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions