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

Incorrect signature for activity functions #67

Open
abargnesi opened this issue Apr 2, 2016 · 0 comments
Open

Incorrect signature for activity functions #67

abargnesi opened this issue Apr 2, 2016 · 0 comments
Labels

Comments

@abargnesi
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant