Skip to content
Merged
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
2 changes: 1 addition & 1 deletion openml/runs/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, task_id, flow_id, dataset_id, setup_string=None,

def __str__(self):
flow_name = self.flow_name
if len(flow_name) > 26:
if flow_name is not None and len(flow_name) > 26:
# long enough to show sklearn.pipeline.Pipeline
flow_name = flow_name[:26] + "..."
return "[run id: {}, task id: {}, flow id: {}, flow name: {}]".format(
Expand Down