Closed xrotwang closed 4 years ago
Formatting languages for sources with a glottocode in the lgcode field (e.g. https://glottolog.org/resource/reference/id/110600 ) duplicates the field.
lgcode
This is because the dict in which language IDs are looked up - see https://github.com/clld/glottolog3/blob/e3cb24599e2fc6ae761de92cb9a2c873a2dcd86a/glottolog3/util.py#L288 does not have the glottocodes as keys.
dict
Formatting languages for sources with a glottocode in the
lgcode
field (e.g. https://glottolog.org/resource/reference/id/110600 ) duplicates the field.This is because the
dict
in which language IDs are looked up - see https://github.com/clld/glottolog3/blob/e3cb24599e2fc6ae761de92cb9a2c873a2dcd86a/glottolog3/util.py#L288 does not have the glottocodes as keys.