Skip to content

Issue with Component Definition with Sequence Constraints #111

@PrashantVaidyanathan

Description

@PrashantVaidyanathan

If there is a Component Definition with sequence constraints and components, but no sequence annotations, the image rendered shows parts as "unknown type" instead of the rendering the part based on the role assigned to the component e.g. Promoter/RBS etc.

image

I believe this happens due to this part in the code:

roles : [],

Where if there is no sequence annotation found that matches a specific component, a new sequence annotation is created however, the role field is an empty list and does not inherit the role(s) of the component.

Here's an intermediate json representation of the structure that reproduces the error observed.

visbolsc_repro.txt

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