Skip to content

browse_experiments() error #121

@filipeabperes

Description

@filipeabperes

When running browse_experiments() I get the following error (substituted in)

>>> from artemis.experiments.ui import browse_experiments as be
>>> be()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<HOME>/anaconda3/lib/python3.6/site-packages/artemis/experiments/ui.py", line 77, in browse_experiments
    browser.launch(command=command)
  File "<HOME>/anaconda3/lib/python3.6/site-packages/artemis/experiments/ui.py", line 279, in launch
    print(self.get_experiment_list_str(self.exp_record_dict))
  File "<HOME>/anaconda3/lib/python3.6/site-packages/artemis/experiments/ui.py", line 390, in get_experiment_list_str
    longest_row = max(max(len(r) for r in record_table_rows), max(len(r) for r in experiment_table_rows)+4) if len(record_table_rows)>0 else 0
ValueError: max() arg is an empty sequence

If I open any of the experiments directly via

>>> from file import experiment
>>> experiment.browse()

The UI pops up but no runs of variants are shown. Not sure if I'm doing anything wrong. Ideas?

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