Skip to content

Copy fails when object to copy is a nested list with an empty list #307

@tati-micheletti

Description

@tati-micheletti

The Copy function does not allow for a nested list in Mod with objects that are an empty list. It tries to flattern the list but end up with naming mismatches because of the empty list, so it fails silently (as this specific call of Copy in Lines 43-50 of recoverModePre) is wrapped with capture.outputs(). I would suggest thinking about a solution for this (even if it is testing for an empty list inside a nested list saying at this point "All objects in Mod, including nested lists, need to be named"). We can brainstorm a solution if you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions