UofS-Pulse-Binfo / analyzedphenotypes

Tripal/Drupal support for analyzed phenotypic data including data loaders, exporters, trait pages and summaries on germplasm pages.
GNU General Public License v2.0
0 stars 1 forks source link

ncit__method (methods) and sio__study (experiments) fields #62

Closed laceysanderson closed 5 years ago

laceysanderson commented 5 years ago

Metadata

Documentation:

Description

This PR creates two new fields for use on Trait pages:

  1. Navigate to structure > Tripal Content Types > [cvterm-based content type] > manage fields
  2. Check for new fields and confirm ncitmethod and siostudy were added
  3. Go to manage display and ensure both fields are displayed
  4. Go to a specific trait page and ensure you see all methods and experiments.

NOTE: On KP Fresh the correct content type is 'Trait' and it stores cvterm in 'UofS Lentil Traits' for project genus 'Lens'. Example trait pages are: Trait/2653817, Trait/2653826, Trait/2653829 NOTE2: in the examples provided some traits have unintelligible names. This is due to them being loaded before PR #60 was implemented.

reynoldtan commented 5 years ago

Tripal 3 fields are available but the select a widget field option is disabled and saving the field would cause 'Add existing field: you need to select a widget.' error.

screen shot 2019-02-19 at 11 20 52 am

laceysanderson commented 5 years ago

This was due to trying to add the field on a non-cvterm based content type and is the correct behaviour. Although I'm surprised it even shows up in the list.

reynoldtan commented 5 years ago

It worked beautifully, collection method, experiment, title, footnotes, years, location, fieldset and all 👍.