NAL-i5K/tripal_eutils

undefined properties

bradfordcondon opened this issue · 3 comments

When running the mega test

[TRIPAL ERROR] [TRIPAL_CHADO] chado_select_record: the foreign key definition for 'dbxref_id' on table 'cvterm' returned no results where the definition supplied was Array(    [db_id] => Array        (            [name] => ncbi_properties        )    [accession] => note)
[site http://tripal.test] [TRIPAL ERROR] [TRIPAL_CHADO] chado_get_property: Multiple terms found. Cannot add the property. Property was described by: Array(    [type_id] =>     [value] => This sample group is the combination of the 2 individual BioSamples: SAMN02644979 and SAMN02999479).
[site http://tripal.test] [TRIPAL ERROR] [TRIPAL_CHADO] chado_insert_property: Multiple terms found. Cannot add the property. Property was described by: Array(    [type_id] =>     [value] => This sample group is the combination of the 2 individual BioSamples: SAMN02644979 and SAMN02999479).

Also undefined property for "samples provided by"

[site http://tripal.test] [TRIPAL ERROR] [TRIPAL_CHADO] chado_select_record: the foreign key definition for 'dbxref_id' on table 'cvterm' returned no results where the definition supplied was Array(    [db_id] => Array        (            [name] => ncbi_properties        )    [accession] => samples provided by)

properties:

  • samples provided by
  • note
  • Publication

#173 just inserts the missing properties. Both samples provided by and publication should really be their own metadata fields, not attributes. however, itsp robably better to mirror NCBI in these cases...