You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example the default value is placed on the first place in the list of choices example.xml
<param argument="--mode" label="Author did not provide help for this parameter... " name="mode" optional="true" type="select">
<option selected="true" value="scissors">scissors</option>
<option value="paper">paper</option>
<option value="rock">rock</option>
</param>
The current version of argparse2tool resolves the default value in the order it appeared in argparse choices:
<param argument="--mode" label="Author did not provide help for this parameter... " name="mode" optional="true" type="select">
<option value="paper">paper</option>
<option value="rock">rock</option>
<option selected="true" value="scissors">scissors</option>
</param>
If the behavior of the current version is correct than we should simple update example.xml.
The text was updated successfully, but these errors were encountered:
The last issue that blocks successful travis checks is the resolving of default values in select fields.
example.py
In the example the default value is placed on the first place in the list of choices
example.xml
The current version of argparse2tool resolves the default value in the order it appeared in argparse choices:
If the behavior of the current version is correct than we should simple update
example.xml
.The text was updated successfully, but these errors were encountered: