Skip to content

Commit 4ad14da

Browse files
committed
cli: always print results
1 parent 094302a commit 4ad14da

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/negmas/scripts/app.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,13 @@ def combine_results(path, dest, metric, significance, compile, verbose):
800800
results = evaluate_tournament(
801801
dest, scores, stats, verbose=verbose, metric=metric, compile=compile
802802
)
803-
display_results(results, metric, significance)
803+
try:
804+
display_results(results, metric, significance)
805+
except Exception as e:
806+
print(
807+
f"Cannot display results: {e}\n{metric=}, {significance=}, {len(results.total_scores)=}"
808+
)
809+
print(results.total_scores)
804810

805811

806812
@cli.command(help="Start the bridge to genius (to use GeniusNegotiator)")

0 commit comments

Comments
 (0)