Skip to content

How do I run an ijm script? #43

Description

@kylegalloway

I'm attempting to run an ijm script by changing the example that runs a python script.

The script I'm attempting to run is as follows:

run("Set Scale...", "distance=4.585 known=1 pixel=1 unit=µm");
setAutoThreshold("MaxEntropy dark");
setOption("BlackBackground", true);
run("Convert to Mask");
run("Despeckle");
run("Watershed");
run("Analyze Particles...", "size=16-Infinity circularity=0.50-1.00 display exclude summarize");

I tried setting language to ijm and in1 to the script but that caused an error. I tried escaping the quotes, parentheses, and replacing the newlines with \n and that still caused an error. I tried changing in1 to be script and removing in2 and I'm still seeing errors.

Any help would be appreciated.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions