UofS-Pulse-Binfo / tripal_bibtex

A BibTEX importer for Tripal Publications.
GNU General Public License v3.0
2 stars 2 forks source link

tripal pub skipping terms #11

Open bradfordcondon opened 6 years ago

bradfordcondon commented 6 years ago

the following terms get skipped when importing the no_ws @laceysanderson 's input file.

[site http://default] [TRIPAL ERROR] [TRIPAL_PUB] Cannot find term: 'Url'. Skipping.
WD tripal_pub: Cannot find term: 'Month'. Skipping.                                                                              [error]
[site http://default] [TRIPAL ERROR] [TRIPAL_PUB] Cannot find term: 'Month'. Skipping.
WD tripal_pub: Cannot find term: 'Doi'. Skipping.                                                                                [error]
[site http://default] [TRIPAL ERROR] [TRIPAL_PUB] Cannot find term: 'Doi'. Skipping.
WD tripal_pub: Cannot find term: 'Pmid'. Skipping.                                                                               [error]
[site http://default] [TRIPAL ERROR] [TRIPAL_PUB] Cannot find term: 'Pmid'. Skipping.

NOTE: publishing records is performed using a database transaction.
If the load fails or is terminated prematurely then the entire set of
is rolled back with no changes to the database

I'm assuming this is going to end up being a tripal_pub issue? I know that DOI at least should be a valid tag, probably needs to be to_upper or to_lower'd....

laceysanderson commented 5 years ago

Yes, this is within tripal_pub_add_publication(). We could A) change the parsed record to match formats we know tripal pub expects or B) File an issue over on Tripal to request tripal_pub_add_publication() be more tolerant.

What are your thoughts?