Skip to content

Commit

Permalink
ci fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Martinović committed May 23, 2023
1 parent 5181692 commit c7e8ff0
Show file tree
Hide file tree
Showing 2 changed files with 1,008 additions and 4,149 deletions.
5 changes: 4 additions & 1 deletion gerstnerhungariancommands/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def run(args):
entries = defaultdict(list)

for sense in ds.objects("SenseTable"):
entry = sense.entries[0]
try:
entry = sense.entries[0]
except KeyError: # https://github.com/cldf/cldfbench/issues/86
continue
entries[entry.cldf.headword] += [sense.cldf.description]
pos = entry.cldf.partOfSpeech.split(",")[0] if entry.cldf.partOfSpeech else ""
maps = to_concepticon([{"gloss": sense.cldf.description, "pos_ref":
Expand Down
Loading

0 comments on commit c7e8ff0

Please sign in to comment.