Skip to content

Commit

Permalink
Fix evaluator test after adding new figure
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia committed Jun 6, 2024
1 parent 8e582a3 commit 6da67bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/gflownet/evaluator/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ def test__eval(gflownet_for_tests, parameterization):
elif parameterization == "ctorus":
for figname, fig in figs.items():
assert isinstance(figname, str)
# plot_samples_topk not implemented in ctorus
if figname == "Samples TopK":
continue
assert isinstance(fig, plt.Figure)
else:
raise ValueError(f"Unknown parameterization: {parameterization}")

0 comments on commit 6da67bd

Please sign in to comment.