Skip to content

Add ij.run_script signature that takes file paths #318

Description

@hinerm

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions