Tweak API to make the usage clearer when there is one result or multiple results from optimization #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When saving layouts using
optimize.py, some modes typically return a single result (e.g.,nearestorlocal). However,--outputis set up to specify a directory with files prefixed with rank. This can lead to users expecting a single result to accidentally specify the saved directory with a suffix.yaml. This feature request suggests improving the API to make this behavior obvious or not possible. One approach is to use separate commands whether saving the best result (specify a file) or the top-N results (specify a directory).