added missing image, minor fixes
This commit is contained in:
parent
5e0b908139
commit
b477db20c6
@ -71,7 +71,8 @@ rect.append( r'date{\\centering{\1}}' )
|
||||
|
||||
# ---
|
||||
|
||||
def parseF(inf,outf,reSkip,reSCnt):
|
||||
# only do replacements via recs for book.tex , via applyRecs=True
|
||||
def parseF(inf,outf,reSkip,reSCnt,applyRecs=False):
|
||||
print("Fixup, "+inf+" -> "+outf+" ")
|
||||
with open(outf, 'w') as fout:
|
||||
with open(inf, 'r') as f:
|
||||
@ -119,7 +120,7 @@ def parseF(inf,outf,reSkip,reSCnt):
|
||||
# print("E " + format(t) + format(t.group(0)) )
|
||||
print("Fixup -> "+outf+" done, skips: "+format(skipTot) +" \n")
|
||||
|
||||
parseF(inf,outf,reSkip,reSCnt)
|
||||
parseF(inf,outf,reSkip,reSCnt,applyRecs=True)
|
||||
|
||||
#exit(1); print("debug exit!"); exit(1)
|
||||
|
||||
|
@ -87,7 +87,7 @@ for fnOut in fileList:
|
||||
|
||||
# images
|
||||
if d[t][i]["outputs"][j]["output_type"]=="stream":
|
||||
print( len( d[t][i]["outputs"][j]["text"] ) )
|
||||
#print("len "+ len( d[t][i]["outputs"][j]["text"] ) )
|
||||
|
||||
dell = [] # collect entries to delete
|
||||
for k in range( len( d[t][i]["outputs"][j]["text"] ) ):
|
||||
@ -106,7 +106,7 @@ for fnOut in fileList:
|
||||
for dl in dell:
|
||||
d[t][i]["outputs"][j]["text"].remove(dl)
|
||||
|
||||
print( format( len( d[t][i]["outputs"][j]["text"] )) + " A")
|
||||
#print("len after "+format( len( d[t][i]["outputs"][j]["text"] )) + " A") # debug
|
||||
|
||||
if deletes==0:
|
||||
print("Warning: Nothing found in "+fn+"!")
|
||||
|
BIN
resources/supervised-example-plot.jpg
Normal file
BIN
resources/supervised-example-plot.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
Loading…
Reference in New Issue
Block a user