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:
Create a configuration file by copying one of the
mejiroconfiguration files inmejiro/data/mejiro_config/to your working directory and modifying it as needed. See Configuration File Reference for a reference of every attribute.Create a
Pipelineobject 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()