Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sean Fitzgibbon
SlideR 🍔
Commits
0c4baf32
Commit
0c4baf32
authored
Jun 23, 2021
by
Sean Fitzgibbon
Browse files
minor tweaks
parent
fd28830f
Changes
1
Hide whitespace changes
Inline
Side-by-side
slider/batch.py
View file @
0c4baf32
...
...
@@ -20,7 +20,7 @@ from slider.slide_reg import register_slide_to_slide
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
)
...
...
@@ -31,4 +31,5 @@ def run_batch(csv):
# csv is SLIDE
for
idx
,
row
in
df
.
iterrows
():
register_slide_to_slide
(
**
row
)
\ No newline at end of file
else
:
raise
RuntimeError
(
'Unknown CSV column names'
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment