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

"Data writers" elements unite results into one file if input files have similar names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      DEV-42-4
    • Affect Type:
      Userdefined

      Description

      Scenario:

      1. Duplicate the "murine.gb" file.
      2. Rename the original file as "murine.1.gb" and the duplicate as "murine.2.gb".
      3. Open WD.
      4. Add "Read sequence" and "Write Annotations" elements and connect them.
      5. Add "murine.1.gb" and "murine.2.gb" as the input of the "Read sequence" element.
      6. Run the workflow.
        Expected result:  there are two output files "murine.1.gb" and "murine.2.gb", each of them contains one annotation table.
        Actual result:  there is the only one output file "murine.gb" with two annotation tables.

      The reason is in the BaseDocWriter.cpp file, line 171. We need to use "completeBaseName()" instead of "baseName()" to save the original sequence name.

        Attachments

          Activity

            People

            Assignee:
            dsukhomlinov Dmitrii Sukhomlinov
            Reporter:
            dsukhomlinov Dmitrii Sukhomlinov
            Assigned Tester:
            Svetlana Samoilenko
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: