Closed tresoldi closed 5 years ago
Ah, sorry for breaking the tests - we'd need to pin pyglottolog
, i.e. require
pyglottolog~=1.0
here https://github.com/clics/pyclics/blob/8915b2ab855f0fe996933f5a6efbfbaf5fa934aa/setup.py#L31
Thank you, @xrotwang . Passing tests now. :smiley:
Thinking about it, the better way to fix the tests would be by providing an acceptable directory to instantiate a pyglottolog.Glottolog
object here https://github.com/clics/pyclics/blob/8915b2ab855f0fe996933f5a6efbfbaf5fa934aa/tests/test_commands.py#L21
We'd need to add directories references
and languoids/tree
.
Limiting to pyglottolog
< 2 is an artificial restriction, because pyglottolog
2.0 is compatible "enough" for our purposes.
This would be similar to the tests in pylexibank
, correct? Like here https://github.com/lexibank/pylexibank/blob/9e549ed0b740510c190bf26573695299045f97ec/tests/test_commands.py
We should probably open a new issues for that, however.
Solves and implements what is debated on issue #19.
Problematic concepts are now purged:
The internal dataset is preserved, but the header was changed from Glosses to Parameters:
And the results are confirmed to be the same: