is it possible to pass parameters to script?

87 views
Skip to first unread message

Murali S

unread,
Nov 13, 2017, 1:28:02 AM11/13/17
to QuPath users
Hi,

1. Is it possible to pass parameter to the groovy script while we using the QuPath via terminal?
The command:
java -jar QuPathApp.jar -image <imgpath> -script <script path>

2. Can we run the above command outside of QuPath directory?

Thanks & Regards,
Murali S.

Pete

unread,
Nov 15, 2017, 3:02:55 AM11/15/17
to QuPath users
I don't think so, in any conventional sense.  The provided ability to run QuPath from a command line is currently very limited, but may change and improve in the future.

You should be able to run QuPath from other directories if the paths can be set appropriately, but I don't have any particular method to suggest.  You might want to look into how to specify the classpath / Java library path, or setting the current working directory, when running a java application from the command line in general.
Reply all
Reply to author
Forward
0 new messages