NAL-i5K / tripal_eutils

ncbi loader via the eutils interface
GNU General Public License v3.0
4 stars 3 forks source link

undefined properties #170

Closed bradfordcondon closed 5 years ago

bradfordcondon commented 5 years ago

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).
bradfordcondon commented 5 years ago

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)
bradfordcondon commented 5 years ago

properties:

bradfordcondon commented 5 years ago

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...