Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Incorrect signature for activity functions #67

@abargnesi

Description

@abargnesi

Activity terms result in an abundance return type. For example kinaseActivity's signature is defined as:

kinaseActivity(F:abundance)abundance

It is then valid to embed an activity term in another abundance:

# signature: complexAbundance(F:abundance...)abundance
complex(kin(p(HGNC:JAK2)))

This should not be semantically valid. The activity functions should instead return their function as a result to catch this type of error.

See OpenBEL/language#8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions