Skip to content

Commit

Permalink
ls markup for 'ed. Bomb.' and 'ed. Calc.'. #57
Browse files Browse the repository at this point in the history
  • Loading branch information
funderburkjim committed Jun 24, 2022
1 parent 32623db commit bb04a92
Show file tree
Hide file tree
Showing 6 changed files with 10,595 additions and 604 deletions.
10 changes: 9 additions & 1 deletion pwg_ls2/mbh1/lsextract_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,12 @@ class Tooltip(object):
def __init__(self,line):
line = line.rstrip('\r\n')
# pwg has code, abbrevUpper, abbrevLower,tip
self.code,self.abbrev,self.abbrevlo,self.tip = line.split('\t')
try:
self.code,self.abbrev,self.abbrevlo,self.tip = line.split('\t')
except:
print('Tooltip error:\n%s' %line)
parts=line.split('\t')
exit(1)
self.total = 0

def init_tooltip(filein):
Expand Down Expand Up @@ -193,6 +198,9 @@ def count_tips(lines,tipd,numbertip,unknowntip):
# found a match

tip.total = tip.total + 1
if False: # debug
if iline == 21943:
print("DBG: ",tip.abbrev)
#lscase = LSCase(elt,abbrev,metaline,iline,line)
#entry.append(lscase)

Expand Down
Loading

0 comments on commit bb04a92

Please sign in to comment.