-
Notifications
You must be signed in to change notification settings - Fork 1
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
How to add trait in tripal content types #133
Comments
Hi @cornellyujy, Based on the screenshots above
The error you see when creating the content type:
Solution:
That should ensure you have all the fields added to your Trait Content Type and they will now have all the terms they need. To play with Trait pages further you will want to "Publish" them so you can see the example content :-) |
Hi @laceysanderson , Thanks for your response. Now I have loaded the phenotypic data into chado table. |
I have never seen that before nor can I duplicate it on a fresh Tripal site. I am so confused as that error is implying that the vocabulary attached to that content type no longer exists... but your screenshots show it does. Can you double-check that the vocabulary shown in the Tripal Content edit page for "Trait" is still available in your Chado database? Also, look in your pgAdmin at the |
Exactly. Everything in Tripal and my modules use the keys so creating new will always break the connection.
Yes, there will be one "Trait" Content Type per genus. For example, in KnowPulse we have a "Lentil Traits" for Lens genus (with multiple species) and a "Common Bean Traits" for Phaseolus genus (again with multiple species). |
Hi @laceysanderson , in our tripal, we have no trait in tripal content types section. I have to add trait in tripal content types.
Here are my steps, and I am not if make sense.
#step1. select cvterm as the trait table
#step2. select All records that belong to a single controlled vocabulary
#step3. select a controlled vocabulary
#step4. create content types
For the step3, I am not sure which controlled vocabulary should be selected. You know last time you told me that the 3 CVs (traits, methods, and Units) should have one db, but I have created two types: 1 DB for the 3 CVs, and 3 DBs for 3 CVs. Now, if we cancel the 3 to 3, which db should be added. Thanks~
The text was updated successfully, but these errors were encountered: