xlrd does not support xsls files anymore

pull/9/head
Kai 3 years ago
parent ae93668bac
commit 1eb05d0d62

@ -273,6 +273,8 @@ def make_page2tsv_commands(xls_file, directory, purpose):
else:
df = pd.read_excel(xls_file, engine='openpyxl')
df = df.dropna(how='all')
for _, row in df.iterrows():
print('page2tsv $(OPTIONS) {}.xml {}.tsv --image-url={} --scale-factor={} --purpose={}'.
format(row.Filename, row.Filename, row.iiif_url.replace('/full/full', '/left,top,width,height/full'),

Loading…
Cancel
Save