pyimagej
pyimagej copied to clipboard
Add ij.run_script signature that takes file paths
Instead of taking the full script text and language, we could just accept a fully qualified path, discern the language from the extension, and do
with open(script_path, "r") as f:
script = "".join(f.readlines())
to avoid this boilerplate that is kind of annoying and feels unnecessary