-
Notifications
You must be signed in to change notification settings - Fork 91
post-processing multiple algorithms asserts #625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Usually you have to specify separately the path to each algorithm, e.g. python2 -m bbob_pproc exdata/alg1 exdata/alg2. I think that we don't support the case when you specify just one path for multiple algorithms. |
Agreed. That means the raised error should not be an assertion error, because it is a case to be expected to appear on non-compliant user input. |
Thanks for the clarification. Specifying the algorithms individually works. However, this feels inconsistent, because for a single algorithm I can specify the exdata directory, for multiple algorithms the same fails. I'd like to propose to simply scan the directory to simulate the effect of python2 -m bbob_pproc exdata/* . There is another small bug, in case of processing multiple algorithms the links to the single algorithm data in index.html are broken: the link text is empty (therefore not clickable), and the href starts with a slash (absolute path), therefore the link would not work, even if it was clickable. |
The problem with this is the following: the user is allowed to distribute data from the same algorithm into several subfolders (and even subsubfolders). This interface would be broken if we would scan the folder for subfolders and feed each as if it came from a different algorithm. We could make an exception on the folder name Yet, indeed, the raised error should clearly indicate how to (probably) proceed in this case. |
FTR, I added the bug label because the
|
Agreed, a constructive diagnostic message would do the job. |
An error with the explanation is now raised. |
I have run two algorithms, both in 5 dimensions. I can run post-processing for both individually with the current development branch (11.2.2016). However, if I try post-processing with the results of both algorithms in the exdata folder then I get an assertion. The error message is as follows:
The text was updated successfully, but these errors were encountered: