eprintsug / DataCiteDoi

Registration of DOIs via DataCite
GNU General Public License v3.0
2 stars 5 forks source link

type + data_type #17

Closed cziaarm closed 6 years ago

cziaarm commented 6 years ago

There are two mapping functions that write a resourceType element in https://github.com/eprintsug/DataCiteDoi/blob/master/lib/cfg.d/z_datacite_mapping.pl#L9-L26

I there are valus for both these two resourceTypes are included in the export (which datacite doesn't like)

Possible solution: Get the one that maps type to resourceType check for a value in data_type and use that in preference to the type value (then bin the data_type mapping sub.

cziaarm commented 6 years ago

cosed by fd41e34efc7cc00a529c8f45ad22bb2b376d7768