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

PhyTreeObject::clone() - PhyTree has not a copy constructor

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.3, 1.12
    • Component/s: None
    • Labels:
      None

      Description

      When you save a copy of a tree file (and add to the project automatically) then the saved copy contains the same im-memory structures that the source object contains. So, when you change something in one of them (e.g. swap branches) then the second thee changes too.

      Expected decision:
      Create copy constructors for all tree classes for deep cloning.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ggrekhov German Grekhov
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: