Commit 0c4baf32 authored by Sean Fitzgibbon's avatar Sean Fitzgibbon
Browse files

minor tweaks

parent fd28830f
...@@ -20,7 +20,7 @@ from slider.slide_reg import register_slide_to_slide ...@@ -20,7 +20,7 @@ from slider.slide_reg import register_slide_to_slide
def run_batch(csv): def run_batch(csv):
# TODO: test what type of csv it is; SLIDE, CHART, APPLYXFM # TODO: Add support for CHART and APPLYXFM csv
df = pd.read_csv(csv) df = pd.read_csv(csv)
...@@ -31,4 +31,5 @@ def run_batch(csv): ...@@ -31,4 +31,5 @@ def run_batch(csv):
# csv is SLIDE # csv is SLIDE
for idx, row in df.iterrows(): for idx, row in df.iterrows():
register_slide_to_slide(**row) register_slide_to_slide(**row)
else:
\ No newline at end of file raise RuntimeError('Unknown CSV column names')
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment