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

Additional validation of python and perl custom tools when "launcherId" is not specified

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: Basic-Other
    • Labels:

      Description

      Prerequisites:

      1. Make sure python2 is installed and the path to it is in the PATH environment variable.

      Scenario:

      1. Download the attached files, put them into the same folder.
      2. Open the "External tools" page in the "Application Settings" dialog.
      3. In the "Custom tools" group click "Import", select the downloaded *.xml config.
        Current result: there is a warning sign on the icon for the tool. The tool didn't pass validation.
        Expected result: the tool is valid (note that the system python is used for the validation).
      4. Open the WD.
      5. Create workflow custom commandline element with added tool.
      6. Run workflow.
        Expected result: workflow finished without errors

      Later when the tool is used in an element in a workflow, system python should also be used.

      The same should work for *.pl files and perl interpreter, available in PATH.

        Attachments

        1. 6559-1.diff
          14 kB
        2. 6559-2.diff
          5 kB
        3. my_custom_tool.xml
          0.2 kB
        4. my_tool.py
          0.2 kB
        5. python_and_cutom_tool_config.zip
          1 kB

          Activity

            People

            Assignee:
            kir Kirill Rasputin
            Reporter:
            oigl Olga Golosova
            Assigned Tester:
            Igor Chebykin [X] (Inactive)
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: