Running the Pipeline

Simplest Example

The following lines will run a simple test version of the end-to-end pipeline.

from mejiro.pipeline.mejiro_pipeline import Pipeline

pipeline = Pipeline()
pipeline.run()

Tweaking the Configuration

To run the pipeline with customized settings:

  1. Create a configuration file by copying one of the mejiro configuration files in mejiro/data/mejiro_config/ to your working directory and modifying it as needed. See Configuration File Reference for a reference of every attribute.

  2. Create a Pipeline object with the path to your configuration file as an argument, then run the pipeline.

from mejiro.pipeline.mejiro_pipeline import Pipeline

config_file = 'path/to/your_config_file.yml'

pipeline = Pipeline(config_file=config_file)
pipeline.run()