Re: myExperiment workflows: "Run" option for Systo models

1 view
Skip to first unread message

Finn Bacall

unread,
Jul 8, 2015, 8:28:48 AM7/8/15
to Robert Muetzelfeldt, myexperimen...@googlegroups.com
Hi Robert,

Yes, that is possible and should be quite easy to do.

Would the run link always be in the following format?
    {systo-page-url}?modelurl={workflow-download-url}

Cheers,

Finn

On 08/07/2015 12:57, Robert Muetzelfeldt wrote:
Hi Finn,

I have been looking at the workflow "Run" option, and wondering if it would be easy (for you...) to provide a hook for Systo models.

I've been able to use the myExperiment API to get and display a list of Systo models held as myExperiment workflows, and to run a specific model.   This model can either be selected from the list, or it can be referenced separately, e.g. by its myExperiment ID, or by the full myExperiment URL.   I can also allow the model URL to be passed as a URL parameter, e.g.
http://flask.systo.org/systolite.html?modelurl=http://www.myexperiment.org/workflows/4676/download
(Note that this is a separate, experimental Systo branch, as we (my son and I) are in the process of setting up Systo on github).

In addition to providing my own mechanisms for listing and searching for Systo models on myExperiment, it would be neat if someone could look for models in myExperiment itself, using
http://www.myexperiment.org/workflows?filter=TYPE_ID%28%22115%22%29
(where the obscure TYPE_ID apparently refers to Systo...),
select a model, and then be taken to a working version of the model in a Systo-based web page from the Run section.   

I looked at a Taverna 1 workflow, and found that Run simply gives you a URL plus instructions for loading it into Taverna.   As a bare minimum, can we do the same for Systo (with slightly different instructions)? - i.e. can you provide canned text and a URL here foe other workflow types?  

Better still would be to provide a direct link, such as the one above, so that the user simply clicks on the link and the model immediately opens up in a Systo-based web page (rather than having to cut-and-paste text, as in the Taverna case).  That should I think be a trivial change to the auto-generated URL in the Run instructions, which is why I am guessing it would be easy for you to do.

It may be best if the URL does not take you to a specific Systo-based web page, such as the one above, but to a page which gives the user a choice as to which Systo-based web page they want to go to.  (There could be lots of them, made by different people, with the above SystoLite just being one of many).   This would have the advantage that I wouldn't have to come back to you if I wanted to change which web page the model was opened in, and gives the user a choice depending on their level of competence etc.

Does this sound easily do-able?

This sounds consistent with the text in the relevant FAQ:
Can I execute workflows from myExperiment?
As well as sharing workflows, our goal is that myExperiment will be integrated with remote execution services for supported workflow systems, so that users can run workflows from myExperiment and from other interfaces which use myExperiment functionality. . . . . .  Please contact us about your favourite workflow system. We anticipate that web-based interfaces and functionality mashups will become the predominant interfaces to workflow systems, especially in a multiworkflow environment.

Cheers,
Robert
-- 
-----


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-- 
Finn Bacall
Room 1.17
School of Computer Science
University of Manchester
http://www.myexperiment.org/
Reply all
Reply to author
Forward
0 new messages