Skip to content

Jupyter Notebook: Can't parse config file #31

@adintegra

Description

@adintegra

The example Jupyter Notebook can't be run as there seems to be an issue reading the example config file:

singleConfig = ConfigFileReader(singleConfigPath)

Causes the following error:

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-16-81364d44a7da> in <module>
      1 # Read config file.
----> 2 singleConfig = ConfigFileReader(singleConfigPath)

C:\temp\Anaconda\lib\site-packages\callflow\operations\read_config.py in __init__(self, filepath, config_json)
     31 
     32         self.scheme = self.json["scheme"]
---> 33         self.datasets = self.json["datasets"]
     34         self.runName = self.json["run_name"]
     35         self.save_path = os.path.join(self.data_path, ".callflow")

KeyError: 'datasets'

Config file: hpctoolkit-cpi-database/callflow.config.json
Environment: CallFlow 1.1.1 / Jupyter Notebook 6.0.3 / Anaconda Python 3.7.6 / Win10 64bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions