Specify a different component example

From DANSE

How do I specify a component other than the default component given in the inventory?

Quick answer:

./Myapp.py --someFacility=someModule

where someModule has a factory function with the name of the facility.

Long answer:

Consider the example (http://arcs.cacr.caltech.edu:8000/arcs/104) where we have a csv_reader component that uses a writer facility; the csv_reader uses the csv_writer component by default. Some decide they don't want to use the csv_writer, they'd rather use the csv_plotter component: how do they tell pyre to make the change?

Personal tools
Document Uploads/Links