caltechlibrary / irdmtools

A Go and Python package for working with InvenioRDM repositories.
https://caltechlibrary.github.io/irdmtools
Other
1 stars 1 forks source link

eprints2rdm: Caltech group transfer issue #42

Closed tmorrell closed 1 year ago

tmorrell commented 1 year ago

https://authors.caltechlibrary.dev/records/92gnw-jns09

Groups field is Caltech Center for Environmental Microbial Interactions (CEMI), Caltech Center for Environmental Microbial Interactions (CEMI) when it should be Heritage Medical Research Institute, Caltech Center for Environmental Microbial Interactions (CEMI)

rsdoiel commented 1 year ago

Note to self: We should fix this in irdm/fixup.py.

tmorrell commented 1 year ago

I don't think this can be a fixup, since the group name is getting list in eprints2rdm. It's probably just a little go bug.

Reproduce with eprint2rdm authors.library.caltech.edu 89397

rsdoiel commented 1 year ago

Fixed in upcomign v0.0.39 release. Map was being initialized outside a loop when it needed to be (re)initialized inside a loop.