Repository navigation
Conversation
create_html_page(name, output_folder) requires output_folder argument but gen_image() called it as create_html_page(html_page_name), causing TypeError when --html flag is used. Fix: add output_folder argument to the create_html_page call. Fixes mxmssh#36. GH007.
|
Hi — this has been open for a while, so I am checking whether it is still wanted. In This PR passes |
|
Checking in on the The second argument is now forwarded from the same value the rest of the script uses for its output. If the output directory is meant to come from a different flag, say so and I will adjust the call site. Warmly, |
Summary
The
gen_imagefunction inapi_calls_viz/api_calls_vis_python3.pycallscreate_html_page(html_page_name)but the function signature iscreate_html_page(name, output_folder), requiringoutput_folderas a second argument.When running with the
-ht/--htmlflag, the script crashes with:Fix
Pass
output_folderas the second argument tocreate_html_pageingen_image.Testing
now writes all three outputs (image, legend HTML, page HTML) without crashing.
Fixes #36. GH007.