Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-6484

Parameters of element with command-line tool: default values and their widgets, validation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: cmdline_elements
    • Fix Version/s: 33
    • Component/s: Workflow
    • Labels:
    • Story Points:
      2
    • Sprint:
      DEV-33-7, DEV-33-8, DEV-33-RELEASE
    • Affect Type:
      Userdefined

      Description

      Usage usability of parameters in elements with command-line tools should be improved:

      • a way to set up the parameter in the Property Editor should be more specific to the selected type
      • an appropriate default value should be set for the type in the element configuration wizard
      • validation of the parameter value should be performed

      "Boolean" type

      • There should be a combo box with possible values "True" and "False".
      • The default value for this type in the wizard should be "True".

      "Integer" type

      • There should be an editable spin box with min/max values that corresponds to the integer min/max value (specify the exact values in the comments to this issue). The step should be equal to 1.
      • Default value: "0"
      • Validation: the value should be an integer value (negative values are also possible).

      "Double" type

      • There should be an editable spin box with min/max values that corresponds to the double min/max value (specify the exact values in the comments to this issue). The step may be equal to e.g. 0.1, but it should be possible to input any valid double number.
      • Default value: "0.0"
      • Validation: the value should be a double value (negative values are also possible).

      "String" type

      • Leave the current widget in the Property Editor.
      • Default value: an empty string
      • Validation: none

      "Input file URL" type

      • There should be an editable line edit with the browse button (like for other files). Use the system standard file browse dialog.
      • Default value: an empty string
      • Validation: the value is an URL.

      "Input folder URL" type

      • There should be an editable line edit with the browse button (like for other files). Use the system standard folder browse dialog.
      • Default value: an empty string
      • Validation: the value is an URL.

      "Output file URL" type

      • There should be an editable line edit with the browse button (like for other files). Use the UGENE workflow result dialog on browsing, i.e. save the result output file into the UGENE workflow output folder by default.
      • Default value: an empty string
      • Validation: the value is an URL.

      "Output folder URL" type

      • There should be an editable line edit with the browse button (like for other files). Use the UGENE workflow result dialog on browsing.
      • Default value: an empty string
      • Validation: the value is an URL.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kir Kirill Rasputin
              Reporter:
              oigl Olga Golosova
              Assigned Tester:
              Svetlana Samoilenko
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: