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

Generalised Custom Attribute #20

Merged
merged 10 commits into from
Apr 28, 2020
Merged

Generalised Custom Attribute #20

merged 10 commits into from
Apr 28, 2020

Conversation

KeironO
Copy link
Collaborator

@KeironO KeironO commented Apr 28, 2020

Well, this took a bit longer than I had previously anticipated.

As we move toward Donor implementation, it occurred to me that we'd be better off having a generalised approach to custom attributes. This means that instead of having a Custom Sample Attribute or a Custom Donor Attribute, we just have a Custom Attribute. This is added by using the Attribute Portal:

image

When the user adds an attribute, they are greeted with this form:

image

Wherein the user is able to associate an attribute to one, or all database elements (Donor, Sample, Storage etc).

In addition to this, I've removed the dependency of inflect - as well as begun playing with ontology-aided form creation. This can be seen when attempting to add a numeric custom attribute, LImBuS will pull measurements and prefixes from UO.

Oh, and clear_session is now in misc. I'll have to fix this before I merge - so give me a couple minutes after I've typed this up.

@KeironO KeironO merged commit 767ed2d into dev Apr 28, 2020
@KeironO KeironO deleted the custom-attribute branch April 28, 2020 15:13
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

Successfully merging this pull request may close these issues.

1 participant