In jupyter notebook, when I run session.run(pipeline_name='sim', from_inputs=['measurements', 'params:simulation'])
, passing datasets & params specified in catalog.yaml
, everything works fine. However, when I want to run it with a dataset that I added during the session, a ValueError
occurs:
>>> ds = GenMsmtsDataSet()
>>> catalog.add('ipy_msmts', ds)
>>> session.run(pipeline_name='sim', from_inputs=['ipy_msmts', 'params:simulation'])
ValueError: Pipeline does not contain data_sets named ['ipy_msmts']
However, catalog.list()
contains the newly added ipy_msmts
dataset. Also, catalog.load('ipy_msmts')
works perfectly fine.
Why can't the pipeline access my custom dataset I manually added to the catalog?