Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List expression type #6

Open
MattyCrowther opened this issue Nov 18, 2019 · 4 comments
Open

List expression type #6

MattyCrowther opened this issue Nov 18, 2019 · 4 comments

Comments

@MattyCrowther
Copy link
Collaborator

From Lewis Grozinger:
ShortBOL2 needs a list expression type so that multiple value property expressions can be implemented.

This is so that templates for things like SBOL2 ComponentDefinitions can have many sequence properties.

@MattyCrowther
Copy link
Collaborator Author

Recently became an issue,
Some examples of where this is needed:
Interactions that have arbitrary length of participation objects.
SequenceAnnotation that contains 2 or more Locations in a sequence.

@MattyCrowther
Copy link
Collaborator Author

Need to think that if lists are implemented how would this affect the Template libaries.
Would we need to add some sort of iterator?
Idea of **kwargs could be an idea.

@MattyCrowther
Copy link
Collaborator Author

code to Reproduce problem:

nonCovalentBonding(cas9_generic, gRNA_generic)

This interaction requires three participants. It is not feasible or correct to create a template for every possible length of interaction.
Also, how do we know what componentDefinition pertains to which participant (different types of participants in the same interaction).

@MattyCrowther
Copy link
Collaborator Author

Note for self: During Experiment template one or more ExperimentalData objects are required so when this feature is implemented fix this.

Essentially any class that REQUIRES ONE or more references to anything would suffer from this language limitation.

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

No branches or pull requests

1 participant