parameters.py

Overview

Helper functions for configuring the pipeline parameters.

Functions

cellhub.tasks.parameters.write_config_files(pipeline_path, general_path)
Retrieve default yaml configuration file from:

cellhub/yaml/pipeline_[name].yml

cellhub.tasks.parameters.get_parameter_file(pipeline_path)

Return the local yml file path if the pipeline is being executed, otherwise return the location of the yml file in the repo.

Note that a local yaml file is mandatory for pipeline execution.