Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def get_number_of_configs(self, dataset_name):

def get_config(self, dataset_name, config_id):
"""Returns the configuration of a run specified by dataset name and config id"""
config_id = str(config_id)
if dataset_name not in self.dataset_names:
raise ValueError("Dataset name not found.")
return self.data[dataset_name][config_id]["config"]
Expand Down