Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11890 (new)

Opened 10 years ago

Last modified 8 years ago

Parameters specified to 3rd party tool

Reported by: jburel Owned by: jburel
Priority: major Milestone: Unscheduled
Component: Insight Version: 4.4.9
Keywords: n.a. Cc: sbesson, mporter, imunro-x
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Define sequence of parameters to specify to 3rd party.
SessionId? should be specified in order to allow connection.
/insight will create a new session so the application can be independent.

Change History (12)

comment:1 Changed 10 years ago by imunro-x

I've experimented a little with this on OSX & I can invoke FLIMfit with parameters like this:
open -a /Applications/FLIMfit\ 4.5.13_DEVIAN.app/ --args "arg1" "arg2"
the problem is that I can only pass 1 argument at a time like this so the first arg would have to be n_args.
It would be interesting to know if sbesson or mporter can find a better solution.

comment:2 Changed 10 years ago by mporter

I have tested the following from the command line on OSX:

./run_ImageAnalysisMac.sh /Applications/MATLAB/MATLAB_Compiler_Runtime/v80 -k 55677 -s nightshade.openmicroscopy.org.uk -w intensityAnalysis -t dataset id 55833

Note that using the basic compiler in matlab means that the path to the MCR has to be specified before arguments to the programme (on Mac, not on windows). I think it's possible to include the MCR in the package, but this massively increases the size of the package the user has to download each time. I haven't tried to pass the command from a java application to the system.

comment:3 Changed 10 years ago by imunro-x

Thanks. So I tried the equivalent for FLIMfit ( which is packaged as a .app ) i.e.
/ApplicationsFLIMfit\ 4.5.13_DEVIAN.app/ContentsResources/script arg1 arg2
and that seemed to work! I just need to close the resulting terminal window now. & it looks like there's no requirement for number_of_args.

comment:4 Changed 9 years ago by jamoore

Referencing ticket #11886 has changed sprint.

comment:5 Changed 9 years ago by jamoore

Referencing ticket #11886 has changed sprint.

comment:6 Changed 9 years ago by jburel

Referencing ticket #11886 has changed sprint.

comment:7 Changed 9 years ago by jburel

Referencing ticket #11886 has changed sprint.

comment:8 Changed 9 years ago by jburel

  • Milestone changed from 5.1.2 to 5.1.3

To discuss in Paris so we can wrap it up.
Most of the work done.

comment:9 Changed 9 years ago by jamoore

  • Milestone changed from 5.1.4 to OMERO-5.1.4

Splitting 5.1.4 due to milestone decoupling

comment:10 Changed 8 years ago by jamoore

  • Milestone changed from 5.x to Unscheduled

comment:11 Changed 8 years ago by jamoore

Referencing ticket #11886 has changed sprint.

comment:12 Changed 8 years ago by jamoore

Referencing ticket #11886 has changed sprint.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.73765 sec.)

We're Hiring!