Closed kopeckyf closed 3 years ago
you have to clone the glottolog data. See https://pypi.org/project/pyglottolog/. This yields a directory trees
. Probably, that directory should have a specified location on your hard disk, to which you symlink.
There might be more convenient setups for this.
The script now tries to instantiate Glottolog('.' )
. If that fails, Glottocodes will be ignored for this book project.
When importing the module
pyglottolog
inzenodo.py
, the line https://github.com/langsci/pypi/blob/67183e1d7b067ee81e092bc05f62fe6559168d28/langsci/langsci/zenodo.py#L12is responsible for an error. Apparently, a dictionary
trees
is missing? The script seems to work fine when the line is deleted.