Skip to content

Commit

Permalink
Improbe project scripting
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Jul 26, 2024
1 parent 516d9cc commit 70e793d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tutorials/scripting_project_creator.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## Scripting the Java MoBIE Project Creator
## Using the Java MoBIE Project Creator

One can create MoBIE projects using Java / Groovy.
One can create MoBIE projects using Java or Groovy.

Please note that we also support [creating MoBIE projects in python](https://github.com/mobie/mobie-utils-python?tab=readme-ov-file#mobie-utils-python).

Here are links to example Java / Groovy code:
Groovy scripts can be executed in the Fiji script editor.
In the Fiji menu bar select `File > New Script...`. The script editor will open.
In the script editor menu bar select `Language > Groovy`.
You can then copy and paste the below examples and modify and execute them via the `[ Run ]` button in the script editor.

- [Create a simple MoBIE project in Java](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.java)
- [Create a simple MoBIE project in Groovy](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.groovy)
Here are links to examples:

If you would like to see additional examples please [write on the forum](https://forum.image.sc/) and add the `mobie` tag on your post.
- Create a simple MoBIE project in [Java](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.java) or [Groovy](https://github.com/mobie/mobie-viewer-fiji/blob/main/src/test/java/examples/CreateMoBIEProject.groovy)

If you would like to see additional examples please [write on the forum](https://forum.image.sc/) and add the `mobie` tag on your post, we will then answer asap.

0 comments on commit 70e793d

Please sign in to comment.