You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Gale Naylor <ga...@noventussolutions.com> on 2015/06/19 00:22:21 UTC
Taverna Language Command Line tool - convert command doc
Hello,
My name is Gale Naylor and I have been "listening in" on the various Taverna
GSOC projects to see if I can help with documentation. I have prepared a
draft description of the Command Line convert command (including my guess at
examples), attached as a PDF (for now). I would appreciate any feedback on
content and whether or not this is helpful for you.
Some questions:
1) Is this still the basic structure of the command: tavlang convert
[options] <output format> <input files>? Am I wrong in thinking that the
output formats are handled as options?
2) Are -r and -i ever used independently? If so, under what circumstances?
3) Is <input files> used with the recursive option? If not, is it optional
and should it be in brackets?
4) Should -json be double-dashed?
I'm new to the Apache community, so please let me know the right way to
help.
Thank you,
Gale
Re: Fwd: Taverna Language Command Line tool - convert command doc
Posted by alaninmcr <al...@googlemail.com>.
Hello Menaka,
It would probably help if you gave examples of the usage as well as the,
more formal, definition.
The blog is a great idea.
Alan
Re: Taverna Language Command Line tool - convert command doc
Posted by Stian Soiland-Reyes <st...@apache.org>.
Thanks, Gale! I included the picture here:
http://taverna.incubator.apache.org/documentation/scufl2/api
(you might need to click Refresh)
On 23 July 2015 at 15:00, Ian Dunlop <ia...@manchester.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello,
>
> I've uploaded the taverna language modules image to the img folder on
> the site. We can figure out where to link it to later.
>
> Cheers,
>
> Ian
>
> On 23/07/2015 14:53, Gale Naylor wrote:
>> @Ian, yes the api.md changes are still valid, so please update
>> them. There are several other instances of "None Apache" that I
>> will be submitting changes for soon. Thanks for explaining how the
>> final updating process works with SVN.
>>
>> As far as what to do with the Taverna_Language_Modules.png
>> diagram, Stian asked me to upload it, and my thought was to put it
>> in the img folder so it would be available on the site. I have yet
>> to understand the entire project documentation structure, so I
>> don't have a better answer for where it belongs right now. If it's
>> premature to upload it without a home, that's fine. I can do it
>> later. (Did I start a different thread? I didn't mean to.)
>>
>> Thanks for the encouragement and the help!
>>
>> Gale
>>
>>
>> On Thu, Jul 23, 2015 at 3:10 AM, Ian Dunlop
>> <ia...@manchester.ac.uk> wrote: Hello,
>>
>> @Gale The changes to api.md are still valid then I guess. The
>> actual updating process is a bit convoluted since the github repo
>> is not directly linked to the website repo so don't worry too much
>> about closing the pull request for the moment :) Any changes have
>> to be manually merged in to the SVN repo which has the website
>> code. So, if it's ok with you we will update api.md. What will we
>> do with Taverna_Language_Modules.png. Is this for some docs on the
>> taverna-language github repo or intended for the website (actually
>> I just noticed you started this discussion in a separate thread)?
>>
>> Don't worry about making 'mistakes' like committing the wrong thing
>> to the repo. We've all made them and it is not a big deal (you
>> should look at some of the things I did while attempting the last
>> 2 releases!). It's a community effort and we are all here to help
>> each other.
>>
>> Cheers,
>>
>> Ian
>>
>> On 22/07/2015 19:11, Gale Naylor wrote:
>>>>> Hi Ian,
>>>>>
>>>>> The last 3 pull requests I made (update index.md, merge pull
>>>>> request #1, and update index.md) I did not intend to make. I
>>>>> didn't realize they were going out. Sorry if it was
>>>>> confusing.
>>>>>
>>>>> I tried to fix the "broken links" in the
>>>>> https://github.com/apache/incubator-taverna-site pages, but
>>>>> now I understand the links only work in the
>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>> pages. I thought I was trying something in a local copy.
>>>>>
>>>>> Is there a process for rejecting them, or can I just delete
>>>>> my github repository and fork a new one?
>>>>>
>>>>>
>>>>> Gale
>>>>>
>>>>> On Tue, Jul 21, 2015 at 7:35 AM, Ian Dunlop
>>>>> <ia...@manchester.ac.uk> wrote: Hello,
>>>>>
>>>>> Hi Gale. I can see the pull request here
>>>>> https://github.com/apache/incubator-taverna-site/pull/1
>>>>> Thanks very much :) We'll have a look and get it merged soon
>>>>> (or feedback in case any changes etc are needed).
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Ian
>>>>>
>>>>> On 21/07/2015 15:04, Gale Naylor wrote:
>>>>>>>> Hi Stian,
>>>>>>>>
>>>>>>>> I have submitted a pull request regarding adding the
>>>>>>>> Taverna Language Modules diagram. This is my first
>>>>>>>> time, so I'm not sure if I did it correctly or if there
>>>>>>>> is anything else I need to do now.
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>>
>>>>>>>> Gale
>>>>>>>>
>>>>>>>> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
>>>>>>>> <st...@apache.org> wrote:
>>>>>>>>> Thanks!
>>>>>>>>>
>>>>>>>>> We have a general contributor guide for the website
>>>>>>>>> here:
>>>>>>>>>
>>>>>>>>> http://taverna.incubator.apache.org/community/edit
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Editing the website itself in a fork can be done in
>>>>>>>>> the GitHub web interface, but to add the diagram to a
>>>>>>>>> GitHub pull request (e.g. ) would probably require
>>>>>>>>> you to check out from your fork of
>>>>>>>>> https://github.com/apache/incubator-taverna-site --
>>>>>>>>>
>>>>>>>>> you could also contribute it as an attachment to a
>>>>>>>>> Jira bug report:
>>>>>>>>> https://issues.apache.org/jira/browse/TAVERNA/component/1232681
> 9
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>
>>>>>>>>>
> I don't think a single diagram would require a CLA with ASF -
>>>>>>>>> your contribution should be automatically covered by
>>>>>>>>> the #5 in http://www.apache.org/licenses/LICENSE-2.0
>>>>>>>>> - but we might need you to sign a CLA -
>>>>>>>>> http://www.apache.org/licenses/#clas - before we can
>>>>>>>>> accept larger contributions.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 3 July 2015 at 05:29, Gale Naylor
>>>>>>>>> <ga...@noventussolutions.com> wrote:
>>>>>>>>>> Hi Stian,
>>>>>>>>>>
>>>>>>>>>> Yes, when I get home from vacation (July 10-11), I
>>>>>>>>>> will look at this information more carefully and
>>>>>>>>>> have a go at adding it to the website. I will let
>>>>>>>>>> you know if I have any questions.
>>>>>>>>>>
>>>>>>>>>> Thank you,
>>>>>>>>>>
>>>>>>>>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>>>>>>>>> <st...@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi, Gale, thanks for your effort on documenting
>>>>>>>>>>> tavlang - as it's being developed!
>>>>>>>>>>>
>>>>>>>>>>> Do you think you could have a go at adding this
>>>>>>>>>>> to the website in MarkDown/HTML format..? See
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/c
> ont
>>
>>>>>>>>>>>
> ent
>>>>>
>>>>>>>>>>>
>> /documentation/scufl2
>>>>>>>>>>>
>>>>>>>>>>>
>>>>> which is the source for
>>>>>>>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>
>>>>>>>>>>>
> (perhaps /scufl2 in the URL should be renamed to /language
>>>>>>>>>>> ?)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> .wfbundle workflows is a kind of earlier form of
>>>>>>>>>>> RO Bundle, but predates their formal
>>>>>>>>>>> specification and does not use the
>>>>>>>>>>> taverna-robundle API. So they were meant to be
>>>>>>>>>>> updated to also be full RO Bundles - basically
>>>>>>>>>>> having a JSON manifest instead/in addition to the
>>>>>>>>>>> XML one. So it should at some point be possible
>>>>>>>>>>> to convert them. Perhaps a prototype converter
>>>>>>>>>>> could just copy over the files internally between
>>>>>>>>>>> the UCFPackage and the Bundle and thus update the
>>>>>>>>>>> new manifest?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> The code that does the wfbundle writing:
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/R
> DF
>>>>>
>>
> XMLWriter.java
>>>>>>>>>>>
>>>>>>>>>>>
>>>>> and reading:
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/R
> DF
>>>>>
>>
> XMLReader.java
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>> So this relies on the UCF support from:
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpac
> ka
>>>>>
>>
> ge/UCFPackage.java
>>>>>>>>>>>
>>>>>>>>>>>
>>>>> .. which is basically a proxy for manipulating a ZIP file and
>>>>> its manife st.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> But this should ideally be updated to use the RO
>>>>>>>>>>> Bundle API from:
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/tree/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-robundle
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>> and thus have proper support for linking the annotation/
>>>>> files to
>>>>>>>>>>> their corresponding workflow elements, rather
>>>>>>>>>>> than having to parse them all to find the right
>>>>>>>>>>> one.
>>>>>>>>>>>
>>>>>>>>>>> as the UCFPackage types are used throughout the
>>>>>>>>>>> wfbundle writer changing this would take a bit
>>>>>>>>>>> of effort.. or just wrapping it from UCFPackage.
>>>>>>>>>>> Here's an earlier attempt:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/ucf
> pac
>>
>>>>>>>>>>>
> kag
>>>>>
>>>>>>>>>>>
>> e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/
> sc
>>>>>
>>
> ufl2/ucfpackage/UCFPackage.java
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>> (Note: That branch has test errors)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> As you see it calls the writeAsODFManifest();
>>>>>>>>>>> which writes out the classic
>>>>>>>>>>> META-INF/manifest.xml for backwards
>>>>>>>>>>> compatibility. This is permitted by our spec -
>>>>>>>>>>> but violating a NOT RECOMMENDED ("e.g. Know what
>>>>>>>>>>> you are doing"):
>>>>>>>>>>> https://w3id.org/bundle#manifest-xml
>>>>>>>>>>>
>>>>>>>>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>> Hi Gale, I'm really appreciate your feedback on
>>>>>>>>>>>> my blogs. I'm very new and there could be some
>>>>>>>>>>>> flows. Thank you very much for showing them.
>>>>>>>>>>>> :-)
>>>>>>>>>>>>
>>>>>>>>>>>> 1) Yes, the types of bundle formats that can
>>>>>>>>>>>> be converted are listed in this blog.
>>>>>>>>>>>>
>>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-lan
> gua
>>
>>>>>>>>>>>
> ge-
>>>>>
>>>>>>>>>>>
>> command-line-tool-conversion-documentation-research-objects/
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>> The bundles are not workflows.
>>>>>>>>>>>>
>>>>>>>>>>>> 2) No. It seems like the way I have wrote it
>>>>>>>>>>>> somewhat misleading..... Actually scufl2
>>>>>>>>>>>> workflows are not Bundles. Those are two
>>>>>>>>>>>> different APIs. I'll update the blog. :-)
>>>>>>>>>>>>
>>>>>>>>>>>> 3).Yes, my mistake. Neither .t2flow nor
>>>>>>>>>>>> wfbundle could be converted into robundle.
>>>>>>>>>>>>
>>>>>>>>>>>> 4). Yes Gale. That modification should be done.
>>>>>>>>>>>> Other wise it looks like any format could be
>>>>>>>>>>>> converted into Robundle. I'll update my blog
>>>>>>>>>>>> too.
>>>>>>>>>>>>
>>>>>>>>>>>> Are there any more facts that need
>>>>>>>>>>>> clarification about the blogs please
>>>>>>>>>>> ask
>>>>>>>>>>>> me. :)
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you very much Gale. Menaka
>>>>>>>>>>>>
>>>>>>>>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've been reading and learning more about
>>>>>>>>>>>>> research objects, and I think I understand
>>>>>>>>>>>>> better what is going on, but I still have
>>>>>>>>>>>>> some questions.
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1) I am curious as to which file types *can*
>>>>>>>>>>>>> be converted to .robundle format? (I must
>>>>>>>>>>>>> have missed something because I thought
>>>>>>>>>>>>> .t2flow and .wfbundle were the only allowed
>>>>>>>>>>>>> input file types.)
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2) In rereading your June 18th blog post, I
>>>>>>>>>>>>> see you say that the command line tool is for
>>>>>>>>>>>>> converting and managing workflow "bundles" as
>>>>>>>>>>>>> well as research object bundles. Are t2flow
>>>>>>>>>>>>> files "workflow bundles" or just "workflows?"
>>>>>>>>>>>>> Or is there not a practical difference?
>>>>>>>>>>>>>
>>>>>>>>>>>>> 3) I understand now that not all file format
>>>>>>>>>>>>> conversions are valid. I'm trying to
>>>>>>>>>>>>> understand this better. In your June 18th
>>>>>>>>>>>>> blog post you say:
>>>>>>>>>>>>>
>>>>>>>>>>>>> "The conversion function supports converting
>>>>>>>>>>>>> .t2flow and .wfbundle formats into following
>>>>>>>>>>>>> formats:
>>>>>>>>>>>>>
>>>>>>>>>>>>> .structure
>>>>>>>>>>>>>
>>>>>>>>>>>>> .json
>>>>>>>>>>>>>
>>>>>>>>>>>>> .iwir
>>>>>>>>>>>>>
>>>>>>>>>>>>> .wfbundle
>>>>>>>>>>>>>
>>>>>>>>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>>>>>>>>
>>>>>>>>>>>>> .robundle –> (development in progress)"
>>>>>>>>>>>>>
>>>>>>>>>>>>> To me, reading this looks like all
>>>>>>>>>>>>> combinations are valid.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm wondering, can both .t2flow and .wfbundle
>>>>>>>>>>>>> files be converted to all file types *except*
>>>>>>>>>>>>> robundle?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 4) I fixed the examples in my blog post.
>>>>>>>>>>>>> Should I also change the --robundle option
>>>>>>>>>>>>> description to say "Output bundle as
>>>>>>>>>>>>> .robundle" instead of "Output workflow as
>>>>>>>>>>>>> .robundle" ? (Same for .wfbundle option.)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks for the feedback and the correct link
>>>>>>>>>>>>> to the example!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Have a nice weekend.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
>>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>>> Hi Gale, Use this link
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.j
> av
>>>>>
>>
> a
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>> Cheers
>>>>>>>>>>>>>> Menaka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you for the feedback and
>>>>>>>>>>>>>>> clarifying information. Sorry not to
>>>>>>>>>>>>> respond
>>>>>>>>>>>>>>> sooner. I am learning about bundles, etc.
>>>>>>>>>>>>>>> and reading the link you
>>>>>>>>>>> sent.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> One thing, I'm having trouble getting to
>>>>>>>>>>>>>>> the example in the Examples
>>>>>>>>>>> of
>>>>>>>>>>>>> Use
>>>>>>>>>>>>>>> Section: "Example in full is at
>>>>>>>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Can you help me? This is what I've done
>>>>>>>>>>>>>>> so far:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Clicking on the link gets me the "This
>>>>>>>>>>>>>>> is not the web page you are looking for"
>>>>>>>>>>>>>>> page. (This is the actual link address:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.jav
> a
>>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>
>>
> )
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Entering
>>>>>>>>>>>>>>> "org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>>>>> also doesn't
>>>>>>>>>>> work
>>>>>>>>>>>>> for
>>>>>>>>>>>>>>> me. I didn't think it would, but I tried
>>>>>>>>>>>>>>> anyway.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Searching for "taverna robundle
>>>>>>>>>>>>>>> TestExample" on the main Apache.com
>>>>>>>>>>>>> page
>>>>>>>>>>>>>>> yields no results.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I will continue to read and understand
>>>>>>>>>>>>>>> the RO Bundle API page, but I
>>>>>>>>>>>>> would
>>>>>>>>>>>>>>> like to see the full Test Example, if
>>>>>>>>>>>>>>> possible.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -----Original Message----- From: Menaka
>>>>>>>>>>>>>>> Madushanka [mailto:menaka12350@gmail.com]
>>>>>>>>>>>>>>> Sent: Saturday, June 20, 2015 11:09 AM
>>>>>>>>>>>>>>> To: dev@taverna.incubator.apache.org
>>>>>>>>>>>>>>> Subject: Re: Taverna Language Command
>>>>>>>>>>>>>>> Line tool - convert command doc
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-la
> ngu
>>
>>>>>>>>>>>
> age
>>>>>
>>>>>>>>>>>
>> -command-line-convert-examples/
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>> Example 2: Simple conversion, multiple input files, no
>>>>> options
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> $tavlang convert –-robundle
>>>>>>>>>>>>>>>> /someFile1.wfbundle
>>>>>>>>>>>>>>>> /someFile2.wfbundle
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>>>>>>>>> */someFile2.wfbundle* into *.robundle*
>>>>>>>>>>>>>>>> format and saves the output files to
>>>>>>>>>>>>>>>> the */converted* folder in the current
>>>>>>>>>>>>>>>> working directory.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Taverna language *cannot* convert
>>>>>>>>>>>>>>> .wfbundles/.t2flow into robundle
>>>>>>>>>>>>> format.
>>>>>>>>>>>>>>> Its only for some specific bundle
>>>>>>>>>>>>>>> formats. Go through this doc for
>>>>>>>>>>> more
>>>>>>>>>>>>>>> info.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/incubator-taverna-language/tree/mas
> ter
>>
>>>>>>>>>>>
> /ta
>>>>>
>>>>>>>>>>>
>> verna-robundle
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>> cheers.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you for the Wordpress tip,
>>>>>>>>>>>>>>>> Menaka! I have changed the two
>>>>>>>>>>> blog
>>>>>>>>>>>>>>>> posts to use the <pre> tag, and it
>>>>>>>>>>>>>>>> looks great. I also made a few
>>>>>>>>>>>>>>>> refinements.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks, Gale
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM,
>>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I showed the output-format without
>>>>>>>>>>>>>>>>> brackets to indicate it is
>>>>>>>>>>>>>>>>>> required and not optional because
>>>>>>>>>>>>>>>>>> it appears to be always
>>>>>>>>>>> necessary
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> That would be more accurate I think.
>>>>>>>>>>>>>>>>> I'm very new for
>>>>>>>>>>> documentation.
>>>>>>>>>>>>>>>> Thank
>>>>>>>>>>>>>>>>> you very much.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I left the -json output file type as
>>>>>>>>>>>>>>>>> having a single dash, but
>>>>>>>>>>> all
>>>>>>>>>>>>>>>>>> the other output types have
>>>>>>>>>>>>>>>>>> double-dashes. Should I change the
>>>>>>>>>>> json
>>>>>>>>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> -json should be --json. In my email
>>>>>>>>>>>>>>>>> that was a mistake. So you
>>>>>>>>>>> can
>>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>>> --.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> (Wordpress is driving me crazy
>>>>>>>>>>>>>>>>> because it is showing the
>>>>>>>>>>>>>>>>> double-dashes
>>>>>>>>>>>>>>>>>> as long single dashes, even when I
>>>>>>>>>>>>>>>>>> use the monospace
>>>>>>>>>>> font-family.
>>>>>>>>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Yes, wordpress does what it wants,
>>>>>>>>>>>>>>>>> but not us. :-) Use
>>>>>>>>>>> preformatted.
>>>>>>>>>>>>>>>>> Not paragraph. Then it would be ok.
>>>>>>>>>>>>>>>>> I updated my blog.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-ta
> ver
>>
>>>>>>>>>>>>>
> na-
>>>>>
>>>>>>>>>>>>>
>> langu
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor
>>>>>>>>>>>>>>>>> <
>>>>>>>>>>> galen@noventussolutions.com>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks for updating your blog! I
>>>>>>>>>>>>>>>>>> have some additional feedback
>>>>>>>>>>> in
>>>>>>>>>>>>>>>>>> the form of two blog posts. One has
>>>>>>>>>>>>>>>>>> a detailed description (as I
>>>>>>>>>>>>>>>>>> understand it) of the convert
>>>>>>>>>>>>>>>>>> command and one has several
>>>>>>>>>>> examples,
>>>>>>>>>>>>>>>>>> building on the examples in your
>>>>>>>>>>>>>>>>>> blog. I hope these will help
>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> discussion of the command
>>>>>>>>>>>>>>>>>> structure. Here are the links:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-
> lan
>>
>>>>>>>>>>>>>
> gua
>>>>>
>>>>>>>>>>>>>
>> ge-co
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>> mmand-line-convert-command/
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-
> lan
>>
>>>>>>>>>>>>>
> gua
>>>>>
>>>>>>>>>>>>>
>> ge-co
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>> mmand-line-convert-examples/
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Some things to note:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> (1) l basically used your June 18th
>>>>>>>>>>>>>>>>>> post, but a few things (like the
>>>>>>>>>>>>>>>>>> validate command) are from earlier
>>>>>>>>>>>>>>>>>> posts/emails.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> (2) I showed the output-format
>>>>>>>>>>>>>>>>>> without brackets to indicate it
>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>> required and not optional because
>>>>>>>>>>>>>>>>>> it appears to be always
>>>>>>>>>>>>> necessary.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> (3) The way I understand the
>>>>>>>>>>>>>>>>>> overall command structure, it
>>>>>>>>>>> seemed
>>>>>>>>>>>>>>>>>> that all options (e.g., the output
>>>>>>>>>>>>>>>>>> file directory) should come before
>>>>>>>>>>>>>>>>>> the input-file-list, so that's what
>>>>>>>>>>>>>>>>>> I assumed.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> (4) I left the -json output file
>>>>>>>>>>>>>>>>>> type as having a single dash,
>>>>>>>>>>> but
>>>>>>>>>>>>>>>>>> all the other output types have
>>>>>>>>>>>>>>>>>> double-dashes. Should I change
>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Please let me know if anything is
>>>>>>>>>>>>>>>>>> incorrect and I will change
>>>>>>>>>>> it. I
>>>>>>>>>>>>>>>>>> realize the command structure is
>>>>>>>>>>>>>>>>>> fluid, and I'm happy to make
>>>>>>>>>>> any
>>>>>>>>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> (Wordpress is driving me crazy
>>>>>>>>>>>>>>>>>> because it is showing the
>>>>>>>>>>>>>>>>>> double-dashes as long single
>>>>>>>>>>>>>>>>>> dashes, even when I use the
>>>>>>>>>>> monospace
>>>>>>>>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM,
>>>>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>>>>>>>>> understand what you mean when
>>>>>>>>>>>>>>>>>>>> you say the files will get
>>>>>>>>>>> saved
>>>>>>>>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> That was a mistake :-). I updated
>>>>>>>>>>>>>>>>>>> the blog. That should be
>>>>>>>>>>>>>>>>>>> corrected
>>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –>
>>>>>>>>>>>>>>>>>>> *Convert
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>>>>>>>>> …/toConvert/converted/
>>>>>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I would appreciate more
>>>>>>>>>>>>>>>>>>> feedback, modifications etc. So
>>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> help
>>>>>>>>>>>>>>>> of
>>>>>>>>>>>>>>>>>>> the community we could come up
>>>>>>>>>>>>>>>>>>> with a much better structure.
>>>>>>>>>>>>>>>>>>> Cheers Menaka
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale
>>>>>>>>>>>>>>>>>>> Naylor
>>>>>>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I am very happy to help, and I
>>>>>>>>>>>>>>>>>>>> understand the command
>>>>>>>>>>> structure
>>>>>>>>>>>>>>>>>>>> is a little fluid right now.
>>>>>>>>>>>>>>>>>>>> Thank you for the blog post;
>>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I am a little confused about
>>>>>>>>>>>>>>>>>>>> your recursive example. Can you
>>>>>>>>>>>>>>>>>>>> help me understand what you
>>>>>>>>>>>>>>>>>>>> mean when you say the files
>>>>>>>>>>>>>>>>>>>> will
>>>>>>>>>>> get
>>>>>>>>>>>>>>>>>>>> saved to the C directory?
>>>>>>>>>>>>>>>>>>>> Because you show the output
>>>>>>>>>>>>>>>>>>>> being
>>>>>>>>>>>>> saved
>>>>>>>>>>>>>>>>>>>> to:
>>>>>>>>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>
>>>>>>>>>>>>>>>>>>>>
>>
>>>>>>>>>>>>>>>>>>>>
> This is the example:
>>>>>>>>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –>
>>>>>>>>>>>>>>>>>>>> Convert the files and save them
>>>>>>>>>>>>>>>>>>>> in the C directory.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> B
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15
>>>>>>>>>>>>>>>>>>>> AM, Menaka Madushanka
>>>>>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>>> Hi Gale, I extremely
>>>>>>>>>>>>>>>>>>>>> appreciate your help. Thank
>>>>>>>>>>>>>>>>>>>>> you very much. :-)
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 1) Is this still the basic
>>>>>>>>>>>>>>>>>>>>> structure of the command:
>>>>>>>>>>> tavlang
>>>>>>>>>>>>>>>> convert
>>>>>>>>>>>>>>>>>>>>>> [options] <output format>
>>>>>>>>>>>>>>>>>>>>>> <input files>? Am I wrong
>>>>>>>>>>>>>>>>>>>>>> in thinking
>>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>>> output formats are handled
>>>>>>>>>>>>>>>>>>>>>> as options?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Yes there is a little
>>>>>>>>>>>>>>>>>>>>> difference in the structure
>>>>>>>>>>>>>>>>>>>>> of
>>>>>>>>>>> commands
>>>>>>>>>>>>>>>>>>>>> now
>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>>> then.
>>>>>>>>>>>>>>>>>>>>> So for the moment the
>>>>>>>>>>>>>>>>>>>>> command structure is like
>>>>>>>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> $tavlang convert [--out-put
>>>>>>>>>>>>>>>>>>>>> format] [options]
>>>>>>>>>>>>>>>>>>>>> [arguments]
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2) Are -r and -i ever used
>>>>>>>>>>>>>>>>>>>>> independently? If so, under
>>>>>>>>>>>>>>>>>>>>> what
>>>>>>>>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> No. In recursive case the
>>>>>>>>>>>>>>>>>>>>> input will be a directory
>>>>>>>>>>> containing
>>>>>>>>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>>>>>>>>> .wfbundle files. The output
>>>>>>>>>>>>>>>>>>>>> dir is optional for both
>>>>>>>>>>> recursive
>>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>> non
>>>>>>>>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I created a blog about the
>>>>>>>>>>>>>>>>>>>>> conversion command.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-ta
> ver
>>
>>>>>>>>>>>>>
> na-
>>>>>
>>>>>>>>>>>>>
>> langu
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> If you have some
>>>>>>>>>>>>>>>>>>>>> suggestions, please inform.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> -- Menaka Madushanka
>>>>>>>>>>>>>>>>>>>>> Jayawardena Faculty of
>>>>>>>>>>>>>>>>>>>>> Engineering,
>>>>>>>>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>>>>>>>>> University
>>>>>>>>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJVsPOGAAoJEPK45GBX+Cy5JmoIALQsdAUFdDSs+KTwT7jImO9k
> BJ65Vg+cwGxKyZSr0xHzKCoG0kaDLEBP3LgZKkPdvoR8E8YzTxLAwO0/eOHY2mjA
> q9yUd+c7kNYRi3Wtoy7NYwGGXgrTsf8Rb45TWpSFz5dvmX4M4vMLxyWsAsIgvape
> 5VgyDsw8AtAvorlDrOTMyvoFzf6VO3DPfnI/xZFJYhz+xZ8AkKoP+ldIfOuP1IoJ
> fskGKYxSwMTJMDLJx+zPJL3JTdGDyjVOPXao9F4WOJiJ6I1vxrQalD7d9Nt9npI2
> x3oz/fjyty9K96OxwJbutN8rcG7NLzoHdaLlLSqfke7E1e9f009dwjbXl7grD8s=
> =DQ5D
> -----END PGP SIGNATURE-----
--
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Ian Dunlop <ia...@manchester.ac.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
I've uploaded the taverna language modules image to the img folder on
the site. We can figure out where to link it to later.
Cheers,
Ian
On 23/07/2015 14:53, Gale Naylor wrote:
> @Ian, yes the api.md changes are still valid, so please update
> them. There are several other instances of "None Apache" that I
> will be submitting changes for soon. Thanks for explaining how the
> final updating process works with SVN.
>
> As far as what to do with the Taverna_Language_Modules.png
> diagram, Stian asked me to upload it, and my thought was to put it
> in the img folder so it would be available on the site. I have yet
> to understand the entire project documentation structure, so I
> don't have a better answer for where it belongs right now. If it's
> premature to upload it without a home, that's fine. I can do it
> later. (Did I start a different thread? I didn't mean to.)
>
> Thanks for the encouragement and the help!
>
> Gale
>
>
> On Thu, Jul 23, 2015 at 3:10 AM, Ian Dunlop
> <ia...@manchester.ac.uk> wrote: Hello,
>
> @Gale The changes to api.md are still valid then I guess. The
> actual updating process is a bit convoluted since the github repo
> is not directly linked to the website repo so don't worry too much
> about closing the pull request for the moment :) Any changes have
> to be manually merged in to the SVN repo which has the website
> code. So, if it's ok with you we will update api.md. What will we
> do with Taverna_Language_Modules.png. Is this for some docs on the
> taverna-language github repo or intended for the website (actually
> I just noticed you started this discussion in a separate thread)?
>
> Don't worry about making 'mistakes' like committing the wrong thing
> to the repo. We've all made them and it is not a big deal (you
> should look at some of the things I did while attempting the last
> 2 releases!). It's a community effort and we are all here to help
> each other.
>
> Cheers,
>
> Ian
>
> On 22/07/2015 19:11, Gale Naylor wrote:
>>>> Hi Ian,
>>>>
>>>> The last 3 pull requests I made (update index.md, merge pull
>>>> request #1, and update index.md) I did not intend to make. I
>>>> didn't realize they were going out. Sorry if it was
>>>> confusing.
>>>>
>>>> I tried to fix the "broken links" in the
>>>> https://github.com/apache/incubator-taverna-site pages, but
>>>> now I understand the links only work in the
>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>> pages. I thought I was trying something in a local copy.
>>>>
>>>> Is there a process for rejecting them, or can I just delete
>>>> my github repository and fork a new one?
>>>>
>>>>
>>>> Gale
>>>>
>>>> On Tue, Jul 21, 2015 at 7:35 AM, Ian Dunlop
>>>> <ia...@manchester.ac.uk> wrote: Hello,
>>>>
>>>> Hi Gale. I can see the pull request here
>>>> https://github.com/apache/incubator-taverna-site/pull/1
>>>> Thanks very much :) We'll have a look and get it merged soon
>>>> (or feedback in case any changes etc are needed).
>>>>
>>>> Cheers,
>>>>
>>>> Ian
>>>>
>>>> On 21/07/2015 15:04, Gale Naylor wrote:
>>>>>>> Hi Stian,
>>>>>>>
>>>>>>> I have submitted a pull request regarding adding the
>>>>>>> Taverna Language Modules diagram. This is my first
>>>>>>> time, so I'm not sure if I did it correctly or if there
>>>>>>> is anything else I need to do now.
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Gale
>>>>>>>
>>>>>>> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
>>>>>>> <st...@apache.org> wrote:
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> We have a general contributor guide for the website
>>>>>>>> here:
>>>>>>>>
>>>>>>>> http://taverna.incubator.apache.org/community/edit
>>>>>>>>
>>>>>>>>
>>>>>>>> Editing the website itself in a fork can be done in
>>>>>>>> the GitHub web interface, but to add the diagram to a
>>>>>>>> GitHub pull request (e.g. ) would probably require
>>>>>>>> you to check out from your fork of
>>>>>>>> https://github.com/apache/incubator-taverna-site --
>>>>>>>>
>>>>>>>> you could also contribute it as an attachment to a
>>>>>>>> Jira bug report:
>>>>>>>> https://issues.apache.org/jira/browse/TAVERNA/component/1232681
9
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>
>>>>>>>>
I don't think a single diagram would require a CLA with ASF -
>>>>>>>> your contribution should be automatically covered by
>>>>>>>> the #5 in http://www.apache.org/licenses/LICENSE-2.0
>>>>>>>> - but we might need you to sign a CLA -
>>>>>>>> http://www.apache.org/licenses/#clas - before we can
>>>>>>>> accept larger contributions.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 3 July 2015 at 05:29, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com> wrote:
>>>>>>>>> Hi Stian,
>>>>>>>>>
>>>>>>>>> Yes, when I get home from vacation (July 10-11), I
>>>>>>>>> will look at this information more carefully and
>>>>>>>>> have a go at adding it to the website. I will let
>>>>>>>>> you know if I have any questions.
>>>>>>>>>
>>>>>>>>> Thank you,
>>>>>>>>>
>>>>>>>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>>>>>>>> <st...@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> Hi, Gale, thanks for your effort on documenting
>>>>>>>>>> tavlang - as it's being developed!
>>>>>>>>>>
>>>>>>>>>> Do you think you could have a go at adding this
>>>>>>>>>> to the website in MarkDown/HTML format..? See
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/c
ont
>
>>>>>>>>>>
ent
>>>>
>>>>>>>>>>
> /documentation/scufl2
>>>>>>>>>>
>>>>>>>>>>
>>>> which is the source for
>>>>>>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>
>>>>>>>>>>
(perhaps /scufl2 in the URL should be renamed to /language
>>>>>>>>>> ?)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> .wfbundle workflows is a kind of earlier form of
>>>>>>>>>> RO Bundle, but predates their formal
>>>>>>>>>> specification and does not use the
>>>>>>>>>> taverna-robundle API. So they were meant to be
>>>>>>>>>> updated to also be full RO Bundles - basically
>>>>>>>>>> having a JSON manifest instead/in addition to the
>>>>>>>>>> XML one. So it should at some point be possible
>>>>>>>>>> to convert them. Perhaps a prototype converter
>>>>>>>>>> could just copy over the files internally between
>>>>>>>>>> the UCFPackage and the Bundle and thus update the
>>>>>>>>>> new manifest?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> The code that does the wfbundle writing:
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/R
DF
>>>>
>
XMLWriter.java
>>>>>>>>>>
>>>>>>>>>>
>>>> and reading:
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/R
DF
>>>>
>
XMLReader.java
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>> So this relies on the UCF support from:
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpac
ka
>>>>
>
ge/UCFPackage.java
>>>>>>>>>>
>>>>>>>>>>
>>>> .. which is basically a proxy for manipulating a ZIP file and
>>>> its manife st.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> But this should ideally be updated to use the RO
>>>>>>>>>> Bundle API from:
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/tree/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-robundle
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>> and thus have proper support for linking the annotation/
>>>> files to
>>>>>>>>>> their corresponding workflow elements, rather
>>>>>>>>>> than having to parse them all to find the right
>>>>>>>>>> one.
>>>>>>>>>>
>>>>>>>>>> as the UCFPackage types are used throughout the
>>>>>>>>>> wfbundle writer changing this would take a bit
>>>>>>>>>> of effort.. or just wrapping it from UCFPackage.
>>>>>>>>>> Here's an earlier attempt:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/ucf
pac
>
>>>>>>>>>>
kag
>>>>
>>>>>>>>>>
> e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/
sc
>>>>
>
ufl2/ucfpackage/UCFPackage.java
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>> (Note: That branch has test errors)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> As you see it calls the writeAsODFManifest();
>>>>>>>>>> which writes out the classic
>>>>>>>>>> META-INF/manifest.xml for backwards
>>>>>>>>>> compatibility. This is permitted by our spec -
>>>>>>>>>> but violating a NOT RECOMMENDED ("e.g. Know what
>>>>>>>>>> you are doing"):
>>>>>>>>>> https://w3id.org/bundle#manifest-xml
>>>>>>>>>>
>>>>>>>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>> Hi Gale, I'm really appreciate your feedback on
>>>>>>>>>>> my blogs. I'm very new and there could be some
>>>>>>>>>>> flows. Thank you very much for showing them.
>>>>>>>>>>> :-)
>>>>>>>>>>>
>>>>>>>>>>> 1) Yes, the types of bundle formats that can
>>>>>>>>>>> be converted are listed in this blog.
>>>>>>>>>>>
>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-lan
gua
>
>>>>>>>>>>
ge-
>>>>
>>>>>>>>>>
> command-line-tool-conversion-documentation-research-objects/
>>>>>>>>>>>
>>>>>>>>>>
>>>> The bundles are not workflows.
>>>>>>>>>>>
>>>>>>>>>>> 2) No. It seems like the way I have wrote it
>>>>>>>>>>> somewhat misleading..... Actually scufl2
>>>>>>>>>>> workflows are not Bundles. Those are two
>>>>>>>>>>> different APIs. I'll update the blog. :-)
>>>>>>>>>>>
>>>>>>>>>>> 3).Yes, my mistake. Neither .t2flow nor
>>>>>>>>>>> wfbundle could be converted into robundle.
>>>>>>>>>>>
>>>>>>>>>>> 4). Yes Gale. That modification should be done.
>>>>>>>>>>> Other wise it looks like any format could be
>>>>>>>>>>> converted into Robundle. I'll update my blog
>>>>>>>>>>> too.
>>>>>>>>>>>
>>>>>>>>>>> Are there any more facts that need
>>>>>>>>>>> clarification about the blogs please
>>>>>>>>>> ask
>>>>>>>>>>> me. :)
>>>>>>>>>>>
>>>>>>>>>>> Thank you very much Gale. Menaka
>>>>>>>>>>>
>>>>>>>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>
>>>>>>>>>>>> I've been reading and learning more about
>>>>>>>>>>>> research objects, and I think I understand
>>>>>>>>>>>> better what is going on, but I still have
>>>>>>>>>>>> some questions.
>>>>>>>>>>>>
>>>>>>>>>>>> 1) I am curious as to which file types *can*
>>>>>>>>>>>> be converted to .robundle format? (I must
>>>>>>>>>>>> have missed something because I thought
>>>>>>>>>>>> .t2flow and .wfbundle were the only allowed
>>>>>>>>>>>> input file types.)
>>>>>>>>>>>>
>>>>>>>>>>>> 2) In rereading your June 18th blog post, I
>>>>>>>>>>>> see you say that the command line tool is for
>>>>>>>>>>>> converting and managing workflow "bundles" as
>>>>>>>>>>>> well as research object bundles. Are t2flow
>>>>>>>>>>>> files "workflow bundles" or just "workflows?"
>>>>>>>>>>>> Or is there not a practical difference?
>>>>>>>>>>>>
>>>>>>>>>>>> 3) I understand now that not all file format
>>>>>>>>>>>> conversions are valid. I'm trying to
>>>>>>>>>>>> understand this better. In your June 18th
>>>>>>>>>>>> blog post you say:
>>>>>>>>>>>>
>>>>>>>>>>>> "The conversion function supports converting
>>>>>>>>>>>> .t2flow and .wfbundle formats into following
>>>>>>>>>>>> formats:
>>>>>>>>>>>>
>>>>>>>>>>>> .structure
>>>>>>>>>>>>
>>>>>>>>>>>> .json
>>>>>>>>>>>>
>>>>>>>>>>>> .iwir
>>>>>>>>>>>>
>>>>>>>>>>>> .wfbundle
>>>>>>>>>>>>
>>>>>>>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>>>>>>>
>>>>>>>>>>>> .robundle –> (development in progress)"
>>>>>>>>>>>>
>>>>>>>>>>>> To me, reading this looks like all
>>>>>>>>>>>> combinations are valid.
>>>>>>>>>>>>
>>>>>>>>>>>> I'm wondering, can both .t2flow and .wfbundle
>>>>>>>>>>>> files be converted to all file types *except*
>>>>>>>>>>>> robundle?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 4) I fixed the examples in my blog post.
>>>>>>>>>>>> Should I also change the --robundle option
>>>>>>>>>>>> description to say "Output bundle as
>>>>>>>>>>>> .robundle" instead of "Output workflow as
>>>>>>>>>>>> .robundle" ? (Same for .wfbundle option.)
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks for the feedback and the correct link
>>>>>>>>>>>> to the example!
>>>>>>>>>>>>
>>>>>>>>>>>> Have a nice weekend.
>>>>>>>>>>>>
>>>>>>>>>>>> Gale
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>> Hi Gale, Use this link
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.j
av
>>>>
>
a
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>>>> Cheers
>>>>>>>>>>>>> Menaka
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you for the feedback and
>>>>>>>>>>>>>> clarifying information. Sorry not to
>>>>>>>>>>>> respond
>>>>>>>>>>>>>> sooner. I am learning about bundles, etc.
>>>>>>>>>>>>>> and reading the link you
>>>>>>>>>> sent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> One thing, I'm having trouble getting to
>>>>>>>>>>>>>> the example in the Examples
>>>>>>>>>> of
>>>>>>>>>>>> Use
>>>>>>>>>>>>>> Section: "Example in full is at
>>>>>>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Can you help me? This is what I've done
>>>>>>>>>>>>>> so far:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> - Clicking on the link gets me the "This
>>>>>>>>>>>>>> is not the web page you are looking for"
>>>>>>>>>>>>>> page. (This is the actual link address:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.jav
a
>>>>>>>>>>>>>>
>>>>>>>>>>
>>>>
>
)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> - Entering
>>>>>>>>>>>>>> "org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>>>> also doesn't
>>>>>>>>>> work
>>>>>>>>>>>> for
>>>>>>>>>>>>>> me. I didn't think it would, but I tried
>>>>>>>>>>>>>> anyway.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> - Searching for "taverna robundle
>>>>>>>>>>>>>> TestExample" on the main Apache.com
>>>>>>>>>>>> page
>>>>>>>>>>>>>> yields no results.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I will continue to read and understand
>>>>>>>>>>>>>> the RO Bundle API page, but I
>>>>>>>>>>>> would
>>>>>>>>>>>>>> like to see the full Test Example, if
>>>>>>>>>>>>>> possible.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -----Original Message----- From: Menaka
>>>>>>>>>>>>>> Madushanka [mailto:menaka12350@gmail.com]
>>>>>>>>>>>>>> Sent: Saturday, June 20, 2015 11:09 AM
>>>>>>>>>>>>>> To: dev@taverna.incubator.apache.org
>>>>>>>>>>>>>> Subject: Re: Taverna Language Command
>>>>>>>>>>>>>> Line tool - convert command doc
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-la
ngu
>
>>>>>>>>>>
age
>>>>
>>>>>>>>>>
> -command-line-convert-examples/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>
>>>> Example 2: Simple conversion, multiple input files, no
>>>> options
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> $tavlang convert –-robundle
>>>>>>>>>>>>>>> /someFile1.wfbundle
>>>>>>>>>>>>>>> /someFile2.wfbundle
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>>>>>>>> */someFile2.wfbundle* into *.robundle*
>>>>>>>>>>>>>>> format and saves the output files to
>>>>>>>>>>>>>>> the */converted* folder in the current
>>>>>>>>>>>>>>> working directory.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Taverna language *cannot* convert
>>>>>>>>>>>>>> .wfbundles/.t2flow into robundle
>>>>>>>>>>>> format.
>>>>>>>>>>>>>> Its only for some specific bundle
>>>>>>>>>>>>>> formats. Go through this doc for
>>>>>>>>>> more
>>>>>>>>>>>>>> info.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/incubator-taverna-language/tree/mas
ter
>
>>>>>>>>>>
/ta
>>>>
>>>>>>>>>>
> verna-robundle
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>
>>>> cheers.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you for the Wordpress tip,
>>>>>>>>>>>>>>> Menaka! I have changed the two
>>>>>>>>>> blog
>>>>>>>>>>>>>>> posts to use the <pre> tag, and it
>>>>>>>>>>>>>>> looks great. I also made a few
>>>>>>>>>>>>>>> refinements.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks, Gale
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM,
>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I showed the output-format without
>>>>>>>>>>>>>>>> brackets to indicate it is
>>>>>>>>>>>>>>>>> required and not optional because
>>>>>>>>>>>>>>>>> it appears to be always
>>>>>>>>>> necessary
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> That would be more accurate I think.
>>>>>>>>>>>>>>>> I'm very new for
>>>>>>>>>> documentation.
>>>>>>>>>>>>>>> Thank
>>>>>>>>>>>>>>>> you very much.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I left the -json output file type as
>>>>>>>>>>>>>>>> having a single dash, but
>>>>>>>>>> all
>>>>>>>>>>>>>>>>> the other output types have
>>>>>>>>>>>>>>>>> double-dashes. Should I change the
>>>>>>>>>> json
>>>>>>>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> -json should be --json. In my email
>>>>>>>>>>>>>>>> that was a mistake. So you
>>>>>>>>>> can
>>>>>>>>>>>>>>>> use
>>>>>>>>>>>>>>> --.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> (Wordpress is driving me crazy
>>>>>>>>>>>>>>>> because it is showing the
>>>>>>>>>>>>>>>> double-dashes
>>>>>>>>>>>>>>>>> as long single dashes, even when I
>>>>>>>>>>>>>>>>> use the monospace
>>>>>>>>>> font-family.
>>>>>>>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Yes, wordpress does what it wants,
>>>>>>>>>>>>>>>> but not us. :-) Use
>>>>>>>>>> preformatted.
>>>>>>>>>>>>>>>> Not paragraph. Then it would be ok.
>>>>>>>>>>>>>>>> I updated my blog.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-ta
ver
>
>>>>>>>>>>>>
na-
>>>>
>>>>>>>>>>>>
> langu
>>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor
>>>>>>>>>>>>>>>> <
>>>>>>>>>> galen@noventussolutions.com>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks for updating your blog! I
>>>>>>>>>>>>>>>>> have some additional feedback
>>>>>>>>>> in
>>>>>>>>>>>>>>>>> the form of two blog posts. One has
>>>>>>>>>>>>>>>>> a detailed description (as I
>>>>>>>>>>>>>>>>> understand it) of the convert
>>>>>>>>>>>>>>>>> command and one has several
>>>>>>>>>> examples,
>>>>>>>>>>>>>>>>> building on the examples in your
>>>>>>>>>>>>>>>>> blog. I hope these will help
>>>>>>>>>> the
>>>>>>>>>>>>>>>>> discussion of the command
>>>>>>>>>>>>>>>>> structure. Here are the links:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-
lan
>
>>>>>>>>>>>>
gua
>>>>
>>>>>>>>>>>>
> ge-co
>>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>> mmand-line-convert-command/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-
lan
>
>>>>>>>>>>>>
gua
>>>>
>>>>>>>>>>>>
> ge-co
>>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>> mmand-line-convert-examples/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Some things to note:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> (1) l basically used your June 18th
>>>>>>>>>>>>>>>>> post, but a few things (like the
>>>>>>>>>>>>>>>>> validate command) are from earlier
>>>>>>>>>>>>>>>>> posts/emails.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> (2) I showed the output-format
>>>>>>>>>>>>>>>>> without brackets to indicate it
>>>>>>>>>> is
>>>>>>>>>>>>>>>>> required and not optional because
>>>>>>>>>>>>>>>>> it appears to be always
>>>>>>>>>>>> necessary.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> (3) The way I understand the
>>>>>>>>>>>>>>>>> overall command structure, it
>>>>>>>>>> seemed
>>>>>>>>>>>>>>>>> that all options (e.g., the output
>>>>>>>>>>>>>>>>> file directory) should come before
>>>>>>>>>>>>>>>>> the input-file-list, so that's what
>>>>>>>>>>>>>>>>> I assumed.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> (4) I left the -json output file
>>>>>>>>>>>>>>>>> type as having a single dash,
>>>>>>>>>> but
>>>>>>>>>>>>>>>>> all the other output types have
>>>>>>>>>>>>>>>>> double-dashes. Should I change
>>>>>>>>>> the
>>>>>>>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Please let me know if anything is
>>>>>>>>>>>>>>>>> incorrect and I will change
>>>>>>>>>> it. I
>>>>>>>>>>>>>>>>> realize the command structure is
>>>>>>>>>>>>>>>>> fluid, and I'm happy to make
>>>>>>>>>> any
>>>>>>>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> (Wordpress is driving me crazy
>>>>>>>>>>>>>>>>> because it is showing the
>>>>>>>>>>>>>>>>> double-dashes as long single
>>>>>>>>>>>>>>>>> dashes, even when I use the
>>>>>>>>>> monospace
>>>>>>>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM,
>>>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>>>>>>>> understand what you mean when
>>>>>>>>>>>>>>>>>>> you say the files will get
>>>>>>>>>> saved
>>>>>>>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> That was a mistake :-). I updated
>>>>>>>>>>>>>>>>>> the blog. That should be
>>>>>>>>>>>>>>>>>> corrected
>>>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –>
>>>>>>>>>>>>>>>>>> *Convert
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>>>>>>>> …/toConvert/converted/
>>>>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I would appreciate more
>>>>>>>>>>>>>>>>>> feedback, modifications etc. So
>>>>>>>>>>>>>>>>>> with
>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> help
>>>>>>>>>>>>>>> of
>>>>>>>>>>>>>>>>>> the community we could come up
>>>>>>>>>>>>>>>>>> with a much better structure.
>>>>>>>>>>>>>>>>>> Cheers Menaka
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale
>>>>>>>>>>>>>>>>>> Naylor
>>>>>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I am very happy to help, and I
>>>>>>>>>>>>>>>>>>> understand the command
>>>>>>>>>> structure
>>>>>>>>>>>>>>>>>>> is a little fluid right now.
>>>>>>>>>>>>>>>>>>> Thank you for the blog post;
>>>>>>>>>>>>>>>>>>> it
>>>>>>>>>> was
>>>>>>>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I am a little confused about
>>>>>>>>>>>>>>>>>>> your recursive example. Can you
>>>>>>>>>>>>>>>>>>> help me understand what you
>>>>>>>>>>>>>>>>>>> mean when you say the files
>>>>>>>>>>>>>>>>>>> will
>>>>>>>>>> get
>>>>>>>>>>>>>>>>>>> saved to the C directory?
>>>>>>>>>>>>>>>>>>> Because you show the output
>>>>>>>>>>>>>>>>>>> being
>>>>>>>>>>>> saved
>>>>>>>>>>>>>>>>>>> to:
>>>>>>>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>
>>>>>>>>>>>>>>>>>>>
>
>>>>>>>>>>>>>>>>>>>
This is the example:
>>>>>>>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –>
>>>>>>>>>>>>>>>>>>> Convert the files and save them
>>>>>>>>>>>>>>>>>>> in the C directory.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> B
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15
>>>>>>>>>>>>>>>>>>> AM, Menaka Madushanka
>>>>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>>>> Hi Gale, I extremely
>>>>>>>>>>>>>>>>>>>> appreciate your help. Thank
>>>>>>>>>>>>>>>>>>>> you very much. :-)
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 1) Is this still the basic
>>>>>>>>>>>>>>>>>>>> structure of the command:
>>>>>>>>>> tavlang
>>>>>>>>>>>>>>> convert
>>>>>>>>>>>>>>>>>>>>> [options] <output format>
>>>>>>>>>>>>>>>>>>>>> <input files>? Am I wrong
>>>>>>>>>>>>>>>>>>>>> in thinking
>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>>>> output formats are handled
>>>>>>>>>>>>>>>>>>>>> as options?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Yes there is a little
>>>>>>>>>>>>>>>>>>>> difference in the structure
>>>>>>>>>>>>>>>>>>>> of
>>>>>>>>>> commands
>>>>>>>>>>>>>>>>>>>> now
>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>>>> then.
>>>>>>>>>>>>>>>>>>>> So for the moment the
>>>>>>>>>>>>>>>>>>>> command structure is like
>>>>>>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> $tavlang convert [--out-put
>>>>>>>>>>>>>>>>>>>> format] [options]
>>>>>>>>>>>>>>>>>>>> [arguments]
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 2) Are -r and -i ever used
>>>>>>>>>>>>>>>>>>>> independently? If so, under
>>>>>>>>>>>>>>>>>>>> what
>>>>>>>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> No. In recursive case the
>>>>>>>>>>>>>>>>>>>> input will be a directory
>>>>>>>>>> containing
>>>>>>>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>>>>>>>> .wfbundle files. The output
>>>>>>>>>>>>>>>>>>>> dir is optional for both
>>>>>>>>>> recursive
>>>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>>>> non
>>>>>>>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I created a blog about the
>>>>>>>>>>>>>>>>>>>> conversion command.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-ta
ver
>
>>>>>>>>>>>>
na-
>>>>
>>>>>>>>>>>>
> langu
>>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> If you have some
>>>>>>>>>>>>>>>>>>>> suggestions, please inform.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> -- Menaka Madushanka
>>>>>>>>>>>>>>>>>>>> Jayawardena Faculty of
>>>>>>>>>>>>>>>>>>>> Engineering,
>>>>>>>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>>>>>>>> University
>>>>>>>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVsPOGAAoJEPK45GBX+Cy5JmoIALQsdAUFdDSs+KTwT7jImO9k
BJ65Vg+cwGxKyZSr0xHzKCoG0kaDLEBP3LgZKkPdvoR8E8YzTxLAwO0/eOHY2mjA
q9yUd+c7kNYRi3Wtoy7NYwGGXgrTsf8Rb45TWpSFz5dvmX4M4vMLxyWsAsIgvape
5VgyDsw8AtAvorlDrOTMyvoFzf6VO3DPfnI/xZFJYhz+xZ8AkKoP+ldIfOuP1IoJ
fskGKYxSwMTJMDLJx+zPJL3JTdGDyjVOPXao9F4WOJiJ6I1vxrQalD7d9Nt9npI2
x3oz/fjyty9K96OxwJbutN8rcG7NLzoHdaLlLSqfke7E1e9f009dwjbXl7grD8s=
=DQ5D
-----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Stian,
> Do you think you could have a go at adding this to the website in
> MarkDown/HTML format..? See
I'd be happy to. Are you referring to adding the Taverna Language
Module diagram to the website, or the command line documentation in my
blog posts? I created a pull request to add the diagram to the img
folder in the incubator-taverna-site/content folder.
> (perhaps /scufl2 in the URL should be renamed to /language ?)
I'm not sure. I just realized there is are two repositories:
incubator-taverna-site and incubator-taverna-language. Can you help me
understand the difference/relationship between these two repositories?
Also, I'm not sure what you wanted me to do with the rest of the
information you included:
> .wfbundle workflows is a kind of earlier form of RO Bundle, but
> predates their formal specification and does not use the
> taverna-robundle API. ...
>...
> But this should ideally be updated to use the RO Bundle API from:
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
etc.
But I'm not really a programmer. This would be outside my area of expertise.
Thanks,
Gale
>
> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
>> Hi Gale,
>> I'm really appreciate your feedback on my blogs. I'm very new and there
>> could be some flows. Thank you very much for showing them. :-)
>>
>> 1) Yes, the types of bundle formats that can be converted are listed in
>> this blog.
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> The bundles are not workflows.
>>
>> 2) No. It seems like the way I have wrote it somewhat misleading.....
>> Actually scufl2 workflows are not Bundles. Those are two different APIs.
>> I'll update the blog. :-)
>>
>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>> robundle.
>>
>> 4). Yes Gale. That modification should be done. Other wise it looks like
>> any format could be converted into Robundle. I'll update my blog too.
>>
>> Are there any more facts that need clarification about the blogs please ask
>> me. :)
>>
>> Thank you very much Gale.
>> Menaka
>>
>> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>>> Hi Menaka,
>>>
>>> I've been reading and learning more about research objects, and I
>>> think I understand better what is going on, but I still have some
>>> questions.
>>>
>>> 1) I am curious as to which file types *can* be converted to .robundle
>>> format? (I must have missed something because I thought .t2flow and
>>> .wfbundle were the only allowed input file types.)
>>>
>>> 2) In rereading your June 18th blog post, I see you say that the
>>> command line tool is for converting and managing workflow "bundles" as
>>> well as research object bundles. Are t2flow files "workflow bundles"
>>> or just "workflows?" Or is there not a practical difference?
>>>
>>> 3) I understand now that not all file format conversions are valid.
>>> I'm trying to understand this better. In your June 18th blog post you
>>> say:
>>>
>>> "The conversion function supports converting .t2flow and .wfbundle
>>> formats into following formats:
>>>
>>> .structure
>>>
>>> .json
>>>
>>> .iwir
>>>
>>> .wfbundle
>>>
>>> .wfdesc.ttl –> (development in progress)
>>>
>>> .robundle –> (development in progress)"
>>>
>>> To me, reading this looks like all combinations are valid.
>>>
>>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>> all file types *except* robundle?
>>>
>>>
>>> 4) I fixed the examples in my blog post. Should I also change the
>>> --robundle option description to say "Output bundle as .robundle"
>>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>> option.)
>>>
>>> Thanks for the feedback and the correct link to the example!
>>>
>>> Have a nice weekend.
>>>
>>> Gale
>>>
>>>
>>>
>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>> > Hi Gale,
>>> > Use this link
>>> >
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >
>>> > Cheers
>>> > Menaka
>>> >
>>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >
>>> >> Hi Menaka,
>>> >>
>>> >> Thank you for the feedback and clarifying information. Sorry not to
>>> respond
>>> >> sooner. I am learning about bundles, etc. and reading the link you sent.
>>> >>
>>> >> One thing, I'm having trouble getting to the example in the Examples of
>>> Use
>>> >> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
>>> >>
>>> >> Can you help me? This is what I've done so far:
>>> >>
>>> >> - Clicking on the link gets me the "This is not the web page you are
>>> >> looking
>>> >> for" page. (This is the actual link address:
>>> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >> )
>>> >>
>>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
>>> for
>>> >> me. I didn't think it would, but I tried anyway.
>>> >>
>>> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>>> page
>>> >> yields no results.
>>> >>
>>> >> I will continue to read and understand the RO Bundle API page, but I
>>> would
>>> >> like to see the full Test Example, if possible.
>>> >>
>>> >> Thanks!
>>> >>
>>> >> Gale
>>> >>
>>> >>
>>> >> -----Original Message-----
>>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >> To: dev@taverna.incubator.apache.org
>>> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>>> >>
>>> >> That's cool.....!! :-)
>>> >> Correction:
>>> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >>
>>> >> > Example 2: Simple conversion, multiple input files, no options
>>> >> >
>>> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>>> >> >
>>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>> >> > *.robundle* format and saves the output files to the */converted*
>>> >> > folder in the current working directory.
>>> >> >
>>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>>> format.
>>> >> Its only for some specific bundle formats. Go through this doc for more
>>> >> info.
>>> >>
>>> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >>
>>> >> cheers.
>>> >>
>>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >>
>>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>>> >> > refinements.
>>> >> >
>>> >> > Thanks,
>>> >> > Gale
>>> >> >
>>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>> >> > <me...@gmail.com> wrote:
>>> >> > > Thank you very much Gale,
>>> >> > >
>>> >> > > I showed the output-format without brackets to indicate it is
>>> >> > >> required and not optional because it appears to be always necessary
>>> >> > >
>>> >> > >
>>> >> > > That would be more accurate I think. I'm very new for documentation.
>>> >> > Thank
>>> >> > > you very much.
>>> >> > >
>>> >> > > I left the -json output file type as having a single dash, but all
>>> >> > >> the other output types have double-dashes. Should I change the json
>>> >> > >> output argument to --json?
>>> >> > >>
>>> >> > > -json should be --json. In my email that was a mistake. So you can
>>> >> > > use
>>> >> > --.
>>> >> > >
>>> >> > > (Wordpress is driving me crazy because it is showing the
>>> >> > > double-dashes
>>> >> > >> as long single dashes, even when I use the monospace font-family.
>>> >> > >> Any
>>> >> > >> suggestions?)
>>> >> > >>
>>> >> > >
>>> >> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
>>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>> >> > >
>>> >> >
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> > age-command-line-conversion-documentation/
>>> >> > >
>>> >> > > Thank you very much.
>>> >> > > Menaka
>>> >> > >
>>> >> > > I'll go through your documentations.
>>> >> > >
>>> >> > >
>>> >> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
>>> >> > wrote:
>>> >> > >
>>> >> > >> Hi Menaka,
>>> >> > >>
>>> >> > >> Thanks for updating your blog! I have some additional feedback in
>>> >> > >> the form of two blog posts. One has a detailed description (as I
>>> >> > >> understand it) of the convert command and one has several examples,
>>> >> > >> building on the examples in your blog. I hope these will help the
>>> >> > >> discussion of the command structure. Here are the links:
>>> >> > >>
>>> >> > >>
>>> >> > >>
>>> >> >
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> > mmand-line-convert-command/
>>> >> > >>
>>> >> > >>
>>> >> > >>
>>> >> >
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> > mmand-line-convert-examples/
>>> >> > >>
>>> >> > >> Some things to note:
>>> >> > >>
>>> >> > >> (1) l basically used your June 18th post, but a few things (like
>>> >> > >> the validate command) are from earlier posts/emails.
>>> >> > >>
>>> >> > >> (2) I showed the output-format without brackets to indicate it is
>>> >> > >> required and not optional because it appears to be always
>>> necessary.
>>> >> > >>
>>> >> > >> (3) The way I understand the overall command structure, it seemed
>>> >> > >> that all options (e.g., the output file directory) should come
>>> >> > >> before the input-file-list, so that's what I assumed.
>>> >> > >>
>>> >> > >> (4) I left the -json output file type as having a single dash, but
>>> >> > >> all the other output types have double-dashes. Should I change the
>>> >> > >> json output argument to --json?
>>> >> > >>
>>> >> > >> Please let me know if anything is incorrect and I will change it. I
>>> >> > >> realize the command structure is fluid, and I'm happy to make any
>>> >> > >> changes as things evolve.
>>> >> > >>
>>> >> > >> (Wordpress is driving me crazy because it is showing the
>>> >> > >> double-dashes as long single dashes, even when I use the monospace
>>> >> > >> font-family. Any
>>> >> > >> suggestions?)
>>> >> > >>
>>> >> > >> Thanks,
>>> >> > >>
>>> >> > >> Gale
>>> >> > >>
>>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>> >> > >> <me...@gmail.com> wrote:
>>> >> > >> > Hi Gale,
>>> >> > >> >
>>> >> > >> > Thank you very much.
>>> >> > >> >
>>> >> > >> > . Can you help me
>>> >> > >> >> understand what you mean when you say the files will get saved
>>> >> > >> >> to the C directory?
>>> >> > >> >
>>> >> > >> > That was a mistake :-). I updated the blog. That should be
>>> >> > >> > corrected
>>> >> > as
>>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> > >> > *Convert
>>> >> > the
>>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>>> >> > >> >
>>> >> > >> > I would appreciate more feedback, modifications etc. So with the
>>> >> > >> > help
>>> >> > of
>>> >> > >> > the community we could come up with a much better structure.
>>> >> > >> > Cheers
>>> >> > >> > Menaka
>>> >> > >> >
>>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >> > >> > <ga...@noventussolutions.com>
>>> >> > >> wrote:
>>> >> > >> >
>>> >> > >> >> Hi Menaka,
>>> >> > >> >>
>>> >> > >> >> I am very happy to help, and I understand the command structure
>>> >> > >> >> is a little fluid right now. Thank you for the blog post; it was
>>> >> > >> >> very helpful.
>>> >> > >> >>
>>> >> > >> >> I am a little confused about your recursive example. Can you
>>> >> > >> >> help me understand what you mean when you say the files will get
>>> >> > >> >> saved to the C directory? Because you show the output being
>>> saved
>>> >> > >> >> to:
>>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>> >> > >> >>
>>> >> > >> >> This is the example:
>>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> > >> >> Convert the files and save them in the C directory.
>>> >> > >> >>
>>> >> > >> >> Thank you!
>>> >> > >> >>
>>> >> > >> >> Gale
>>> >> > >> >>
>>> >> > >> >> B
>>> >> > >> >>
>>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>> >> > >> >> <me...@gmail.com> wrote:
>>> >> > >> >> > Hi Gale,
>>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>>> >> > >> >> >
>>> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
>>> >> > convert
>>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>> >> > >> >> >> thinking
>>> >> > that
>>> >> > >> the
>>> >> > >> >> >> output formats are handled as options?
>>> >> > >> >> >
>>> >> > >> >> >
>>> >> > >> >> > Yes there is a little difference in the structure of commands
>>> >> > >> >> > now
>>> >> > and
>>> >> > >> >> then.
>>> >> > >> >> > So for the moment the command structure is like this.
>>> >> > >> >> >
>>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>>> >> > >> >> >
>>> >> > >> >> >
>>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>>> >> > >> >> circumstances?
>>> >> > >> >> >
>>> >> > >> >> > No. In recursive case the input will be a directory containing
>>> >> > >> .t2flow of
>>> >> > >> >> > .wfbundle files. The output dir is optional for both recursive
>>> >> > >> >> > and
>>> >> > non
>>> >> > >> >> > recursive cases.
>>> >> > >> >> >
>>> >> > >> >> > I created a blog about the conversion command.
>>> >> > >> >> >
>>> >> > >> >>
>>> >> > >>
>>> >> >
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> > age-command-line-conversion-documentation/
>>> >> > >> >> >
>>> >> > >> >> > If you have some suggestions, please inform.
>>> >> > >> >> >
>>> >> > >> >> > Thank you very much!
>>> >> > >> >> >
>>> >> > >> >> > Regards
>>> >> > >> >> > Menaka
>>> >> > >> >> >
>>> >> > >> >> > --
>>> >> > >> >> > Menaka Madushanka Jayawardena
>>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>>> >> > >> >> > of Peradeniyaya.
>>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> > >> >>
>>> >> > >> >
>>> >> > >> >
>>> >> > >> >
>>> >> > >> > --
>>> >> > >> > Menaka Madushanka Jayawardena
>>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> > >> > Peradeniyaya.
>>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> > >>
>>> >> > >
>>> >> > >
>>> >> > >
>>> >> > > --
>>> >> > > Menaka Madushanka Jayawardena
>>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> > > Peradeniyaya.
>>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Menaka Madushanka Jayawardena
>>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> Peradeniyaya.
>>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Stian,
Thank you for the information! I will take a look at it and see if I have
any questions.
Gale
On Jul 13, 2015 8:34 AM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
> Thanks!
>
> We have a general contributor guide for the website here:
>
> http://taverna.incubator.apache.org/community/edit
>
>
> Editing the website itself in a fork can be done in the GitHub web
> interface, but to add the diagram to a GitHub pull request (e.g. )
> would probably require you to check out from your fork of
> https://github.com/apache/incubator-taverna-site --
>
> you could also contribute it as an attachment to a Jira bug report:
> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>
>
> I don't think a single diagram would require a CLA with ASF - your
> contribution should be automatically covered by the #5 in
> http://www.apache.org/licenses/LICENSE-2.0
> - but we might need you to sign a CLA -
> http://www.apache.org/licenses/#clas - before we can accept larger
> contributions.
>
>
>
>
>
> On 3 July 2015 at 05:29, Gale Naylor <ga...@noventussolutions.com> wrote:
> > Hi Stian,
> >
> > Yes, when I get home from vacation (July 10-11), I will look at this
> > information more carefully and have a go at adding it to the website. I
> > will let you know if I have any questions.
> >
> > Thank you,
> >
> > Gale
> > On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
> >
> >> Hi, Gale, thanks for your effort on documenting tavlang - as it's
> >> being developed!
> >>
> >> Do you think you could have a go at adding this to the website in
> >> MarkDown/HTML format..? See
> >>
> >>
> >>
> https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
> >> which is the source for
> >> http://taverna.incubator.apache.org/documentation/scufl2/
> >>
> >> (perhaps /scufl2 in the URL should be renamed to /language ?)
> >>
> >>
> >>
> >>
> >>
> >> .wfbundle workflows is a kind of earlier form of RO Bundle, but
> >> predates their formal specification and does not use the
> >> taverna-robundle API. So they were meant to be updated to also be full
> >> RO Bundles - basically having a JSON manifest instead/in addition to
> >> the XML one. So it should at some point be possible to convert them.
> >> Perhaps a prototype converter could just copy over the files
> >> internally between the UCFPackage and the Bundle and thus update the
> >> new manifest?
> >>
> >>
> >>
> >> The code that does the wfbundle writing:
> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
> >> and reading:
> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
> >>
> >> So this relies on the UCF support from:
> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
> >> .. which is basically a proxy for manipulating a ZIP file and its
> manifest.
> >>
> >>
> >> But this should ideally be updated to use the RO Bundle API from:
> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >>
> >>
> >> and thus have proper support for linking the annotation/ files to
> >> their corresponding workflow elements, rather than having to parse
> >> them all to find the right one.
> >>
> >> as the UCFPackage types are used throughout the wfbundle writer
> >> changing this would take a bit of effort.. or just wrapping it from
> >> UCFPackage. Here's an earlier attempt:
> >>
> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
> >>
> >> (Note: That branch has test errors)
> >>
> >>
> >> As you see it calls the writeAsODFManifest(); which writes out the
> >> classic META-INF/manifest.xml for backwards compatibility. This is
> >> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
> >> what you are doing"):
> >> https://w3id.org/bundle#manifest-xml
> >>
> >> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com>
> wrote:
> >> > Hi Gale,
> >> > I'm really appreciate your feedback on my blogs. I'm very new and
> there
> >> > could be some flows. Thank you very much for showing them. :-)
> >> >
> >> > 1) Yes, the types of bundle formats that can be converted are listed
> in
> >> > this blog.
> >> >
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> > The bundles are not workflows.
> >> >
> >> > 2) No. It seems like the way I have wrote it somewhat misleading.....
> >> > Actually scufl2 workflows are not Bundles. Those are two different
> APIs.
> >> > I'll update the blog. :-)
> >> >
> >> > 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted
> into
> >> > robundle.
> >> >
> >> > 4). Yes Gale. That modification should be done. Other wise it looks
> like
> >> > any format could be converted into Robundle. I'll update my blog too.
> >> >
> >> > Are there any more facts that need clarification about the blogs
> please
> >> ask
> >> > me. :)
> >> >
> >> > Thank you very much Gale.
> >> > Menaka
> >> >
> >> > On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> I've been reading and learning more about research objects, and I
> >> >> think I understand better what is going on, but I still have some
> >> >> questions.
> >> >>
> >> >> 1) I am curious as to which file types *can* be converted to
> .robundle
> >> >> format? (I must have missed something because I thought .t2flow and
> >> >> .wfbundle were the only allowed input file types.)
> >> >>
> >> >> 2) In rereading your June 18th blog post, I see you say that the
> >> >> command line tool is for converting and managing workflow "bundles"
> as
> >> >> well as research object bundles. Are t2flow files "workflow bundles"
> >> >> or just "workflows?" Or is there not a practical difference?
> >> >>
> >> >> 3) I understand now that not all file format conversions are valid.
> >> >> I'm trying to understand this better. In your June 18th blog post you
> >> >> say:
> >> >>
> >> >> "The conversion function supports converting .t2flow and .wfbundle
> >> >> formats into following formats:
> >> >>
> >> >> .structure
> >> >>
> >> >> .json
> >> >>
> >> >> .iwir
> >> >>
> >> >> .wfbundle
> >> >>
> >> >> .wfdesc.ttl –> (development in progress)
> >> >>
> >> >> .robundle –> (development in progress)"
> >> >>
> >> >> To me, reading this looks like all combinations are valid.
> >> >>
> >> >> I'm wondering, can both .t2flow and .wfbundle files be converted to
> >> >> all file types *except* robundle?
> >> >>
> >> >>
> >> >> 4) I fixed the examples in my blog post. Should I also change the
> >> >> --robundle option description to say "Output bundle as .robundle"
> >> >> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> >> >> option.)
> >> >>
> >> >> Thanks for the feedback and the correct link to the example!
> >> >>
> >> >> Have a nice weekend.
> >> >>
> >> >> Gale
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hi Gale,
> >> >> > Use this link
> >> >> >
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >> >
> >> >> > Cheers
> >> >> > Menaka
> >> >> >
> >> >> > On 25 June 2015 at 05:34, Gale Naylor <galen@noventussolutions.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Hi Menaka,
> >> >> >>
> >> >> >> Thank you for the feedback and clarifying information. Sorry not
> to
> >> >> respond
> >> >> >> sooner. I am learning about bundles, etc. and reading the link you
> >> sent.
> >> >> >>
> >> >> >> One thing, I'm having trouble getting to the example in the
> Examples
> >> of
> >> >> Use
> >> >> >> Section: "Example in full is at
> >> org.apache.taverna.robundle.TestExample"
> >> >> >>
> >> >> >> Can you help me? This is what I've done so far:
> >> >> >>
> >> >> >> - Clicking on the link gets me the "This is not the web page you
> are
> >> >> >> looking
> >> >> >> for" page. (This is the actual link address:
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> >> )
> >> >> >>
> >> >> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
> >> work
> >> >> for
> >> >> >> me. I didn't think it would, but I tried anyway.
> >> >> >>
> >> >> >> - Searching for "taverna robundle TestExample" on the main
> Apache.com
> >> >> page
> >> >> >> yields no results.
> >> >> >>
> >> >> >> I will continue to read and understand the RO Bundle API page,
> but I
> >> >> would
> >> >> >> like to see the full Test Example, if possible.
> >> >> >>
> >> >> >> Thanks!
> >> >> >>
> >> >> >> Gale
> >> >> >>
> >> >> >>
> >> >> >> -----Original Message-----
> >> >> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> >> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> >> To: dev@taverna.incubator.apache.org
> >> >> >> Subject: Re: Taverna Language Command Line tool - convert command
> doc
> >> >> >>
> >> >> >> That's cool.....!! :-)
> >> >> >> Correction:
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >> >>
> >> >> >> > Example 2: Simple conversion, multiple input files, no options
> >> >> >> >
> >> >> >> > $tavlang convert –-robundle /someFile1.wfbundle
> /someFile2.wfbundle
> >> >> >> >
> >> >> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> >> >> >> > *.robundle* format and saves the output files to the
> */converted*
> >> >> >> > folder in the current working directory.
> >> >> >> >
> >> >> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
> >> >> format.
> >> >> >> Its only for some specific bundle formats. Go through this doc for
> >> more
> >> >> >> info.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >> >>
> >> >> >> cheers.
> >> >> >>
> >> >> >> On 20 June 2015 at 22:43, Gale Naylor <
> galen@noventussolutions.com>
> >> >> wrote:
> >> >> >>
> >> >> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
> >> blog
> >> >> >> > posts to use the <pre> tag, and it looks great. I also made a
> few
> >> >> >> > refinements.
> >> >> >> >
> >> >> >> > Thanks,
> >> >> >> > Gale
> >> >> >> >
> >> >> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >> >> > <me...@gmail.com> wrote:
> >> >> >> > > Thank you very much Gale,
> >> >> >> > >
> >> >> >> > > I showed the output-format without brackets to indicate it is
> >> >> >> > >> required and not optional because it appears to be always
> >> necessary
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > That would be more accurate I think. I'm very new for
> >> documentation.
> >> >> >> > Thank
> >> >> >> > > you very much.
> >> >> >> > >
> >> >> >> > > I left the -json output file type as having a single dash,
> but
> >> all
> >> >> >> > >> the other output types have double-dashes. Should I change
> the
> >> json
> >> >> >> > >> output argument to --json?
> >> >> >> > >>
> >> >> >> > > -json should be --json. In my email that was a mistake. So you
> >> can
> >> >> >> > > use
> >> >> >> > --.
> >> >> >> > >
> >> >> >> > > (Wordpress is driving me crazy because it is showing the
> >> >> >> > > double-dashes
> >> >> >> > >> as long single dashes, even when I use the monospace
> >> font-family.
> >> >> >> > >> Any
> >> >> >> > >> suggestions?)
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> >> preformatted.
> >> >> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >> >> >> > >
> >> >> >> >
> >> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> > age-command-line-conversion-documentation/
> >> >> >> > >
> >> >> >> > > Thank you very much.
> >> >> >> > > Menaka
> >> >> >> > >
> >> >> >> > > I'll go through your documentations.
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> galen@noventussolutions.com>
> >> >> >> > wrote:
> >> >> >> > >
> >> >> >> > >> Hi Menaka,
> >> >> >> > >>
> >> >> >> > >> Thanks for updating your blog! I have some additional
> feedback
> >> in
> >> >> >> > >> the form of two blog posts. One has a detailed description
> (as I
> >> >> >> > >> understand it) of the convert command and one has several
> >> examples,
> >> >> >> > >> building on the examples in your blog. I hope these will help
> >> the
> >> >> >> > >> discussion of the command structure. Here are the links:
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> >
> >> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> > mmand-line-convert-command/
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> > >>
> >> >> >> >
> >> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> > mmand-line-convert-examples/
> >> >> >> > >>
> >> >> >> > >> Some things to note:
> >> >> >> > >>
> >> >> >> > >> (1) l basically used your June 18th post, but a few things
> (like
> >> >> >> > >> the validate command) are from earlier posts/emails.
> >> >> >> > >>
> >> >> >> > >> (2) I showed the output-format without brackets to indicate
> it
> >> is
> >> >> >> > >> required and not optional because it appears to be always
> >> >> necessary.
> >> >> >> > >>
> >> >> >> > >> (3) The way I understand the overall command structure, it
> >> seemed
> >> >> >> > >> that all options (e.g., the output file directory) should
> come
> >> >> >> > >> before the input-file-list, so that's what I assumed.
> >> >> >> > >>
> >> >> >> > >> (4) I left the -json output file type as having a single
> dash,
> >> but
> >> >> >> > >> all the other output types have double-dashes. Should I
> change
> >> the
> >> >> >> > >> json output argument to --json?
> >> >> >> > >>
> >> >> >> > >> Please let me know if anything is incorrect and I will change
> >> it. I
> >> >> >> > >> realize the command structure is fluid, and I'm happy to make
> >> any
> >> >> >> > >> changes as things evolve.
> >> >> >> > >>
> >> >> >> > >> (Wordpress is driving me crazy because it is showing the
> >> >> >> > >> double-dashes as long single dashes, even when I use the
> >> monospace
> >> >> >> > >> font-family. Any
> >> >> >> > >> suggestions?)
> >> >> >> > >>
> >> >> >> > >> Thanks,
> >> >> >> > >>
> >> >> >> > >> Gale
> >> >> >> > >>
> >> >> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> >> >> > >> <me...@gmail.com> wrote:
> >> >> >> > >> > Hi Gale,
> >> >> >> > >> >
> >> >> >> > >> > Thank you very much.
> >> >> >> > >> >
> >> >> >> > >> > . Can you help me
> >> >> >> > >> >> understand what you mean when you say the files will get
> >> saved
> >> >> >> > >> >> to the C directory?
> >> >> >> > >> >
> >> >> >> > >> > That was a mistake :-). I updated the blog. That should be
> >> >> >> > >> > corrected
> >> >> >> > as
> >> >> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >> >> > >> > *Convert
> >> >> >> > the
> >> >> >> > >> > files and save them in the …/toConvert/converted/
> directory.
> >> >> >> > >> >
> >> >> >> > >> > I would appreciate more feedback, modifications etc. So
> with
> >> the
> >> >> >> > >> > help
> >> >> >> > of
> >> >> >> > >> > the community we could come up with a much better
> structure.
> >> >> >> > >> > Cheers
> >> >> >> > >> > Menaka
> >> >> >> > >> >
> >> >> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> >> > >> > <ga...@noventussolutions.com>
> >> >> >> > >> wrote:
> >> >> >> > >> >
> >> >> >> > >> >> Hi Menaka,
> >> >> >> > >> >>
> >> >> >> > >> >> I am very happy to help, and I understand the command
> >> structure
> >> >> >> > >> >> is a little fluid right now. Thank you for the blog post;
> it
> >> was
> >> >> >> > >> >> very helpful.
> >> >> >> > >> >>
> >> >> >> > >> >> I am a little confused about your recursive example. Can
> you
> >> >> >> > >> >> help me understand what you mean when you say the files
> will
> >> get
> >> >> >> > >> >> saved to the C directory? Because you show the output
> being
> >> >> saved
> >> >> >> > >> >> to:
> >> >> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >> >> > >> >>
> >> >> >> > >> >> This is the example:
> >> >> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >> >> > >> >> Convert the files and save them in the C directory.
> >> >> >> > >> >>
> >> >> >> > >> >> Thank you!
> >> >> >> > >> >>
> >> >> >> > >> >> Gale
> >> >> >> > >> >>
> >> >> >> > >> >> B
> >> >> >> > >> >>
> >> >> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >> >> > >> >> <me...@gmail.com> wrote:
> >> >> >> > >> >> > Hi Gale,
> >> >> >> > >> >> > I extremely appreciate your help. Thank you very much.
> :-)
> >> >> >> > >> >> >
> >> >> >> > >> >> > 1) Is this still the basic structure of the command:
> >> tavlang
> >> >> >> > convert
> >> >> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
> >> >> >> > >> >> >> thinking
> >> >> >> > that
> >> >> >> > >> the
> >> >> >> > >> >> >> output formats are handled as options?
> >> >> >> > >> >> >
> >> >> >> > >> >> >
> >> >> >> > >> >> > Yes there is a little difference in the structure of
> >> commands
> >> >> >> > >> >> > now
> >> >> >> > and
> >> >> >> > >> >> then.
> >> >> >> > >> >> > So for the moment the command structure is like this.
> >> >> >> > >> >> >
> >> >> >> > >> >> > $tavlang convert [--out-put format] [options]
> [arguments]
> >> >> >> > >> >> >
> >> >> >> > >> >> >
> >> >> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
> what
> >> >> >> > >> >> circumstances?
> >> >> >> > >> >> >
> >> >> >> > >> >> > No. In recursive case the input will be a directory
> >> containing
> >> >> >> > >> .t2flow of
> >> >> >> > >> >> > .wfbundle files. The output dir is optional for both
> >> recursive
> >> >> >> > >> >> > and
> >> >> >> > non
> >> >> >> > >> >> > recursive cases.
> >> >> >> > >> >> >
> >> >> >> > >> >> > I created a blog about the conversion command.
> >> >> >> > >> >> >
> >> >> >> > >> >>
> >> >> >> > >>
> >> >> >> >
> >> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> > age-command-line-conversion-documentation/
> >> >> >> > >> >> >
> >> >> >> > >> >> > If you have some suggestions, please inform.
> >> >> >> > >> >> >
> >> >> >> > >> >> > Thank you very much!
> >> >> >> > >> >> >
> >> >> >> > >> >> > Regards
> >> >> >> > >> >> > Menaka
> >> >> >> > >> >> >
> >> >> >> > >> >> > --
> >> >> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University
> >> >> >> > >> >> > of Peradeniyaya.
> >> >> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> > >> >>
> >> >> >> > >> >
> >> >> >> > >> >
> >> >> >> > >> >
> >> >> >> > >> > --
> >> >> >> > >> > Menaka Madushanka Jayawardena
> >> >> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University of
> >> >> >> > >> > Peradeniyaya.
> >> >> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> > >>
> >> >> >> > >
> >> >> >> > >
> >> >> >> > >
> >> >> >> > > --
> >> >> >> > > Menaka Madushanka Jayawardena
> >> >> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of
> >> >> >> > > Peradeniyaya.
> >> >> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Menaka Madushanka Jayawardena
> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> >> >> Peradeniyaya.
> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >>
> >>
> >> --
> >> Stian Soiland-Reyes
> >> Apache Taverna (incubating), Apache Commons RDF (incubating)
> >> http://orcid.org/0000-0001-9842-9718
> >>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
>
RE: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Thank you, Ian!
-----Original Message-----
From: Ian Dunlop [mailto:ian.dunlop@manchester.ac.uk]
Sent: Tuesday, July 21, 2015 7:36 AM
To: dev@taverna.incubator.apache.org
Subject: Re: Taverna Language Command Line tool - convert command doc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
Hi Gale. I can see the pull request here
https://github.com/apache/incubator-taverna-site/pull/1
Thanks very much :)
We'll have a look and get it merged soon (or feedback in case any changes
etc are needed).
Cheers,
Ian
On 21/07/2015 15:04, Gale Naylor wrote:
> Hi Stian,
>
> I have submitted a pull request regarding adding the Taverna Language
> Modules diagram. This is my first time, so I'm not sure if I did it
> correctly or if there is anything else I need to do now.
>
> Thank you,
>
> Gale
>
> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
> <st...@apache.org> wrote:
>> Thanks!
>>
>> We have a general contributor guide for the website here:
>>
>> http://taverna.incubator.apache.org/community/edit
>>
>>
>> Editing the website itself in a fork can be done in the GitHub web
>> interface, but to add the diagram to a GitHub pull request (e.g. )
>> would probably require you to check out from your fork of
>> https://github.com/apache/incubator-taverna-site --
>>
>> you could also contribute it as an attachment to a Jira bug
>> report:
>> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>>
>>
>> I don't think a single diagram would require a CLA with ASF - your
>> contribution should be automatically covered by the #5 in
>> http://www.apache.org/licenses/LICENSE-2.0 - but we might need you to
>> sign a CLA - http://www.apache.org/licenses/#clas - before we can
>> accept larger contributions.
>>
>>
>>
>>
>>
>> On 3 July 2015 at 05:29, Gale Naylor
>> <ga...@noventussolutions.com> wrote:
>>> Hi Stian,
>>>
>>> Yes, when I get home from vacation (July 10-11), I will look at this
>>> information more carefully and have a go at adding it to the
>>> website. I will let you know if I have any questions.
>>>
>>> Thank you,
>>>
>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>> <st...@apache.org> wrote:
>>>
>>>> Hi, Gale, thanks for your effort on documenting tavlang - as it's
>>>> being developed!
>>>>
>>>> Do you think you could have a go at adding this to the website in
>>>> MarkDown/HTML format..? See
>>>>
>>>>
>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/content
/documentation/scufl2
>>>>
>>>>
which is the source for
>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>
>>>> (perhaps /scufl2 in the URL should be renamed to /language
>>>> ?)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> .wfbundle workflows is a kind of earlier form of RO Bundle, but
>>>> predates their formal specification and does not use the
>>>> taverna-robundle API. So they were meant to be updated to also be
>>>> full RO Bundles - basically having a JSON manifest instead/in
>>>> addition to the XML one. So it should at some point be possible to
>>>> convert them. Perhaps a prototype converter could just copy over
>>>> the files internally between the UCFPackage and the Bundle and thus
>>>> update the new manifest?
>>>>
>>>>
>>>>
>>>> The code that does the wfbundle writing:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
XMLWriter.java
>>>>
>>>>
and reading:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
XMLReader.java
>>>>
>>>>
>>>>
So this relies on the UCF support from:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpacka
ge/UCFPackage.java
>>>>
>>>>
.. which is basically a proxy for manipulating a ZIP file and its manife st.
>>>>
>>>>
>>>> But this should ideally be updated to use the RO Bundle API
>>>> from:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
verna-robundle
>>>>
>>>>
>>>>
>>>>
and thus have proper support for linking the annotation/ files to
>>>> their corresponding workflow elements, rather than having to parse
>>>> them all to find the right one.
>>>>
>>>> as the UCFPackage types are used throughout the wfbundle writer
>>>> changing this would take a bit of effort.. or just wrapping it from
>>>> UCFPackage. Here's an earlier attempt:
>>>>
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/ucfpackag
e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/sc
ufl2/ucfpackage/UCFPackage.java
>>>>
>>>>
>>>>
(Note: That branch has test errors)
>>>>
>>>>
>>>> As you see it calls the writeAsODFManifest(); which writes out the
>>>> classic META-INF/manifest.xml for backwards compatibility. This is
>>>> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
>>>> what you are doing"):
>>>> https://w3id.org/bundle#manifest-xml
>>>>
>>>> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com>
>>>> wrote:
>>>>> Hi Gale, I'm really appreciate your feedback on my blogs.
>>>>> I'm very new and there could be some flows. Thank you very much
>>>>> for showing them. :-)
>>>>>
>>>>> 1) Yes, the types of bundle formats that can be converted are
>>>>> listed in this blog.
>>>>>
>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-
command-line-tool-conversion-documentation-research-objects/
>>>>>
>>>>
The bundles are not workflows.
>>>>>
>>>>> 2) No. It seems like the way I have wrote it somewhat
>>>>> misleading..... Actually scufl2 workflows are not Bundles.
>>>>> Those are two different APIs. I'll update the blog. :-)
>>>>>
>>>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>>>>> converted into robundle.
>>>>>
>>>>> 4). Yes Gale. That modification should be done. Other wise it
>>>>> looks like any format could be converted into Robundle.
>>>>> I'll update my blog too.
>>>>>
>>>>> Are there any more facts that need clarification about the blogs
>>>>> please
>>>> ask
>>>>> me. :)
>>>>>
>>>>> Thank you very much Gale. Menaka
>>>>>
>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>> <ga...@noventussolutions.com>
>>>> wrote:
>>>>>
>>>>>> Hi Menaka,
>>>>>>
>>>>>> I've been reading and learning more about research objects, and I
>>>>>> think I understand better what is going on, but I still have some
>>>>>> questions.
>>>>>>
>>>>>> 1) I am curious as to which file types *can* be converted to
>>>>>> .robundle format? (I must have missed something because I thought
>>>>>> .t2flow and .wfbundle were the only allowed input file types.)
>>>>>>
>>>>>> 2) In rereading your June 18th blog post, I see you say that the
>>>>>> command line tool is for converting and managing workflow
>>>>>> "bundles" as well as research object bundles.
>>>>>> Are t2flow files "workflow bundles" or just "workflows?"
>>>>>> Or is there not a practical difference?
>>>>>>
>>>>>> 3) I understand now that not all file format conversions are
>>>>>> valid. I'm trying to understand this better. In your June 18th
>>>>>> blog post you say:
>>>>>>
>>>>>> "The conversion function supports converting .t2flow and
>>>>>> .wfbundle formats into following formats:
>>>>>>
>>>>>> .structure
>>>>>>
>>>>>> .json
>>>>>>
>>>>>> .iwir
>>>>>>
>>>>>> .wfbundle
>>>>>>
>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>
>>>>>> .robundle –> (development in progress)"
>>>>>>
>>>>>> To me, reading this looks like all combinations are valid.
>>>>>>
>>>>>> I'm wondering, can both .t2flow and .wfbundle files be converted
>>>>>> to all file types *except* robundle?
>>>>>>
>>>>>>
>>>>>> 4) I fixed the examples in my blog post. Should I also change
>>>>>> the --robundle option description to say "Output bundle as
>>>>>> .robundle" instead of "Output workflow as .robundle" ? (Same for
>>>>>> .wfbundle option.)
>>>>>>
>>>>>> Thanks for the feedback and the correct link to the example!
>>>>>>
>>>>>> Have a nice weekend.
>>>>>>
>>>>>> Gale
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>>>> <me...@gmail.com> wrote:
>>>>>>> Hi Gale, Use this link
>>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
a
>>>>>>>
>>>>>>>
>>>>
Cheers
>>>>>>> Menaka
>>>>>>>
>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>> <ga...@noventussolutions.com>
>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Menaka,
>>>>>>>>
>>>>>>>> Thank you for the feedback and clarifying information. Sorry
>>>>>>>> not to
>>>>>> respond
>>>>>>>> sooner. I am learning about bundles, etc. and reading the link
>>>>>>>> you
>>>> sent.
>>>>>>>>
>>>>>>>> One thing, I'm having trouble getting to the example in the
>>>>>>>> Examples
>>>> of
>>>>>> Use
>>>>>>>> Section: "Example in full is at
>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>
>>>>>>>> Can you help me? This is what I've done so far:
>>>>>>>>
>>>>>>>> - Clicking on the link gets me the "This is not the web page
>>>>>>>> you are looking for" page. (This is the actual link address:
>>>>>>>>
>>>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>>>
>>>>
)
>>>>>>>>
>>>>>>>> - Entering "org.apache.taverna.robundle.TestExample"
>>>>>>>> also doesn't
>>>> work
>>>>>> for
>>>>>>>> me. I didn't think it would, but I tried anyway.
>>>>>>>>
>>>>>>>> - Searching for "taverna robundle TestExample" on the main
>>>>>>>> Apache.com
>>>>>> page
>>>>>>>> yields no results.
>>>>>>>>
>>>>>>>> I will continue to read and understand the RO Bundle API page,
>>>>>>>> but I
>>>>>> would
>>>>>>>> like to see the full Test Example, if possible.
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> Gale
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message----- From: Menaka Madushanka
>>>>>>>> [mailto:menaka12350@gmail.com] Sent: Saturday, June 20, 2015
>>>>>>>> 11:09 AM To:
>>>>>>>> dev@taverna.incubator.apache.org Subject: Re: Taverna Language
>>>>>>>> Command Line tool - convert command doc
>>>>>>>>
>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>
>>>>>>>>
>>>>>>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language
- -command-line-convert-examples/
>>>>>>>>
>>>>>>>>>
>>>>
Example 2: Simple conversion, multiple input files, no options
>>>>>>>>>
>>>>>>>>> $tavlang convert –-robundle /someFile1.wfbundle
>>>>>>>>> /someFile2.wfbundle
>>>>>>>>>
>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>> */someFile2.wfbundle* into *.robundle* format and saves the
>>>>>>>>> output files to the */converted* folder in the current working
>>>>>>>>> directory.
>>>>>>>>>
>>>>>>>> Taverna language *cannot* convert .wfbundles/.t2flow into
>>>>>>>> robundle
>>>>>> format.
>>>>>>>> Its only for some specific bundle formats. Go through this doc
>>>>>>>> for
>>>> more
>>>>>>>> info.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
verna-robundle
>>>>>>>>
>>>>>>>>
>>>>
cheers.
>>>>>>>>
>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com>
>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thank you for the Wordpress tip, Menaka! I have changed the
>>>>>>>>> two
>>>> blog
>>>>>>>>> posts to use the <pre> tag, and it looks great. I also made a
>>>>>>>>> few refinements.
>>>>>>>>>
>>>>>>>>> Thanks, Gale
>>>>>>>>>
>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>
>>>>>>>>>> I showed the output-format without brackets to indicate it is
>>>>>>>>>>> required and not optional because it appears to be always
>>>> necessary
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> That would be more accurate I think. I'm very new
>>>>>>>>>> for
>>>> documentation.
>>>>>>>>> Thank
>>>>>>>>>> you very much.
>>>>>>>>>>
>>>>>>>>>> I left the -json output file type as having a
>>>>>>>>>> single dash, but
>>>> all
>>>>>>>>>>> the other output types have double-dashes.
>>>>>>>>>>> Should I change the
>>>> json
>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>
>>>>>>>>>> -json should be --json. In my email that was a
>>>>>>>>>> mistake. So you
>>>> can
>>>>>>>>>> use
>>>>>>>>> --.
>>>>>>>>>>
>>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>>> showing the double-dashes
>>>>>>>>>>> as long single dashes, even when I use the
>>>>>>>>>>> monospace
>>>> font-family.
>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Yes, wordpress does what it wants, but not us.
>>>>>>>>>> :-) Use
>>>> preformatted.
>>>>>>>>>> Not paragraph. Then it would be ok. I updated my
>>>>>>>>>> blog.
>>>>>>>>>>
>>>>>>>>>
>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-
langu
>>>>>>>>>
>>>>>>
age-command-line-conversion-documentation/
>>>>>>>>>>
>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>
>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor <
>>>> galen@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>
>>>>>>>>>>> Thanks for updating your blog! I have some
>>>>>>>>>>> additional feedback
>>>> in
>>>>>>>>>>> the form of two blog posts. One has a detailed
>>>>>>>>>>> description (as I understand it) of the convert
>>>>>>>>>>> command and one has several
>>>> examples,
>>>>>>>>>>> building on the examples in your blog. I hope
>>>>>>>>>>> these will help
>>>> the
>>>>>>>>>>> discussion of the command structure. Here are
>>>>>>>>>>> the links:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langua
ge-co
>>>>>>>>>
>>>>>>
mmand-line-convert-command/
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langua
ge-co
>>>>>>>>>
>>>>>>
mmand-line-convert-examples/
>>>>>>>>>>>
>>>>>>>>>>> Some things to note:
>>>>>>>>>>>
>>>>>>>>>>> (1) l basically used your June 18th post, but a
>>>>>>>>>>> few things (like the validate command) are from
>>>>>>>>>>> earlier posts/emails.
>>>>>>>>>>>
>>>>>>>>>>> (2) I showed the output-format without brackets
>>>>>>>>>>> to indicate it
>>>> is
>>>>>>>>>>> required and not optional because it appears to
>>>>>>>>>>> be always
>>>>>> necessary.
>>>>>>>>>>>
>>>>>>>>>>> (3) The way I understand the overall command
>>>>>>>>>>> structure, it
>>>> seemed
>>>>>>>>>>> that all options (e.g., the output file
>>>>>>>>>>> directory) should come before the
>>>>>>>>>>> input-file-list, so that's what I assumed.
>>>>>>>>>>>
>>>>>>>>>>> (4) I left the -json output file type as having
>>>>>>>>>>> a single dash,
>>>> but
>>>>>>>>>>> all the other output types have double-dashes.
>>>>>>>>>>> Should I change
>>>> the
>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>
>>>>>>>>>>> Please let me know if anything is incorrect and
>>>>>>>>>>> I will change
>>>> it. I
>>>>>>>>>>> realize the command structure is fluid, and I'm
>>>>>>>>>>> happy to make
>>>> any
>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>
>>>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>>>> showing the double-dashes as long single
>>>>>>>>>>> dashes, even when I use the
>>>> monospace
>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>>
>>>>>>>>>>> Gale
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>
>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>> understand what you mean when you say the
>>>>>>>>>>>>> files will get
>>>> saved
>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>
>>>>>>>>>>>> That was a mistake :-). I updated the blog.
>>>>>>>>>>>> That should be corrected
>>>>>>>>> as
>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>>>> the
>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>> …/toConvert/converted/ directory.
>>>>>>>>>>>>
>>>>>>>>>>>> I would appreciate more feedback,
>>>>>>>>>>>> modifications etc. So with
>>>> the
>>>>>>>>>>>> help
>>>>>>>>> of
>>>>>>>>>>>> the community we could come up with a much
>>>>>>>>>>>> better structure. Cheers Menaka
>>>>>>>>>>>>
>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am very happy to help, and I understand
>>>>>>>>>>>>> the command
>>>> structure
>>>>>>>>>>>>> is a little fluid right now. Thank you for
>>>>>>>>>>>>> the blog post; it
>>>> was
>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am a little confused about your recursive
>>>>>>>>>>>>> example. Can you help me understand what
>>>>>>>>>>>>> you mean when you say the files will
>>>> get
>>>>>>>>>>>>> saved to the C directory? Because you show
>>>>>>>>>>>>> the output being
>>>>>> saved
>>>>>>>>>>>>> to:
>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
This is the example:
>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>> /home/usrname/toConvert/ –> Convert the
>>>>>>>>>>>>> files and save them in the C directory.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>
>>>>>>>>>>>>> B
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>>> Hi Gale, I extremely appreciate your
>>>>>>>>>>>>>> help. Thank you very much. :-)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 1) Is this still the basic structure of
>>>>>>>>>>>>>> the command:
>>>> tavlang
>>>>>>>>> convert
>>>>>>>>>>>>>>> [options] <output format> <input
>>>>>>>>>>>>>>> files>? Am I wrong in thinking
>>>>>>>>> that
>>>>>>>>>>> the
>>>>>>>>>>>>>>> output formats are handled as options?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yes there is a little difference in the
>>>>>>>>>>>>>> structure of
>>>> commands
>>>>>>>>>>>>>> now
>>>>>>>>> and
>>>>>>>>>>>>> then.
>>>>>>>>>>>>>> So for the moment the command structure
>>>>>>>>>>>>>> is like this.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> $tavlang convert [--out-put format]
>>>>>>>>>>>>>> [options] [arguments]
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2) Are -r and -i ever used independently?
>>>>>>>>>>>>>> If so, under what
>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> No. In recursive case the input will be a
>>>>>>>>>>>>>> directory
>>>> containing
>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>> .wfbundle files. The output dir is
>>>>>>>>>>>>>> optional for both
>>>> recursive
>>>>>>>>>>>>>> and
>>>>>>>>> non
>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I created a blog about the conversion
>>>>>>>>>>>>>> command.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-
langu
>>>>>>>>>
>>>>>>
age-command-line-conversion-documentation/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If you have some suggestions, please
>>>>>>>>>>>>>> inform.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -- Menaka Madushanka Jayawardena Faculty
>>>>>>>>>>>>>> of Engineering,
>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>> University
>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>>
- --
>>>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>> University of
>>>>>>>>>>>> Peradeniyaya. LinkedIn
>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>
- --
>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>>>>>>>> University of Peradeniyaya. LinkedIn
>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University
>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University of
>>>>>>> Peradeniyaya. LinkedIn
>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- Menaka Madushanka Jayawardena Faculty of Engineering,
>>>>> <http://www.pdn.ac.lk/eng> University of Peradeniyaya.
>>>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>
>>>>
>>>>
>>>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>>>> Commons RDF (incubating)
>>>> http://orcid.org/0000-0001-9842-9718
>>>>
>>
>>
>>
>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>> Commons RDF (incubating) http://orcid.org/0000-0001-9842-9718
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVrljKAAoJEPK45GBX+Cy588oH/ikXDQr3kAc+0D1z4w48a34w
1AZufTXLK8HRGy/vlTwABssjj9HMxIn/P/ZKj2FmoSCnrr+/HKb+qFo7bes6EeVB
VIfqLcu8Dpq6t6V7ue0MqACqhBYZZBkgHM1Sty4/6Y/ln/SFSk7t+WHzDDQrnksq
qd71iuBpjmiZG8z/rZKUhRGATaJ8ffSltbRb5GibVELqaevBrt9cdGuzG3TKxRvI
H3FlFwpRk3FKitawVd2k9la/n95w9eLd5aEEnJPlfZNq0oztt/KIjqPlkML68gVB
x3UDWdCThZAsyC08VesX5K0FXh/3+CP//MQOq+2aQY/wbR9LBTJemJRTxA+53tw=
=En0z
-----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Ian Dunlop <ia...@manchester.ac.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
Not a problem. All you have to do is close the pull request.
Cheers,
Ian
On 22/07/2015 19:11, Gale Naylor wrote:
> Hi Ian,
>
> The last 3 pull requests I made (update index.md, merge pull
> request #1, and update index.md) I did not intend to make. I didn't
> realize they were going out. Sorry if it was confusing.
>
> I tried to fix the "broken links" in the
> https://github.com/apache/incubator-taverna-site pages, but now I
> understand the links only work in the
> http://taverna.incubator.apache.org/documentation/scufl2/ pages. I
> thought I was trying something in a local copy.
>
> Is there a process for rejecting them, or can I just delete my
> github repository and fork a new one?
>
>
> Gale
>
> On Tue, Jul 21, 2015 at 7:35 AM, Ian Dunlop
> <ia...@manchester.ac.uk> wrote: Hello,
>
> Hi Gale. I can see the pull request here
> https://github.com/apache/incubator-taverna-site/pull/1 Thanks very
> much :) We'll have a look and get it merged soon (or feedback in
> case any changes etc are needed).
>
> Cheers,
>
> Ian
>
> On 21/07/2015 15:04, Gale Naylor wrote:
>>>> Hi Stian,
>>>>
>>>> I have submitted a pull request regarding adding the Taverna
>>>> Language Modules diagram. This is my first time, so I'm not
>>>> sure if I did it correctly or if there is anything else I
>>>> need to do now.
>>>>
>>>> Thank you,
>>>>
>>>> Gale
>>>>
>>>> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
>>>> <st...@apache.org> wrote:
>>>>> Thanks!
>>>>>
>>>>> We have a general contributor guide for the website here:
>>>>>
>>>>> http://taverna.incubator.apache.org/community/edit
>>>>>
>>>>>
>>>>> Editing the website itself in a fork can be done in the
>>>>> GitHub web interface, but to add the diagram to a GitHub
>>>>> pull request (e.g. ) would probably require you to check
>>>>> out from your fork of
>>>>> https://github.com/apache/incubator-taverna-site --
>>>>>
>>>>> you could also contribute it as an attachment to a Jira
>>>>> bug report:
>>>>> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>>>>>
>>>>>
>>>>>
>>>>>
I don't think a single diagram would require a CLA with ASF -
>>>>> your contribution should be automatically covered by the #5
>>>>> in http://www.apache.org/licenses/LICENSE-2.0 - but we
>>>>> might need you to sign a CLA -
>>>>> http://www.apache.org/licenses/#clas - before we can accept
>>>>> larger contributions.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 3 July 2015 at 05:29, Gale Naylor
>>>>> <ga...@noventussolutions.com> wrote:
>>>>>> Hi Stian,
>>>>>>
>>>>>> Yes, when I get home from vacation (July 10-11), I will
>>>>>> look at this information more carefully and have a go at
>>>>>> adding it to the website. I will let you know if I have
>>>>>> any questions.
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>>>>> <st...@apache.org> wrote:
>>>>>>
>>>>>>> Hi, Gale, thanks for your effort on documenting tavlang
>>>>>>> - as it's being developed!
>>>>>>>
>>>>>>> Do you think you could have a go at adding this to the
>>>>>>> website in MarkDown/HTML format..? See
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/cont
ent
>
>>>>>>>
/documentation/scufl2
>>>>>>>
>>>>>>>
> which is the source for
>>>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>>>>
>>>>>>>
>>>>>>>
(perhaps /scufl2 in the URL should be renamed to /language
>>>>>>> ?)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> .wfbundle workflows is a kind of earlier form of RO
>>>>>>> Bundle, but predates their formal specification and
>>>>>>> does not use the taverna-robundle API. So they were
>>>>>>> meant to be updated to also be full RO Bundles -
>>>>>>> basically having a JSON manifest instead/in addition to
>>>>>>> the XML one. So it should at some point be possible to
>>>>>>> convert them. Perhaps a prototype converter could just
>>>>>>> copy over the files internally between the UCFPackage
>>>>>>> and the Bundle and thus update the new manifest?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> The code that does the wfbundle writing:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
> XMLWriter.java
>>>>>>>
>>>>>>>
> and reading:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
> XMLReader.java
>>>>>>>
>>>>>>>
>>>>>>>
> So this relies on the UCF support from:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpacka
> ge/UCFPackage.java
>>>>>>>
>>>>>>>
> .. which is basically a proxy for manipulating a ZIP file and its
> manife st.
>>>>>>>
>>>>>>>
>>>>>>> But this should ideally be updated to use the RO Bundle
>>>>>>> API from:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/tree/master
/ta
>
>>>>>>>
verna-robundle
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
> and thus have proper support for linking the annotation/ files to
>>>>>>> their corresponding workflow elements, rather than
>>>>>>> having to parse them all to find the right one.
>>>>>>>
>>>>>>> as the UCFPackage types are used throughout the
>>>>>>> wfbundle writer changing this would take a bit of
>>>>>>> effort.. or just wrapping it from UCFPackage. Here's an
>>>>>>> earlier attempt:
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/ucfpac
kag
>
>>>>>>>
e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/sc
> ufl2/ucfpackage/UCFPackage.java
>>>>>>>
>>>>>>>
>>>>>>>
> (Note: That branch has test errors)
>>>>>>>
>>>>>>>
>>>>>>> As you see it calls the writeAsODFManifest(); which
>>>>>>> writes out the classic META-INF/manifest.xml for
>>>>>>> backwards compatibility. This is permitted by our spec
>>>>>>> - but violating a NOT RECOMMENDED ("e.g. Know what you
>>>>>>> are doing"): https://w3id.org/bundle#manifest-xml
>>>>>>>
>>>>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>>>>> <me...@gmail.com> wrote:
>>>>>>>> Hi Gale, I'm really appreciate your feedback on my
>>>>>>>> blogs. I'm very new and there could be some flows.
>>>>>>>> Thank you very much for showing them. :-)
>>>>>>>>
>>>>>>>> 1) Yes, the types of bundle formats that can be
>>>>>>>> converted are listed in this blog.
>>>>>>>>
>>>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-langua
ge-
>
>>>>>>>
command-line-tool-conversion-documentation-research-objects/
>>>>>>>>
>>>>>>>
> The bundles are not workflows.
>>>>>>>>
>>>>>>>> 2) No. It seems like the way I have wrote it
>>>>>>>> somewhat misleading..... Actually scufl2 workflows
>>>>>>>> are not Bundles. Those are two different APIs. I'll
>>>>>>>> update the blog. :-)
>>>>>>>>
>>>>>>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>>>>>>>> could be converted into robundle.
>>>>>>>>
>>>>>>>> 4). Yes Gale. That modification should be done. Other
>>>>>>>> wise it looks like any format could be converted into
>>>>>>>> Robundle. I'll update my blog too.
>>>>>>>>
>>>>>>>> Are there any more facts that need clarification
>>>>>>>> about the blogs please
>>>>>>> ask
>>>>>>>> me. :)
>>>>>>>>
>>>>>>>> Thank you very much Gale. Menaka
>>>>>>>>
>>>>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Menaka,
>>>>>>>>>
>>>>>>>>> I've been reading and learning more about research
>>>>>>>>> objects, and I think I understand better what is
>>>>>>>>> going on, but I still have some questions.
>>>>>>>>>
>>>>>>>>> 1) I am curious as to which file types *can* be
>>>>>>>>> converted to .robundle format? (I must have missed
>>>>>>>>> something because I thought .t2flow and .wfbundle
>>>>>>>>> were the only allowed input file types.)
>>>>>>>>>
>>>>>>>>> 2) In rereading your June 18th blog post, I see you
>>>>>>>>> say that the command line tool is for converting
>>>>>>>>> and managing workflow "bundles" as well as research
>>>>>>>>> object bundles. Are t2flow files "workflow bundles"
>>>>>>>>> or just "workflows?" Or is there not a practical
>>>>>>>>> difference?
>>>>>>>>>
>>>>>>>>> 3) I understand now that not all file format
>>>>>>>>> conversions are valid. I'm trying to understand
>>>>>>>>> this better. In your June 18th blog post you say:
>>>>>>>>>
>>>>>>>>> "The conversion function supports converting
>>>>>>>>> .t2flow and .wfbundle formats into following
>>>>>>>>> formats:
>>>>>>>>>
>>>>>>>>> .structure
>>>>>>>>>
>>>>>>>>> .json
>>>>>>>>>
>>>>>>>>> .iwir
>>>>>>>>>
>>>>>>>>> .wfbundle
>>>>>>>>>
>>>>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>>>>
>>>>>>>>> .robundle –> (development in progress)"
>>>>>>>>>
>>>>>>>>> To me, reading this looks like all combinations
>>>>>>>>> are valid.
>>>>>>>>>
>>>>>>>>> I'm wondering, can both .t2flow and .wfbundle files
>>>>>>>>> be converted to all file types *except* robundle?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 4) I fixed the examples in my blog post. Should I
>>>>>>>>> also change the --robundle option description to
>>>>>>>>> say "Output bundle as .robundle" instead of "Output
>>>>>>>>> workflow as .robundle" ? (Same for .wfbundle
>>>>>>>>> option.)
>>>>>>>>>
>>>>>>>>> Thanks for the feedback and the correct link to
>>>>>>>>> the example!
>>>>>>>>>
>>>>>>>>> Have a nice weekend.
>>>>>>>>>
>>>>>>>>> Gale
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>> Hi Gale, Use this link
>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
> a
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
> Cheers
>>>>>>>>>> Menaka
>>>>>>>>>>
>>>>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>
>>>>>>>>>>> Thank you for the feedback and clarifying
>>>>>>>>>>> information. Sorry not to
>>>>>>>>> respond
>>>>>>>>>>> sooner. I am learning about bundles, etc. and
>>>>>>>>>>> reading the link you
>>>>>>> sent.
>>>>>>>>>>>
>>>>>>>>>>> One thing, I'm having trouble getting to the
>>>>>>>>>>> example in the Examples
>>>>>>> of
>>>>>>>>> Use
>>>>>>>>>>> Section: "Example in full is at
>>>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>
>>>>>>>>>>> Can you help me? This is what I've done so
>>>>>>>>>>> far:
>>>>>>>>>>>
>>>>>>>>>>> - Clicking on the link gets me the "This is not
>>>>>>>>>>> the web page you are looking for" page. (This
>>>>>>>>>>> is the actual link address:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>>>>>>
>>>>>>>
> )
>>>>>>>>>>>
>>>>>>>>>>> - Entering
>>>>>>>>>>> "org.apache.taverna.robundle.TestExample" also
>>>>>>>>>>> doesn't
>>>>>>> work
>>>>>>>>> for
>>>>>>>>>>> me. I didn't think it would, but I tried
>>>>>>>>>>> anyway.
>>>>>>>>>>>
>>>>>>>>>>> - Searching for "taverna robundle TestExample"
>>>>>>>>>>> on the main Apache.com
>>>>>>>>> page
>>>>>>>>>>> yields no results.
>>>>>>>>>>>
>>>>>>>>>>> I will continue to read and understand the RO
>>>>>>>>>>> Bundle API page, but I
>>>>>>>>> would
>>>>>>>>>>> like to see the full Test Example, if
>>>>>>>>>>> possible.
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>>
>>>>>>>>>>> Gale
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> -----Original Message----- From: Menaka
>>>>>>>>>>> Madushanka [mailto:menaka12350@gmail.com] Sent:
>>>>>>>>>>> Saturday, June 20, 2015 11:09 AM To:
>>>>>>>>>>> dev@taverna.incubator.apache.org Subject: Re:
>>>>>>>>>>> Taverna Language Command Line tool - convert
>>>>>>>>>>> command doc
>>>>>>>>>>>
>>>>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langu
age
>
>>>>>>>
- -command-line-convert-examples/
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>
> Example 2: Simple conversion, multiple input files, no options
>>>>>>>>>>>>
>>>>>>>>>>>> $tavlang convert –-robundle
>>>>>>>>>>>> /someFile1.wfbundle /someFile2.wfbundle
>>>>>>>>>>>>
>>>>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>>>>> */someFile2.wfbundle* into *.robundle* format
>>>>>>>>>>>> and saves the output files to the
>>>>>>>>>>>> */converted* folder in the current working
>>>>>>>>>>>> directory.
>>>>>>>>>>>>
>>>>>>>>>>> Taverna language *cannot* convert
>>>>>>>>>>> .wfbundles/.t2flow into robundle
>>>>>>>>> format.
>>>>>>>>>>> Its only for some specific bundle formats. Go
>>>>>>>>>>> through this doc for
>>>>>>> more
>>>>>>>>>>> info.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/tree/master
/ta
>
>>>>>>>
verna-robundle
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>
> cheers.
>>>>>>>>>>>
>>>>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Thank you for the Wordpress tip, Menaka! I
>>>>>>>>>>>> have changed the two
>>>>>>> blog
>>>>>>>>>>>> posts to use the <pre> tag, and it looks
>>>>>>>>>>>> great. I also made a few refinements.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks, Gale
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I showed the output-format without brackets
>>>>>>>>>>>>> to indicate it is
>>>>>>>>>>>>>> required and not optional because it
>>>>>>>>>>>>>> appears to be always
>>>>>>> necessary
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> That would be more accurate I think. I'm
>>>>>>>>>>>>> very new for
>>>>>>> documentation.
>>>>>>>>>>>> Thank
>>>>>>>>>>>>> you very much.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I left the -json output file type as having
>>>>>>>>>>>>> a single dash, but
>>>>>>> all
>>>>>>>>>>>>>> the other output types have
>>>>>>>>>>>>>> double-dashes. Should I change the
>>>>>>> json
>>>>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>>>>
>>>>>>>>>>>>> -json should be --json. In my email that
>>>>>>>>>>>>> was a mistake. So you
>>>>>>> can
>>>>>>>>>>>>> use
>>>>>>>>>>>> --.
>>>>>>>>>>>>>
>>>>>>>>>>>>> (Wordpress is driving me crazy because it
>>>>>>>>>>>>> is showing the double-dashes
>>>>>>>>>>>>>> as long single dashes, even when I use
>>>>>>>>>>>>>> the monospace
>>>>>>> font-family.
>>>>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, wordpress does what it wants, but not
>>>>>>>>>>>>> us. :-) Use
>>>>>>> preformatted.
>>>>>>>>>>>>> Not paragraph. Then it would be ok. I
>>>>>>>>>>>>> updated my blog.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taver
na-
>
>>>>>>>>>
langu
>>>>>>>>>>>>
>>>>>>>>>
> age-command-line-conversion-documentation/
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor <
>>>>>>> galen@noventussolutions.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks for updating your blog! I have
>>>>>>>>>>>>>> some additional feedback
>>>>>>> in
>>>>>>>>>>>>>> the form of two blog posts. One has a
>>>>>>>>>>>>>> detailed description (as I understand it)
>>>>>>>>>>>>>> of the convert command and one has
>>>>>>>>>>>>>> several
>>>>>>> examples,
>>>>>>>>>>>>>> building on the examples in your blog. I
>>>>>>>>>>>>>> hope these will help
>>>>>>> the
>>>>>>>>>>>>>> discussion of the command structure. Here
>>>>>>>>>>>>>> are the links:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-lan
gua
>
>>>>>>>>>
ge-co
>>>>>>>>>>>>
>>>>>>>>>
> mmand-line-convert-command/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-lan
gua
>
>>>>>>>>>
ge-co
>>>>>>>>>>>>
>>>>>>>>>
> mmand-line-convert-examples/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Some things to note:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (1) l basically used your June 18th post,
>>>>>>>>>>>>>> but a few things (like the validate
>>>>>>>>>>>>>> command) are from earlier posts/emails.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (2) I showed the output-format without
>>>>>>>>>>>>>> brackets to indicate it
>>>>>>> is
>>>>>>>>>>>>>> required and not optional because it
>>>>>>>>>>>>>> appears to be always
>>>>>>>>> necessary.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (3) The way I understand the overall
>>>>>>>>>>>>>> command structure, it
>>>>>>> seemed
>>>>>>>>>>>>>> that all options (e.g., the output file
>>>>>>>>>>>>>> directory) should come before the
>>>>>>>>>>>>>> input-file-list, so that's what I
>>>>>>>>>>>>>> assumed.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (4) I left the -json output file type as
>>>>>>>>>>>>>> having a single dash,
>>>>>>> but
>>>>>>>>>>>>>> all the other output types have
>>>>>>>>>>>>>> double-dashes. Should I change
>>>>>>> the
>>>>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please let me know if anything is
>>>>>>>>>>>>>> incorrect and I will change
>>>>>>> it. I
>>>>>>>>>>>>>> realize the command structure is fluid,
>>>>>>>>>>>>>> and I'm happy to make
>>>>>>> any
>>>>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (Wordpress is driving me crazy because it
>>>>>>>>>>>>>> is showing the double-dashes as long
>>>>>>>>>>>>>> single dashes, even when I use the
>>>>>>> monospace
>>>>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>>>>>>> Madushanka <me...@gmail.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>>>>> understand what you mean when you say
>>>>>>>>>>>>>>>> the files will get
>>>>>>> saved
>>>>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That was a mistake :-). I updated the
>>>>>>>>>>>>>>> blog. That should be corrected
>>>>>>>>>>>> as
>>>>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>>>>>>> the
>>>>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>>>>> …/toConvert/converted/ directory.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I would appreciate more feedback,
>>>>>>>>>>>>>>> modifications etc. So with
>>>>>>> the
>>>>>>>>>>>>>>> help
>>>>>>>>>>>> of
>>>>>>>>>>>>>>> the community we could come up with a
>>>>>>>>>>>>>>> much better structure. Cheers Menaka
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am very happy to help, and I
>>>>>>>>>>>>>>>> understand the command
>>>>>>> structure
>>>>>>>>>>>>>>>> is a little fluid right now. Thank
>>>>>>>>>>>>>>>> you for the blog post; it
>>>>>>> was
>>>>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am a little confused about your
>>>>>>>>>>>>>>>> recursive example. Can you help me
>>>>>>>>>>>>>>>> understand what you mean when you say
>>>>>>>>>>>>>>>> the files will
>>>>>>> get
>>>>>>>>>>>>>>>> saved to the C directory? Because you
>>>>>>>>>>>>>>>> show the output being
>>>>>>>>> saved
>>>>>>>>>>>>>>>> to:
>>>>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>
>>>>>>>>>>>>>>>>
This is the example:
>>>>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –> Convert
>>>>>>>>>>>>>>>> the files and save them in the C
>>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> B
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM,
>>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>> Hi Gale, I extremely appreciate
>>>>>>>>>>>>>>>>> your help. Thank you very much.
>>>>>>>>>>>>>>>>> :-)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 1) Is this still the basic
>>>>>>>>>>>>>>>>> structure of the command:
>>>>>>> tavlang
>>>>>>>>>>>> convert
>>>>>>>>>>>>>>>>>> [options] <output format> <input
>>>>>>>>>>>>>>>>>> files>? Am I wrong in thinking
>>>>>>>>>>>> that
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> output formats are handled as
>>>>>>>>>>>>>>>>>> options?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Yes there is a little difference in
>>>>>>>>>>>>>>>>> the structure of
>>>>>>> commands
>>>>>>>>>>>>>>>>> now
>>>>>>>>>>>> and
>>>>>>>>>>>>>>>> then.
>>>>>>>>>>>>>>>>> So for the moment the command
>>>>>>>>>>>>>>>>> structure is like this.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> $tavlang convert [--out-put
>>>>>>>>>>>>>>>>> format] [options] [arguments]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2) Are -r and -i ever used
>>>>>>>>>>>>>>>>> independently? If so, under what
>>>>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> No. In recursive case the input
>>>>>>>>>>>>>>>>> will be a directory
>>>>>>> containing
>>>>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>>>>> .wfbundle files. The output dir is
>>>>>>>>>>>>>>>>> optional for both
>>>>>>> recursive
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>> non
>>>>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I created a blog about the
>>>>>>>>>>>>>>>>> conversion command.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taver
na-
>
>>>>>>>>>
langu
>>>>>>>>>>>>
>>>>>>>>>
> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> If you have some suggestions,
>>>>>>>>>>>>>>>>> please inform.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> -- Menaka Madushanka Jayawardena
>>>>>>>>>>>>>>>>> Faculty of Engineering,
>>>>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>>>>> University
>>>>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVsK8YAAoJEPK45GBX+Cy50IoIAIZqkrEGbztouS7i7zeen137
W4WUhKLmpb1gT5+Y72zGA+eEvTv7kM+gEmzRZmtFIc9Nta5h9rQw58JTf7XHbMy1
DB1tN+AtEaBFi4p08rrQcJsZkZ92p0UgMnFH6IraHukch7zZthZsYSr8ybRe0qGV
dw3wQKxT7ZmtNbKZN1QXBYcY2vW3LXHd+1WKAsi3/6U7b7PZw24r5Qo+iY3yxNNT
zijLlBs/JAYSHBv1iIFT2ntB4QGFS7k9EtEG8VVMnmxTUNLeZXMuTw4W5OQQKGOO
TiMjVKrH2sdK+8SV4pbJomYDnN4m47SFYBLjn4aVYBubqfGwoxccWxBAy+nCU0Q=
=3SaV
-----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
@Ian, yes the api.md changes are still valid, so please update them.
There are several other instances of "None Apache" that I will be
submitting changes for soon. Thanks for explaining how the final
updating process works with SVN.
As far as what to do with the Taverna_Language_Modules.png diagram,
Stian asked me to upload it, and my thought was to put it in the img
folder so it would be available on the site. I have yet to understand
the entire project documentation structure, so I don't have a better
answer for where it belongs right now. If it's premature to upload it
without a home, that's fine. I can do it later. (Did I start a
different thread? I didn't mean to.)
Thanks for the encouragement and the help!
Gale
On Thu, Jul 23, 2015 at 3:10 AM, Ian Dunlop <ia...@manchester.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello,
>
> @Gale The changes to api.md are still valid then I guess. The actual
> updating process is a bit convoluted since the github repo is not
> directly linked to the website repo so don't worry too much about
> closing the pull request for the moment :)
> Any changes have to be manually merged in to the SVN repo which has
> the website code.
> So, if it's ok with you we will update api.md. What will we do with
> Taverna_Language_Modules.png. Is this for some docs on the
> taverna-language github repo or intended for the website (actually I
> just noticed you started this discussion in a separate thread)?
>
> Don't worry about making 'mistakes' like committing the wrong thing to
> the repo. We've all made them and it is not a big deal (you should
> look at some of the things I did while attempting the last 2
> releases!). It's a community effort and we are all here to help each
> other.
>
> Cheers,
>
> Ian
>
> On 22/07/2015 19:11, Gale Naylor wrote:
>> Hi Ian,
>>
>> The last 3 pull requests I made (update index.md, merge pull
>> request #1, and update index.md) I did not intend to make. I didn't
>> realize they were going out. Sorry if it was confusing.
>>
>> I tried to fix the "broken links" in the
>> https://github.com/apache/incubator-taverna-site pages, but now I
>> understand the links only work in the
>> http://taverna.incubator.apache.org/documentation/scufl2/ pages. I
>> thought I was trying something in a local copy.
>>
>> Is there a process for rejecting them, or can I just delete my
>> github repository and fork a new one?
>>
>>
>> Gale
>>
>> On Tue, Jul 21, 2015 at 7:35 AM, Ian Dunlop
>> <ia...@manchester.ac.uk> wrote: Hello,
>>
>> Hi Gale. I can see the pull request here
>> https://github.com/apache/incubator-taverna-site/pull/1 Thanks very
>> much :) We'll have a look and get it merged soon (or feedback in
>> case any changes etc are needed).
>>
>> Cheers,
>>
>> Ian
>>
>> On 21/07/2015 15:04, Gale Naylor wrote:
>>>>> Hi Stian,
>>>>>
>>>>> I have submitted a pull request regarding adding the Taverna
>>>>> Language Modules diagram. This is my first time, so I'm not
>>>>> sure if I did it correctly or if there is anything else I
>>>>> need to do now.
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Gale
>>>>>
>>>>> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
>>>>> <st...@apache.org> wrote:
>>>>>> Thanks!
>>>>>>
>>>>>> We have a general contributor guide for the website here:
>>>>>>
>>>>>> http://taverna.incubator.apache.org/community/edit
>>>>>>
>>>>>>
>>>>>> Editing the website itself in a fork can be done in the
>>>>>> GitHub web interface, but to add the diagram to a GitHub
>>>>>> pull request (e.g. ) would probably require you to check
>>>>>> out from your fork of
>>>>>> https://github.com/apache/incubator-taverna-site --
>>>>>>
>>>>>> you could also contribute it as an attachment to a Jira
>>>>>> bug report:
>>>>>> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>>>>>>
>>>>>>
>>>>>>
>>>>>>
> I don't think a single diagram would require a CLA with ASF -
>>>>>> your contribution should be automatically covered by the #5
>>>>>> in http://www.apache.org/licenses/LICENSE-2.0 - but we
>>>>>> might need you to sign a CLA -
>>>>>> http://www.apache.org/licenses/#clas - before we can accept
>>>>>> larger contributions.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 3 July 2015 at 05:29, Gale Naylor
>>>>>> <ga...@noventussolutions.com> wrote:
>>>>>>> Hi Stian,
>>>>>>>
>>>>>>> Yes, when I get home from vacation (July 10-11), I will
>>>>>>> look at this information more carefully and have a go at
>>>>>>> adding it to the website. I will let you know if I have
>>>>>>> any questions.
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>>>>>> <st...@apache.org> wrote:
>>>>>>>
>>>>>>>> Hi, Gale, thanks for your effort on documenting tavlang
>>>>>>>> - as it's being developed!
>>>>>>>>
>>>>>>>> Do you think you could have a go at adding this to the
>>>>>>>> website in MarkDown/HTML format..? See
>>>>>>>>
>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/cont
> ent
>>
>>>>>>>>
> /documentation/scufl2
>>>>>>>>
>>>>>>>>
>> which is the source for
>>>>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>>>>>
>>>>>>>>
>>>>>>>>
> (perhaps /scufl2 in the URL should be renamed to /language
>>>>>>>> ?)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> .wfbundle workflows is a kind of earlier form of RO
>>>>>>>> Bundle, but predates their formal specification and
>>>>>>>> does not use the taverna-robundle API. So they were
>>>>>>>> meant to be updated to also be full RO Bundles -
>>>>>>>> basically having a JSON manifest instead/in addition to
>>>>>>>> the XML one. So it should at some point be possible to
>>>>>>>> convert them. Perhaps a prototype converter could just
>>>>>>>> copy over the files internally between the UCFPackage
>>>>>>>> and the Bundle and thus update the new manifest?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> The code that does the wfbundle writing:
>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
> /ta
>>
>>>>>>>>
> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
>> XMLWriter.java
>>>>>>>>
>>>>>>>>
>> and reading:
>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
> /ta
>>
>>>>>>>>
> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
>> XMLReader.java
>>>>>>>>
>>>>>>>>
>>>>>>>>
>> So this relies on the UCF support from:
>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
> /ta
>>
>>>>>>>>
> verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpacka
>> ge/UCFPackage.java
>>>>>>>>
>>>>>>>>
>> .. which is basically a proxy for manipulating a ZIP file and its
>> manife st.
>>>>>>>>
>>>>>>>>
>>>>>>>> But this should ideally be updated to use the RO Bundle
>>>>>>>> API from:
>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/tree/master
> /ta
>>
>>>>>>>>
> verna-robundle
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>> and thus have proper support for linking the annotation/ files to
>>>>>>>> their corresponding workflow elements, rather than
>>>>>>>> having to parse them all to find the right one.
>>>>>>>>
>>>>>>>> as the UCFPackage types are used throughout the
>>>>>>>> wfbundle writer changing this would take a bit of
>>>>>>>> effort.. or just wrapping it from UCFPackage. Here's an
>>>>>>>> earlier attempt:
>>>>>>>>
>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/ucfpac
> kag
>>
>>>>>>>>
> e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/sc
>> ufl2/ucfpackage/UCFPackage.java
>>>>>>>>
>>>>>>>>
>>>>>>>>
>> (Note: That branch has test errors)
>>>>>>>>
>>>>>>>>
>>>>>>>> As you see it calls the writeAsODFManifest(); which
>>>>>>>> writes out the classic META-INF/manifest.xml for
>>>>>>>> backwards compatibility. This is permitted by our spec
>>>>>>>> - but violating a NOT RECOMMENDED ("e.g. Know what you
>>>>>>>> are doing"): https://w3id.org/bundle#manifest-xml
>>>>>>>>
>>>>>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>> Hi Gale, I'm really appreciate your feedback on my
>>>>>>>>> blogs. I'm very new and there could be some flows.
>>>>>>>>> Thank you very much for showing them. :-)
>>>>>>>>>
>>>>>>>>> 1) Yes, the types of bundle formats that can be
>>>>>>>>> converted are listed in this blog.
>>>>>>>>>
>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-langua
> ge-
>>
>>>>>>>>
> command-line-tool-conversion-documentation-research-objects/
>>>>>>>>>
>>>>>>>>
>> The bundles are not workflows.
>>>>>>>>>
>>>>>>>>> 2) No. It seems like the way I have wrote it
>>>>>>>>> somewhat misleading..... Actually scufl2 workflows
>>>>>>>>> are not Bundles. Those are two different APIs. I'll
>>>>>>>>> update the blog. :-)
>>>>>>>>>
>>>>>>>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>>>>>>>>> could be converted into robundle.
>>>>>>>>>
>>>>>>>>> 4). Yes Gale. That modification should be done. Other
>>>>>>>>> wise it looks like any format could be converted into
>>>>>>>>> Robundle. I'll update my blog too.
>>>>>>>>>
>>>>>>>>> Are there any more facts that need clarification
>>>>>>>>> about the blogs please
>>>>>>>> ask
>>>>>>>>> me. :)
>>>>>>>>>
>>>>>>>>> Thank you very much Gale. Menaka
>>>>>>>>>
>>>>>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Menaka,
>>>>>>>>>>
>>>>>>>>>> I've been reading and learning more about research
>>>>>>>>>> objects, and I think I understand better what is
>>>>>>>>>> going on, but I still have some questions.
>>>>>>>>>>
>>>>>>>>>> 1) I am curious as to which file types *can* be
>>>>>>>>>> converted to .robundle format? (I must have missed
>>>>>>>>>> something because I thought .t2flow and .wfbundle
>>>>>>>>>> were the only allowed input file types.)
>>>>>>>>>>
>>>>>>>>>> 2) In rereading your June 18th blog post, I see you
>>>>>>>>>> say that the command line tool is for converting
>>>>>>>>>> and managing workflow "bundles" as well as research
>>>>>>>>>> object bundles. Are t2flow files "workflow bundles"
>>>>>>>>>> or just "workflows?" Or is there not a practical
>>>>>>>>>> difference?
>>>>>>>>>>
>>>>>>>>>> 3) I understand now that not all file format
>>>>>>>>>> conversions are valid. I'm trying to understand
>>>>>>>>>> this better. In your June 18th blog post you say:
>>>>>>>>>>
>>>>>>>>>> "The conversion function supports converting
>>>>>>>>>> .t2flow and .wfbundle formats into following
>>>>>>>>>> formats:
>>>>>>>>>>
>>>>>>>>>> .structure
>>>>>>>>>>
>>>>>>>>>> .json
>>>>>>>>>>
>>>>>>>>>> .iwir
>>>>>>>>>>
>>>>>>>>>> .wfbundle
>>>>>>>>>>
>>>>>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>>>>>
>>>>>>>>>> .robundle –> (development in progress)"
>>>>>>>>>>
>>>>>>>>>> To me, reading this looks like all combinations
>>>>>>>>>> are valid.
>>>>>>>>>>
>>>>>>>>>> I'm wondering, can both .t2flow and .wfbundle files
>>>>>>>>>> be converted to all file types *except* robundle?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 4) I fixed the examples in my blog post. Should I
>>>>>>>>>> also change the --robundle option description to
>>>>>>>>>> say "Output bundle as .robundle" instead of "Output
>>>>>>>>>> workflow as .robundle" ? (Same for .wfbundle
>>>>>>>>>> option.)
>>>>>>>>>>
>>>>>>>>>> Thanks for the feedback and the correct link to
>>>>>>>>>> the example!
>>>>>>>>>>
>>>>>>>>>> Have a nice weekend.
>>>>>>>>>>
>>>>>>>>>> Gale
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>> Hi Gale, Use this link
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
> /ta
>>
>>>>>>>>
> verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
>> a
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>
>> Cheers
>>>>>>>>>>> Menaka
>>>>>>>>>>>
>>>>>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you for the feedback and clarifying
>>>>>>>>>>>> information. Sorry not to
>>>>>>>>>> respond
>>>>>>>>>>>> sooner. I am learning about bundles, etc. and
>>>>>>>>>>>> reading the link you
>>>>>>>> sent.
>>>>>>>>>>>>
>>>>>>>>>>>> One thing, I'm having trouble getting to the
>>>>>>>>>>>> example in the Examples
>>>>>>>> of
>>>>>>>>>> Use
>>>>>>>>>>>> Section: "Example in full is at
>>>>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>>
>>>>>>>>>>>> Can you help me? This is what I've done so
>>>>>>>>>>>> far:
>>>>>>>>>>>>
>>>>>>>>>>>> - Clicking on the link gets me the "This is not
>>>>>>>>>>>> the web page you are looking for" page. (This
>>>>>>>>>>>> is the actual link address:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
> /ta
>>
>>>>>>>>
> verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>>>>>>>
>>>>>>>>
>> )
>>>>>>>>>>>>
>>>>>>>>>>>> - Entering
>>>>>>>>>>>> "org.apache.taverna.robundle.TestExample" also
>>>>>>>>>>>> doesn't
>>>>>>>> work
>>>>>>>>>> for
>>>>>>>>>>>> me. I didn't think it would, but I tried
>>>>>>>>>>>> anyway.
>>>>>>>>>>>>
>>>>>>>>>>>> - Searching for "taverna robundle TestExample"
>>>>>>>>>>>> on the main Apache.com
>>>>>>>>>> page
>>>>>>>>>>>> yields no results.
>>>>>>>>>>>>
>>>>>>>>>>>> I will continue to read and understand the RO
>>>>>>>>>>>> Bundle API page, but I
>>>>>>>>>> would
>>>>>>>>>>>> like to see the full Test Example, if
>>>>>>>>>>>> possible.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>
>>>>>>>>>>>> Gale
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> -----Original Message----- From: Menaka
>>>>>>>>>>>> Madushanka [mailto:menaka12350@gmail.com] Sent:
>>>>>>>>>>>> Saturday, June 20, 2015 11:09 AM To:
>>>>>>>>>>>> dev@taverna.incubator.apache.org Subject: Re:
>>>>>>>>>>>> Taverna Language Command Line tool - convert
>>>>>>>>>>>> command doc
>>>>>>>>>>>>
>>>>>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langu
> age
>>
>>>>>>>>
> - -command-line-convert-examples/
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>
>> Example 2: Simple conversion, multiple input files, no options
>>>>>>>>>>>>>
>>>>>>>>>>>>> $tavlang convert –-robundle
>>>>>>>>>>>>> /someFile1.wfbundle /someFile2.wfbundle
>>>>>>>>>>>>>
>>>>>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>>>>>> */someFile2.wfbundle* into *.robundle* format
>>>>>>>>>>>>> and saves the output files to the
>>>>>>>>>>>>> */converted* folder in the current working
>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>
>>>>>>>>>>>> Taverna language *cannot* convert
>>>>>>>>>>>> .wfbundles/.t2flow into robundle
>>>>>>>>>> format.
>>>>>>>>>>>> Its only for some specific bundle formats. Go
>>>>>>>>>>>> through this doc for
>>>>>>>> more
>>>>>>>>>>>> info.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> https://github.com/apache/incubator-taverna-language/tree/master
> /ta
>>
>>>>>>>>
> verna-robundle
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>> cheers.
>>>>>>>>>>>>
>>>>>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you for the Wordpress tip, Menaka! I
>>>>>>>>>>>>> have changed the two
>>>>>>>> blog
>>>>>>>>>>>>> posts to use the <pre> tag, and it looks
>>>>>>>>>>>>> great. I also made a few refinements.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks, Gale
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I showed the output-format without brackets
>>>>>>>>>>>>>> to indicate it is
>>>>>>>>>>>>>>> required and not optional because it
>>>>>>>>>>>>>>> appears to be always
>>>>>>>> necessary
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> That would be more accurate I think. I'm
>>>>>>>>>>>>>> very new for
>>>>>>>> documentation.
>>>>>>>>>>>>> Thank
>>>>>>>>>>>>>> you very much.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I left the -json output file type as having
>>>>>>>>>>>>>> a single dash, but
>>>>>>>> all
>>>>>>>>>>>>>>> the other output types have
>>>>>>>>>>>>>>> double-dashes. Should I change the
>>>>>>>> json
>>>>>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -json should be --json. In my email that
>>>>>>>>>>>>>> was a mistake. So you
>>>>>>>> can
>>>>>>>>>>>>>> use
>>>>>>>>>>>>> --.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (Wordpress is driving me crazy because it
>>>>>>>>>>>>>> is showing the double-dashes
>>>>>>>>>>>>>>> as long single dashes, even when I use
>>>>>>>>>>>>>>> the monospace
>>>>>>>> font-family.
>>>>>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yes, wordpress does what it wants, but not
>>>>>>>>>>>>>> us. :-) Use
>>>>>>>> preformatted.
>>>>>>>>>>>>>> Not paragraph. Then it would be ok. I
>>>>>>>>>>>>>> updated my blog.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taver
> na-
>>
>>>>>>>>>>
> langu
>>>>>>>>>>>>>
>>>>>>>>>>
>> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor <
>>>>>>>> galen@noventussolutions.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks for updating your blog! I have
>>>>>>>>>>>>>>> some additional feedback
>>>>>>>> in
>>>>>>>>>>>>>>> the form of two blog posts. One has a
>>>>>>>>>>>>>>> detailed description (as I understand it)
>>>>>>>>>>>>>>> of the convert command and one has
>>>>>>>>>>>>>>> several
>>>>>>>> examples,
>>>>>>>>>>>>>>> building on the examples in your blog. I
>>>>>>>>>>>>>>> hope these will help
>>>>>>>> the
>>>>>>>>>>>>>>> discussion of the command structure. Here
>>>>>>>>>>>>>>> are the links:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-lan
> gua
>>
>>>>>>>>>>
> ge-co
>>>>>>>>>>>>>
>>>>>>>>>>
>> mmand-line-convert-command/
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-lan
> gua
>>
>>>>>>>>>>
> ge-co
>>>>>>>>>>>>>
>>>>>>>>>>
>> mmand-line-convert-examples/
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Some things to note:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> (1) l basically used your June 18th post,
>>>>>>>>>>>>>>> but a few things (like the validate
>>>>>>>>>>>>>>> command) are from earlier posts/emails.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> (2) I showed the output-format without
>>>>>>>>>>>>>>> brackets to indicate it
>>>>>>>> is
>>>>>>>>>>>>>>> required and not optional because it
>>>>>>>>>>>>>>> appears to be always
>>>>>>>>>> necessary.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> (3) The way I understand the overall
>>>>>>>>>>>>>>> command structure, it
>>>>>>>> seemed
>>>>>>>>>>>>>>> that all options (e.g., the output file
>>>>>>>>>>>>>>> directory) should come before the
>>>>>>>>>>>>>>> input-file-list, so that's what I
>>>>>>>>>>>>>>> assumed.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> (4) I left the -json output file type as
>>>>>>>>>>>>>>> having a single dash,
>>>>>>>> but
>>>>>>>>>>>>>>> all the other output types have
>>>>>>>>>>>>>>> double-dashes. Should I change
>>>>>>>> the
>>>>>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Please let me know if anything is
>>>>>>>>>>>>>>> incorrect and I will change
>>>>>>>> it. I
>>>>>>>>>>>>>>> realize the command structure is fluid,
>>>>>>>>>>>>>>> and I'm happy to make
>>>>>>>> any
>>>>>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> (Wordpress is driving me crazy because it
>>>>>>>>>>>>>>> is showing the double-dashes as long
>>>>>>>>>>>>>>> single dashes, even when I use the
>>>>>>>> monospace
>>>>>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>>>>>>>> Madushanka <me...@gmail.com>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>>>>>> understand what you mean when you say
>>>>>>>>>>>>>>>>> the files will get
>>>>>>>> saved
>>>>>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> That was a mistake :-). I updated the
>>>>>>>>>>>>>>>> blog. That should be corrected
>>>>>>>>>>>>> as
>>>>>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>>>>>> …/toConvert/converted/ directory.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I would appreciate more feedback,
>>>>>>>>>>>>>>>> modifications etc. So with
>>>>>>>> the
>>>>>>>>>>>>>>>> help
>>>>>>>>>>>>> of
>>>>>>>>>>>>>>>> the community we could come up with a
>>>>>>>>>>>>>>>> much better structure. Cheers Menaka
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I am very happy to help, and I
>>>>>>>>>>>>>>>>> understand the command
>>>>>>>> structure
>>>>>>>>>>>>>>>>> is a little fluid right now. Thank
>>>>>>>>>>>>>>>>> you for the blog post; it
>>>>>>>> was
>>>>>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I am a little confused about your
>>>>>>>>>>>>>>>>> recursive example. Can you help me
>>>>>>>>>>>>>>>>> understand what you mean when you say
>>>>>>>>>>>>>>>>> the files will
>>>>>>>> get
>>>>>>>>>>>>>>>>> saved to the C directory? Because you
>>>>>>>>>>>>>>>>> show the output being
>>>>>>>>>> saved
>>>>>>>>>>>>>>>>> to:
>>>>>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>
>>>>>>>>>>>>>>>>>
> This is the example:
>>>>>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –> Convert
>>>>>>>>>>>>>>>>> the files and save them in the C
>>>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> B
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM,
>>>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>>> Hi Gale, I extremely appreciate
>>>>>>>>>>>>>>>>>> your help. Thank you very much.
>>>>>>>>>>>>>>>>>> :-)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 1) Is this still the basic
>>>>>>>>>>>>>>>>>> structure of the command:
>>>>>>>> tavlang
>>>>>>>>>>>>> convert
>>>>>>>>>>>>>>>>>>> [options] <output format> <input
>>>>>>>>>>>>>>>>>>> files>? Am I wrong in thinking
>>>>>>>>>>>>> that
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> output formats are handled as
>>>>>>>>>>>>>>>>>>> options?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Yes there is a little difference in
>>>>>>>>>>>>>>>>>> the structure of
>>>>>>>> commands
>>>>>>>>>>>>>>>>>> now
>>>>>>>>>>>>> and
>>>>>>>>>>>>>>>>> then.
>>>>>>>>>>>>>>>>>> So for the moment the command
>>>>>>>>>>>>>>>>>> structure is like this.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> $tavlang convert [--out-put
>>>>>>>>>>>>>>>>>> format] [options] [arguments]
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2) Are -r and -i ever used
>>>>>>>>>>>>>>>>>> independently? If so, under what
>>>>>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> No. In recursive case the input
>>>>>>>>>>>>>>>>>> will be a directory
>>>>>>>> containing
>>>>>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>>>>>> .wfbundle files. The output dir is
>>>>>>>>>>>>>>>>>> optional for both
>>>>>>>> recursive
>>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>>> non
>>>>>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I created a blog about the
>>>>>>>>>>>>>>>>>> conversion command.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taver
> na-
>>
>>>>>>>>>>
> langu
>>>>>>>>>>>>>
>>>>>>>>>>
>> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> If you have some suggestions,
>>>>>>>>>>>>>>>>>> please inform.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> -- Menaka Madushanka Jayawardena
>>>>>>>>>>>>>>>>>> Faculty of Engineering,
>>>>>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>>>>>> University
>>>>>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJVsL15AAoJEPK45GBX+Cy5VwgH/R6dv7G20rmKXkZbTHi+Q2nw
> Q2W34KzG0DGR7fZqmjJi5zCBL2nkzjgTA0fkARGR6ypbwf5fCPWAkYEg9+0MRRO/
> fSXdQBeknBs4C9Mz+ybQ0NxLvy26P6+nQ8PnfGNdj7NOdbG7lnNEWYzMsWhlIVwG
> mUpCJAMmSwtzaNFrZvG/H8gW7z54jwePCzDReMHy30+slJvSXi8Cy45YvADGDPYF
> sfyNate0EeQZ4+tJxr6i6y70r8XNO3WfSV+uukQ1DxyuSrmW2qrRj5GHGup+IYxl
> KXx41dq2AqdqIRV/pRndlPVI1Ur3vkoCMwle/6hM/lYZHDGoSPffAIT4aTfgGuQ=
> =oxvU
> -----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Ian Dunlop <ia...@manchester.ac.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
@Gale The changes to api.md are still valid then I guess. The actual
updating process is a bit convoluted since the github repo is not
directly linked to the website repo so don't worry too much about
closing the pull request for the moment :)
Any changes have to be manually merged in to the SVN repo which has
the website code.
So, if it's ok with you we will update api.md. What will we do with
Taverna_Language_Modules.png. Is this for some docs on the
taverna-language github repo or intended for the website (actually I
just noticed you started this discussion in a separate thread)?
Don't worry about making 'mistakes' like committing the wrong thing to
the repo. We've all made them and it is not a big deal (you should
look at some of the things I did while attempting the last 2
releases!). It's a community effort and we are all here to help each
other.
Cheers,
Ian
On 22/07/2015 19:11, Gale Naylor wrote:
> Hi Ian,
>
> The last 3 pull requests I made (update index.md, merge pull
> request #1, and update index.md) I did not intend to make. I didn't
> realize they were going out. Sorry if it was confusing.
>
> I tried to fix the "broken links" in the
> https://github.com/apache/incubator-taverna-site pages, but now I
> understand the links only work in the
> http://taverna.incubator.apache.org/documentation/scufl2/ pages. I
> thought I was trying something in a local copy.
>
> Is there a process for rejecting them, or can I just delete my
> github repository and fork a new one?
>
>
> Gale
>
> On Tue, Jul 21, 2015 at 7:35 AM, Ian Dunlop
> <ia...@manchester.ac.uk> wrote: Hello,
>
> Hi Gale. I can see the pull request here
> https://github.com/apache/incubator-taverna-site/pull/1 Thanks very
> much :) We'll have a look and get it merged soon (or feedback in
> case any changes etc are needed).
>
> Cheers,
>
> Ian
>
> On 21/07/2015 15:04, Gale Naylor wrote:
>>>> Hi Stian,
>>>>
>>>> I have submitted a pull request regarding adding the Taverna
>>>> Language Modules diagram. This is my first time, so I'm not
>>>> sure if I did it correctly or if there is anything else I
>>>> need to do now.
>>>>
>>>> Thank you,
>>>>
>>>> Gale
>>>>
>>>> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
>>>> <st...@apache.org> wrote:
>>>>> Thanks!
>>>>>
>>>>> We have a general contributor guide for the website here:
>>>>>
>>>>> http://taverna.incubator.apache.org/community/edit
>>>>>
>>>>>
>>>>> Editing the website itself in a fork can be done in the
>>>>> GitHub web interface, but to add the diagram to a GitHub
>>>>> pull request (e.g. ) would probably require you to check
>>>>> out from your fork of
>>>>> https://github.com/apache/incubator-taverna-site --
>>>>>
>>>>> you could also contribute it as an attachment to a Jira
>>>>> bug report:
>>>>> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>>>>>
>>>>>
>>>>>
>>>>>
I don't think a single diagram would require a CLA with ASF -
>>>>> your contribution should be automatically covered by the #5
>>>>> in http://www.apache.org/licenses/LICENSE-2.0 - but we
>>>>> might need you to sign a CLA -
>>>>> http://www.apache.org/licenses/#clas - before we can accept
>>>>> larger contributions.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 3 July 2015 at 05:29, Gale Naylor
>>>>> <ga...@noventussolutions.com> wrote:
>>>>>> Hi Stian,
>>>>>>
>>>>>> Yes, when I get home from vacation (July 10-11), I will
>>>>>> look at this information more carefully and have a go at
>>>>>> adding it to the website. I will let you know if I have
>>>>>> any questions.
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>>>>> <st...@apache.org> wrote:
>>>>>>
>>>>>>> Hi, Gale, thanks for your effort on documenting tavlang
>>>>>>> - as it's being developed!
>>>>>>>
>>>>>>> Do you think you could have a go at adding this to the
>>>>>>> website in MarkDown/HTML format..? See
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/cont
ent
>
>>>>>>>
/documentation/scufl2
>>>>>>>
>>>>>>>
> which is the source for
>>>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>>>>
>>>>>>>
>>>>>>>
(perhaps /scufl2 in the URL should be renamed to /language
>>>>>>> ?)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> .wfbundle workflows is a kind of earlier form of RO
>>>>>>> Bundle, but predates their formal specification and
>>>>>>> does not use the taverna-robundle API. So they were
>>>>>>> meant to be updated to also be full RO Bundles -
>>>>>>> basically having a JSON manifest instead/in addition to
>>>>>>> the XML one. So it should at some point be possible to
>>>>>>> convert them. Perhaps a prototype converter could just
>>>>>>> copy over the files internally between the UCFPackage
>>>>>>> and the Bundle and thus update the new manifest?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> The code that does the wfbundle writing:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
> XMLWriter.java
>>>>>>>
>>>>>>>
> and reading:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
> XMLReader.java
>>>>>>>
>>>>>>>
>>>>>>>
> So this relies on the UCF support from:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpacka
> ge/UCFPackage.java
>>>>>>>
>>>>>>>
> .. which is basically a proxy for manipulating a ZIP file and its
> manife st.
>>>>>>>
>>>>>>>
>>>>>>> But this should ideally be updated to use the RO Bundle
>>>>>>> API from:
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/tree/master
/ta
>
>>>>>>>
verna-robundle
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
> and thus have proper support for linking the annotation/ files to
>>>>>>> their corresponding workflow elements, rather than
>>>>>>> having to parse them all to find the right one.
>>>>>>>
>>>>>>> as the UCFPackage types are used throughout the
>>>>>>> wfbundle writer changing this would take a bit of
>>>>>>> effort.. or just wrapping it from UCFPackage. Here's an
>>>>>>> earlier attempt:
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/ucfpac
kag
>
>>>>>>>
e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/sc
> ufl2/ucfpackage/UCFPackage.java
>>>>>>>
>>>>>>>
>>>>>>>
> (Note: That branch has test errors)
>>>>>>>
>>>>>>>
>>>>>>> As you see it calls the writeAsODFManifest(); which
>>>>>>> writes out the classic META-INF/manifest.xml for
>>>>>>> backwards compatibility. This is permitted by our spec
>>>>>>> - but violating a NOT RECOMMENDED ("e.g. Know what you
>>>>>>> are doing"): https://w3id.org/bundle#manifest-xml
>>>>>>>
>>>>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>>>>> <me...@gmail.com> wrote:
>>>>>>>> Hi Gale, I'm really appreciate your feedback on my
>>>>>>>> blogs. I'm very new and there could be some flows.
>>>>>>>> Thank you very much for showing them. :-)
>>>>>>>>
>>>>>>>> 1) Yes, the types of bundle formats that can be
>>>>>>>> converted are listed in this blog.
>>>>>>>>
>>>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-langua
ge-
>
>>>>>>>
command-line-tool-conversion-documentation-research-objects/
>>>>>>>>
>>>>>>>
> The bundles are not workflows.
>>>>>>>>
>>>>>>>> 2) No. It seems like the way I have wrote it
>>>>>>>> somewhat misleading..... Actually scufl2 workflows
>>>>>>>> are not Bundles. Those are two different APIs. I'll
>>>>>>>> update the blog. :-)
>>>>>>>>
>>>>>>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>>>>>>>> could be converted into robundle.
>>>>>>>>
>>>>>>>> 4). Yes Gale. That modification should be done. Other
>>>>>>>> wise it looks like any format could be converted into
>>>>>>>> Robundle. I'll update my blog too.
>>>>>>>>
>>>>>>>> Are there any more facts that need clarification
>>>>>>>> about the blogs please
>>>>>>> ask
>>>>>>>> me. :)
>>>>>>>>
>>>>>>>> Thank you very much Gale. Menaka
>>>>>>>>
>>>>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Menaka,
>>>>>>>>>
>>>>>>>>> I've been reading and learning more about research
>>>>>>>>> objects, and I think I understand better what is
>>>>>>>>> going on, but I still have some questions.
>>>>>>>>>
>>>>>>>>> 1) I am curious as to which file types *can* be
>>>>>>>>> converted to .robundle format? (I must have missed
>>>>>>>>> something because I thought .t2flow and .wfbundle
>>>>>>>>> were the only allowed input file types.)
>>>>>>>>>
>>>>>>>>> 2) In rereading your June 18th blog post, I see you
>>>>>>>>> say that the command line tool is for converting
>>>>>>>>> and managing workflow "bundles" as well as research
>>>>>>>>> object bundles. Are t2flow files "workflow bundles"
>>>>>>>>> or just "workflows?" Or is there not a practical
>>>>>>>>> difference?
>>>>>>>>>
>>>>>>>>> 3) I understand now that not all file format
>>>>>>>>> conversions are valid. I'm trying to understand
>>>>>>>>> this better. In your June 18th blog post you say:
>>>>>>>>>
>>>>>>>>> "The conversion function supports converting
>>>>>>>>> .t2flow and .wfbundle formats into following
>>>>>>>>> formats:
>>>>>>>>>
>>>>>>>>> .structure
>>>>>>>>>
>>>>>>>>> .json
>>>>>>>>>
>>>>>>>>> .iwir
>>>>>>>>>
>>>>>>>>> .wfbundle
>>>>>>>>>
>>>>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>>>>
>>>>>>>>> .robundle –> (development in progress)"
>>>>>>>>>
>>>>>>>>> To me, reading this looks like all combinations
>>>>>>>>> are valid.
>>>>>>>>>
>>>>>>>>> I'm wondering, can both .t2flow and .wfbundle files
>>>>>>>>> be converted to all file types *except* robundle?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 4) I fixed the examples in my blog post. Should I
>>>>>>>>> also change the --robundle option description to
>>>>>>>>> say "Output bundle as .robundle" instead of "Output
>>>>>>>>> workflow as .robundle" ? (Same for .wfbundle
>>>>>>>>> option.)
>>>>>>>>>
>>>>>>>>> Thanks for the feedback and the correct link to
>>>>>>>>> the example!
>>>>>>>>>
>>>>>>>>> Have a nice weekend.
>>>>>>>>>
>>>>>>>>> Gale
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>> Hi Gale, Use this link
>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
> a
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
> Cheers
>>>>>>>>>> Menaka
>>>>>>>>>>
>>>>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>
>>>>>>>>>>> Thank you for the feedback and clarifying
>>>>>>>>>>> information. Sorry not to
>>>>>>>>> respond
>>>>>>>>>>> sooner. I am learning about bundles, etc. and
>>>>>>>>>>> reading the link you
>>>>>>> sent.
>>>>>>>>>>>
>>>>>>>>>>> One thing, I'm having trouble getting to the
>>>>>>>>>>> example in the Examples
>>>>>>> of
>>>>>>>>> Use
>>>>>>>>>>> Section: "Example in full is at
>>>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>>>>
>>>>>>>>>>> Can you help me? This is what I've done so
>>>>>>>>>>> far:
>>>>>>>>>>>
>>>>>>>>>>> - Clicking on the link gets me the "This is not
>>>>>>>>>>> the web page you are looking for" page. (This
>>>>>>>>>>> is the actual link address:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/blob/master
/ta
>
>>>>>>>
verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>>>>>>
>>>>>>>
> )
>>>>>>>>>>>
>>>>>>>>>>> - Entering
>>>>>>>>>>> "org.apache.taverna.robundle.TestExample" also
>>>>>>>>>>> doesn't
>>>>>>> work
>>>>>>>>> for
>>>>>>>>>>> me. I didn't think it would, but I tried
>>>>>>>>>>> anyway.
>>>>>>>>>>>
>>>>>>>>>>> - Searching for "taverna robundle TestExample"
>>>>>>>>>>> on the main Apache.com
>>>>>>>>> page
>>>>>>>>>>> yields no results.
>>>>>>>>>>>
>>>>>>>>>>> I will continue to read and understand the RO
>>>>>>>>>>> Bundle API page, but I
>>>>>>>>> would
>>>>>>>>>>> like to see the full Test Example, if
>>>>>>>>>>> possible.
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>>
>>>>>>>>>>> Gale
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> -----Original Message----- From: Menaka
>>>>>>>>>>> Madushanka [mailto:menaka12350@gmail.com] Sent:
>>>>>>>>>>> Saturday, June 20, 2015 11:09 AM To:
>>>>>>>>>>> dev@taverna.incubator.apache.org Subject: Re:
>>>>>>>>>>> Taverna Language Command Line tool - convert
>>>>>>>>>>> command doc
>>>>>>>>>>>
>>>>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langu
age
>
>>>>>>>
- -command-line-convert-examples/
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>
> Example 2: Simple conversion, multiple input files, no options
>>>>>>>>>>>>
>>>>>>>>>>>> $tavlang convert –-robundle
>>>>>>>>>>>> /someFile1.wfbundle /someFile2.wfbundle
>>>>>>>>>>>>
>>>>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>>>>> */someFile2.wfbundle* into *.robundle* format
>>>>>>>>>>>> and saves the output files to the
>>>>>>>>>>>> */converted* folder in the current working
>>>>>>>>>>>> directory.
>>>>>>>>>>>>
>>>>>>>>>>> Taverna language *cannot* convert
>>>>>>>>>>> .wfbundles/.t2flow into robundle
>>>>>>>>> format.
>>>>>>>>>>> Its only for some specific bundle formats. Go
>>>>>>>>>>> through this doc for
>>>>>>> more
>>>>>>>>>>> info.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>> https://github.com/apache/incubator-taverna-language/tree/master
/ta
>
>>>>>>>
verna-robundle
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>
> cheers.
>>>>>>>>>>>
>>>>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Thank you for the Wordpress tip, Menaka! I
>>>>>>>>>>>> have changed the two
>>>>>>> blog
>>>>>>>>>>>> posts to use the <pre> tag, and it looks
>>>>>>>>>>>> great. I also made a few refinements.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks, Gale
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I showed the output-format without brackets
>>>>>>>>>>>>> to indicate it is
>>>>>>>>>>>>>> required and not optional because it
>>>>>>>>>>>>>> appears to be always
>>>>>>> necessary
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> That would be more accurate I think. I'm
>>>>>>>>>>>>> very new for
>>>>>>> documentation.
>>>>>>>>>>>> Thank
>>>>>>>>>>>>> you very much.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I left the -json output file type as having
>>>>>>>>>>>>> a single dash, but
>>>>>>> all
>>>>>>>>>>>>>> the other output types have
>>>>>>>>>>>>>> double-dashes. Should I change the
>>>>>>> json
>>>>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>>>>
>>>>>>>>>>>>> -json should be --json. In my email that
>>>>>>>>>>>>> was a mistake. So you
>>>>>>> can
>>>>>>>>>>>>> use
>>>>>>>>>>>> --.
>>>>>>>>>>>>>
>>>>>>>>>>>>> (Wordpress is driving me crazy because it
>>>>>>>>>>>>> is showing the double-dashes
>>>>>>>>>>>>>> as long single dashes, even when I use
>>>>>>>>>>>>>> the monospace
>>>>>>> font-family.
>>>>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, wordpress does what it wants, but not
>>>>>>>>>>>>> us. :-) Use
>>>>>>> preformatted.
>>>>>>>>>>>>> Not paragraph. Then it would be ok. I
>>>>>>>>>>>>> updated my blog.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taver
na-
>
>>>>>>>>>
langu
>>>>>>>>>>>>
>>>>>>>>>
> age-command-line-conversion-documentation/
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor <
>>>>>>> galen@noventussolutions.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks for updating your blog! I have
>>>>>>>>>>>>>> some additional feedback
>>>>>>> in
>>>>>>>>>>>>>> the form of two blog posts. One has a
>>>>>>>>>>>>>> detailed description (as I understand it)
>>>>>>>>>>>>>> of the convert command and one has
>>>>>>>>>>>>>> several
>>>>>>> examples,
>>>>>>>>>>>>>> building on the examples in your blog. I
>>>>>>>>>>>>>> hope these will help
>>>>>>> the
>>>>>>>>>>>>>> discussion of the command structure. Here
>>>>>>>>>>>>>> are the links:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-lan
gua
>
>>>>>>>>>
ge-co
>>>>>>>>>>>>
>>>>>>>>>
> mmand-line-convert-command/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-lan
gua
>
>>>>>>>>>
ge-co
>>>>>>>>>>>>
>>>>>>>>>
> mmand-line-convert-examples/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Some things to note:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (1) l basically used your June 18th post,
>>>>>>>>>>>>>> but a few things (like the validate
>>>>>>>>>>>>>> command) are from earlier posts/emails.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (2) I showed the output-format without
>>>>>>>>>>>>>> brackets to indicate it
>>>>>>> is
>>>>>>>>>>>>>> required and not optional because it
>>>>>>>>>>>>>> appears to be always
>>>>>>>>> necessary.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (3) The way I understand the overall
>>>>>>>>>>>>>> command structure, it
>>>>>>> seemed
>>>>>>>>>>>>>> that all options (e.g., the output file
>>>>>>>>>>>>>> directory) should come before the
>>>>>>>>>>>>>> input-file-list, so that's what I
>>>>>>>>>>>>>> assumed.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (4) I left the -json output file type as
>>>>>>>>>>>>>> having a single dash,
>>>>>>> but
>>>>>>>>>>>>>> all the other output types have
>>>>>>>>>>>>>> double-dashes. Should I change
>>>>>>> the
>>>>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please let me know if anything is
>>>>>>>>>>>>>> incorrect and I will change
>>>>>>> it. I
>>>>>>>>>>>>>> realize the command structure is fluid,
>>>>>>>>>>>>>> and I'm happy to make
>>>>>>> any
>>>>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> (Wordpress is driving me crazy because it
>>>>>>>>>>>>>> is showing the double-dashes as long
>>>>>>>>>>>>>> single dashes, even when I use the
>>>>>>> monospace
>>>>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>>>>>>> Madushanka <me...@gmail.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>>>>> understand what you mean when you say
>>>>>>>>>>>>>>>> the files will get
>>>>>>> saved
>>>>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That was a mistake :-). I updated the
>>>>>>>>>>>>>>> blog. That should be corrected
>>>>>>>>>>>> as
>>>>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>>>>>>> the
>>>>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>>>>> …/toConvert/converted/ directory.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I would appreciate more feedback,
>>>>>>>>>>>>>>> modifications etc. So with
>>>>>>> the
>>>>>>>>>>>>>>> help
>>>>>>>>>>>> of
>>>>>>>>>>>>>>> the community we could come up with a
>>>>>>>>>>>>>>> much better structure. Cheers Menaka
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am very happy to help, and I
>>>>>>>>>>>>>>>> understand the command
>>>>>>> structure
>>>>>>>>>>>>>>>> is a little fluid right now. Thank
>>>>>>>>>>>>>>>> you for the blog post; it
>>>>>>> was
>>>>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am a little confused about your
>>>>>>>>>>>>>>>> recursive example. Can you help me
>>>>>>>>>>>>>>>> understand what you mean when you say
>>>>>>>>>>>>>>>> the files will
>>>>>>> get
>>>>>>>>>>>>>>>> saved to the C directory? Because you
>>>>>>>>>>>>>>>> show the output being
>>>>>>>>> saved
>>>>>>>>>>>>>>>> to:
>>>>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>
>>>>>>>>>>>>>>>>
This is the example:
>>>>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>>>>> /home/usrname/toConvert/ –> Convert
>>>>>>>>>>>>>>>> the files and save them in the C
>>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> B
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM,
>>>>>>>>>>>>>>>> Menaka Madushanka
>>>>>>>>>>>>>>>> <me...@gmail.com> wrote:
>>>>>>>>>>>>>>>>> Hi Gale, I extremely appreciate
>>>>>>>>>>>>>>>>> your help. Thank you very much.
>>>>>>>>>>>>>>>>> :-)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 1) Is this still the basic
>>>>>>>>>>>>>>>>> structure of the command:
>>>>>>> tavlang
>>>>>>>>>>>> convert
>>>>>>>>>>>>>>>>>> [options] <output format> <input
>>>>>>>>>>>>>>>>>> files>? Am I wrong in thinking
>>>>>>>>>>>> that
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> output formats are handled as
>>>>>>>>>>>>>>>>>> options?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Yes there is a little difference in
>>>>>>>>>>>>>>>>> the structure of
>>>>>>> commands
>>>>>>>>>>>>>>>>> now
>>>>>>>>>>>> and
>>>>>>>>>>>>>>>> then.
>>>>>>>>>>>>>>>>> So for the moment the command
>>>>>>>>>>>>>>>>> structure is like this.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> $tavlang convert [--out-put
>>>>>>>>>>>>>>>>> format] [options] [arguments]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2) Are -r and -i ever used
>>>>>>>>>>>>>>>>> independently? If so, under what
>>>>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> No. In recursive case the input
>>>>>>>>>>>>>>>>> will be a directory
>>>>>>> containing
>>>>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>>>>> .wfbundle files. The output dir is
>>>>>>>>>>>>>>>>> optional for both
>>>>>>> recursive
>>>>>>>>>>>>>>>>> and
>>>>>>>>>>>> non
>>>>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I created a blog about the
>>>>>>>>>>>>>>>>> conversion command.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taver
na-
>
>>>>>>>>>
langu
>>>>>>>>>>>>
>>>>>>>>>
> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> If you have some suggestions,
>>>>>>>>>>>>>>>>> please inform.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> -- Menaka Madushanka Jayawardena
>>>>>>>>>>>>>>>>> Faculty of Engineering,
>>>>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>>>>> University
>>>>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVsL15AAoJEPK45GBX+Cy5VwgH/R6dv7G20rmKXkZbTHi+Q2nw
Q2W34KzG0DGR7fZqmjJi5zCBL2nkzjgTA0fkARGR6ypbwf5fCPWAkYEg9+0MRRO/
fSXdQBeknBs4C9Mz+ybQ0NxLvy26P6+nQ8PnfGNdj7NOdbG7lnNEWYzMsWhlIVwG
mUpCJAMmSwtzaNFrZvG/H8gW7z54jwePCzDReMHy30+slJvSXi8Cy45YvADGDPYF
sfyNate0EeQZ4+tJxr6i6y70r8XNO3WfSV+uukQ1DxyuSrmW2qrRj5GHGup+IYxl
KXx41dq2AqdqIRV/pRndlPVI1Ur3vkoCMwle/6hM/lYZHDGoSPffAIT4aTfgGuQ=
=oxvU
-----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Ian,
The last 3 pull requests I made (update index.md, merge pull request
#1, and update index.md) I did not intend to make. I didn't realize
they were going out. Sorry if it was confusing.
I tried to fix the "broken links" in the
https://github.com/apache/incubator-taverna-site pages, but now I
understand the links only work in the
http://taverna.incubator.apache.org/documentation/scufl2/ pages. I
thought I was trying something in a local copy.
Is there a process for rejecting them, or can I just delete my github
repository and fork a new one?
Gale
On Tue, Jul 21, 2015 at 7:35 AM, Ian Dunlop <ia...@manchester.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello,
>
> Hi Gale. I can see the pull request here
> https://github.com/apache/incubator-taverna-site/pull/1
> Thanks very much :)
> We'll have a look and get it merged soon (or feedback in case any
> changes etc are needed).
>
> Cheers,
>
> Ian
>
> On 21/07/2015 15:04, Gale Naylor wrote:
>> Hi Stian,
>>
>> I have submitted a pull request regarding adding the Taverna
>> Language Modules diagram. This is my first time, so I'm not sure if
>> I did it correctly or if there is anything else I need to do now.
>>
>> Thank you,
>>
>> Gale
>>
>> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
>> <st...@apache.org> wrote:
>>> Thanks!
>>>
>>> We have a general contributor guide for the website here:
>>>
>>> http://taverna.incubator.apache.org/community/edit
>>>
>>>
>>> Editing the website itself in a fork can be done in the GitHub
>>> web interface, but to add the diagram to a GitHub pull request
>>> (e.g. ) would probably require you to check out from your fork
>>> of https://github.com/apache/incubator-taverna-site --
>>>
>>> you could also contribute it as an attachment to a Jira bug
>>> report:
>>> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>>>
>>>
>>> I don't think a single diagram would require a CLA with ASF -
>>> your contribution should be automatically covered by the #5 in
>>> http://www.apache.org/licenses/LICENSE-2.0 - but we might need
>>> you to sign a CLA - http://www.apache.org/licenses/#clas - before
>>> we can accept larger contributions.
>>>
>>>
>>>
>>>
>>>
>>> On 3 July 2015 at 05:29, Gale Naylor
>>> <ga...@noventussolutions.com> wrote:
>>>> Hi Stian,
>>>>
>>>> Yes, when I get home from vacation (July 10-11), I will look at
>>>> this information more carefully and have a go at adding it to
>>>> the website. I will let you know if I have any questions.
>>>>
>>>> Thank you,
>>>>
>>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>>> <st...@apache.org> wrote:
>>>>
>>>>> Hi, Gale, thanks for your effort on documenting tavlang - as
>>>>> it's being developed!
>>>>>
>>>>> Do you think you could have a go at adding this to the
>>>>> website in MarkDown/HTML format..? See
>>>>>
>>>>>
>>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/content
> /documentation/scufl2
>>>>>
>>>>>
> which is the source for
>>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>>
>>>>> (perhaps /scufl2 in the URL should be renamed to /language
>>>>> ?)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> .wfbundle workflows is a kind of earlier form of RO Bundle,
>>>>> but predates their formal specification and does not use the
>>>>> taverna-robundle API. So they were meant to be updated to
>>>>> also be full RO Bundles - basically having a JSON manifest
>>>>> instead/in addition to the XML one. So it should at some
>>>>> point be possible to convert them. Perhaps a prototype
>>>>> converter could just copy over the files internally between
>>>>> the UCFPackage and the Bundle and thus update the new
>>>>> manifest?
>>>>>
>>>>>
>>>>>
>>>>> The code that does the wfbundle writing:
>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
> XMLWriter.java
>>>>>
>>>>>
> and reading:
>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
> verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
> XMLReader.java
>>>>>
>>>>>
>>>>>
> So this relies on the UCF support from:
>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
> verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpacka
> ge/UCFPackage.java
>>>>>
>>>>>
> .. which is basically a proxy for manipulating a ZIP file and its manife
> st.
>>>>>
>>>>>
>>>>> But this should ideally be updated to use the RO Bundle API
>>>>> from:
>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
> verna-robundle
>>>>>
>>>>>
>>>>>
>>>>>
> and thus have proper support for linking the annotation/ files to
>>>>> their corresponding workflow elements, rather than having to
>>>>> parse them all to find the right one.
>>>>>
>>>>> as the UCFPackage types are used throughout the wfbundle
>>>>> writer changing this would take a bit of effort.. or just
>>>>> wrapping it from UCFPackage. Here's an earlier attempt:
>>>>>
>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/blob/ucfpackag
> e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/sc
> ufl2/ucfpackage/UCFPackage.java
>>>>>
>>>>>
>>>>>
> (Note: That branch has test errors)
>>>>>
>>>>>
>>>>> As you see it calls the writeAsODFManifest(); which writes
>>>>> out the classic META-INF/manifest.xml for backwards
>>>>> compatibility. This is permitted by our spec - but violating
>>>>> a NOT RECOMMENDED ("e.g. Know what you are doing"):
>>>>> https://w3id.org/bundle#manifest-xml
>>>>>
>>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>>> <me...@gmail.com> wrote:
>>>>>> Hi Gale, I'm really appreciate your feedback on my blogs.
>>>>>> I'm very new and there could be some flows. Thank you very
>>>>>> much for showing them. :-)
>>>>>>
>>>>>> 1) Yes, the types of bundle formats that can be converted
>>>>>> are listed in this blog.
>>>>>>
>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-
> command-line-tool-conversion-documentation-research-objects/
>>>>>>
>>>>>
> The bundles are not workflows.
>>>>>>
>>>>>> 2) No. It seems like the way I have wrote it somewhat
>>>>>> misleading..... Actually scufl2 workflows are not Bundles.
>>>>>> Those are two different APIs. I'll update the blog. :-)
>>>>>>
>>>>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>>>>>> converted into robundle.
>>>>>>
>>>>>> 4). Yes Gale. That modification should be done. Other wise
>>>>>> it looks like any format could be converted into Robundle.
>>>>>> I'll update my blog too.
>>>>>>
>>>>>> Are there any more facts that need clarification about the
>>>>>> blogs please
>>>>> ask
>>>>>> me. :)
>>>>>>
>>>>>> Thank you very much Gale. Menaka
>>>>>>
>>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>>> <ga...@noventussolutions.com>
>>>>> wrote:
>>>>>>
>>>>>>> Hi Menaka,
>>>>>>>
>>>>>>> I've been reading and learning more about research
>>>>>>> objects, and I think I understand better what is going
>>>>>>> on, but I still have some questions.
>>>>>>>
>>>>>>> 1) I am curious as to which file types *can* be converted
>>>>>>> to .robundle format? (I must have missed something
>>>>>>> because I thought .t2flow and .wfbundle were the only
>>>>>>> allowed input file types.)
>>>>>>>
>>>>>>> 2) In rereading your June 18th blog post, I see you say
>>>>>>> that the command line tool is for converting and managing
>>>>>>> workflow "bundles" as well as research object bundles.
>>>>>>> Are t2flow files "workflow bundles" or just "workflows?"
>>>>>>> Or is there not a practical difference?
>>>>>>>
>>>>>>> 3) I understand now that not all file format conversions
>>>>>>> are valid. I'm trying to understand this better. In your
>>>>>>> June 18th blog post you say:
>>>>>>>
>>>>>>> "The conversion function supports converting .t2flow and
>>>>>>> .wfbundle formats into following formats:
>>>>>>>
>>>>>>> .structure
>>>>>>>
>>>>>>> .json
>>>>>>>
>>>>>>> .iwir
>>>>>>>
>>>>>>> .wfbundle
>>>>>>>
>>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>>
>>>>>>> .robundle –> (development in progress)"
>>>>>>>
>>>>>>> To me, reading this looks like all combinations are
>>>>>>> valid.
>>>>>>>
>>>>>>> I'm wondering, can both .t2flow and .wfbundle files be
>>>>>>> converted to all file types *except* robundle?
>>>>>>>
>>>>>>>
>>>>>>> 4) I fixed the examples in my blog post. Should I also
>>>>>>> change the --robundle option description to say "Output
>>>>>>> bundle as .robundle" instead of "Output workflow as
>>>>>>> .robundle" ? (Same for .wfbundle option.)
>>>>>>>
>>>>>>> Thanks for the feedback and the correct link to the
>>>>>>> example!
>>>>>>>
>>>>>>> Have a nice weekend.
>>>>>>>
>>>>>>> Gale
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>>>>> <me...@gmail.com> wrote:
>>>>>>>> Hi Gale, Use this link
>>>>>>>>
>>>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
> verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
> a
>>>>>>>>
>>>>>>>>
>>>>>
> Cheers
>>>>>>>> Menaka
>>>>>>>>
>>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Menaka,
>>>>>>>>>
>>>>>>>>> Thank you for the feedback and clarifying
>>>>>>>>> information. Sorry not to
>>>>>>> respond
>>>>>>>>> sooner. I am learning about bundles, etc. and reading
>>>>>>>>> the link you
>>>>> sent.
>>>>>>>>>
>>>>>>>>> One thing, I'm having trouble getting to the example
>>>>>>>>> in the Examples
>>>>> of
>>>>>>> Use
>>>>>>>>> Section: "Example in full is at
>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>>
>>>>>>>>> Can you help me? This is what I've done so far:
>>>>>>>>>
>>>>>>>>> - Clicking on the link gets me the "This is not the
>>>>>>>>> web page you are looking for" page. (This is the
>>>>>>>>> actual link address:
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
> verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>>>>
>>>>>
> )
>>>>>>>>>
>>>>>>>>> - Entering "org.apache.taverna.robundle.TestExample"
>>>>>>>>> also doesn't
>>>>> work
>>>>>>> for
>>>>>>>>> me. I didn't think it would, but I tried anyway.
>>>>>>>>>
>>>>>>>>> - Searching for "taverna robundle TestExample" on the
>>>>>>>>> main Apache.com
>>>>>>> page
>>>>>>>>> yields no results.
>>>>>>>>>
>>>>>>>>> I will continue to read and understand the RO Bundle
>>>>>>>>> API page, but I
>>>>>>> would
>>>>>>>>> like to see the full Test Example, if possible.
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>>
>>>>>>>>> Gale
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----Original Message----- From: Menaka Madushanka
>>>>>>>>> [mailto:menaka12350@gmail.com] Sent: Saturday, June
>>>>>>>>> 20, 2015 11:09 AM To:
>>>>>>>>> dev@taverna.incubator.apache.org Subject: Re: Taverna
>>>>>>>>> Language Command Line tool - convert command doc
>>>>>>>>>
>>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language
> - -command-line-convert-examples/
>>>>>>>>>
>>>>>>>>>>
>>>>>
> Example 2: Simple conversion, multiple input files, no options
>>>>>>>>>>
>>>>>>>>>> $tavlang convert –-robundle /someFile1.wfbundle
>>>>>>>>>> /someFile2.wfbundle
>>>>>>>>>>
>>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>>> */someFile2.wfbundle* into *.robundle* format and
>>>>>>>>>> saves the output files to the */converted* folder
>>>>>>>>>> in the current working directory.
>>>>>>>>>>
>>>>>>>>> Taverna language *cannot* convert .wfbundles/.t2flow
>>>>>>>>> into robundle
>>>>>>> format.
>>>>>>>>> Its only for some specific bundle formats. Go through
>>>>>>>>> this doc for
>>>>> more
>>>>>>>>> info.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
> verna-robundle
>>>>>>>>>
>>>>>>>>>
>>>>>
> cheers.
>>>>>>>>>
>>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Thank you for the Wordpress tip, Menaka! I have
>>>>>>>>>> changed the two
>>>>> blog
>>>>>>>>>> posts to use the <pre> tag, and it looks great. I
>>>>>>>>>> also made a few refinements.
>>>>>>>>>>
>>>>>>>>>> Thanks, Gale
>>>>>>>>>>
>>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>>
>>>>>>>>>>> I showed the output-format without brackets to
>>>>>>>>>>> indicate it is
>>>>>>>>>>>> required and not optional because it appears to
>>>>>>>>>>>> be always
>>>>> necessary
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> That would be more accurate I think. I'm very new
>>>>>>>>>>> for
>>>>> documentation.
>>>>>>>>>> Thank
>>>>>>>>>>> you very much.
>>>>>>>>>>>
>>>>>>>>>>> I left the -json output file type as having a
>>>>>>>>>>> single dash, but
>>>>> all
>>>>>>>>>>>> the other output types have double-dashes.
>>>>>>>>>>>> Should I change the
>>>>> json
>>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>>
>>>>>>>>>>> -json should be --json. In my email that was a
>>>>>>>>>>> mistake. So you
>>>>> can
>>>>>>>>>>> use
>>>>>>>>>> --.
>>>>>>>>>>>
>>>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>>>> showing the double-dashes
>>>>>>>>>>>> as long single dashes, even when I use the
>>>>>>>>>>>> monospace
>>>>> font-family.
>>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Yes, wordpress does what it wants, but not us.
>>>>>>>>>>> :-) Use
>>>>> preformatted.
>>>>>>>>>>> Not paragraph. Then it would be ok. I updated my
>>>>>>>>>>> blog.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-
> langu
>>>>>>>>>>
>>>>>>>
> age-command-line-conversion-documentation/
>>>>>>>>>>>
>>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>>
>>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor <
>>>>> galen@noventussolutions.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks for updating your blog! I have some
>>>>>>>>>>>> additional feedback
>>>>> in
>>>>>>>>>>>> the form of two blog posts. One has a detailed
>>>>>>>>>>>> description (as I understand it) of the convert
>>>>>>>>>>>> command and one has several
>>>>> examples,
>>>>>>>>>>>> building on the examples in your blog. I hope
>>>>>>>>>>>> these will help
>>>>> the
>>>>>>>>>>>> discussion of the command structure. Here are
>>>>>>>>>>>> the links:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langua
> ge-co
>>>>>>>>>>
>>>>>>>
> mmand-line-convert-command/
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langua
> ge-co
>>>>>>>>>>
>>>>>>>
> mmand-line-convert-examples/
>>>>>>>>>>>>
>>>>>>>>>>>> Some things to note:
>>>>>>>>>>>>
>>>>>>>>>>>> (1) l basically used your June 18th post, but a
>>>>>>>>>>>> few things (like the validate command) are from
>>>>>>>>>>>> earlier posts/emails.
>>>>>>>>>>>>
>>>>>>>>>>>> (2) I showed the output-format without brackets
>>>>>>>>>>>> to indicate it
>>>>> is
>>>>>>>>>>>> required and not optional because it appears to
>>>>>>>>>>>> be always
>>>>>>> necessary.
>>>>>>>>>>>>
>>>>>>>>>>>> (3) The way I understand the overall command
>>>>>>>>>>>> structure, it
>>>>> seemed
>>>>>>>>>>>> that all options (e.g., the output file
>>>>>>>>>>>> directory) should come before the
>>>>>>>>>>>> input-file-list, so that's what I assumed.
>>>>>>>>>>>>
>>>>>>>>>>>> (4) I left the -json output file type as having
>>>>>>>>>>>> a single dash,
>>>>> but
>>>>>>>>>>>> all the other output types have double-dashes.
>>>>>>>>>>>> Should I change
>>>>> the
>>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>>
>>>>>>>>>>>> Please let me know if anything is incorrect and
>>>>>>>>>>>> I will change
>>>>> it. I
>>>>>>>>>>>> realize the command structure is fluid, and I'm
>>>>>>>>>>>> happy to make
>>>>> any
>>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>>
>>>>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>>>>> showing the double-dashes as long single
>>>>>>>>>>>> dashes, even when I use the
>>>>> monospace
>>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> Gale
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>>
>>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>>> understand what you mean when you say the
>>>>>>>>>>>>>> files will get
>>>>> saved
>>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>>
>>>>>>>>>>>>> That was a mistake :-). I updated the blog.
>>>>>>>>>>>>> That should be corrected
>>>>>>>>>> as
>>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>>>>> the
>>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>>> …/toConvert/converted/ directory.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I would appreciate more feedback,
>>>>>>>>>>>>> modifications etc. So with
>>>>> the
>>>>>>>>>>>>> help
>>>>>>>>>> of
>>>>>>>>>>>>> the community we could come up with a much
>>>>>>>>>>>>> better structure. Cheers Menaka
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am very happy to help, and I understand
>>>>>>>>>>>>>> the command
>>>>> structure
>>>>>>>>>>>>>> is a little fluid right now. Thank you for
>>>>>>>>>>>>>> the blog post; it
>>>>> was
>>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am a little confused about your recursive
>>>>>>>>>>>>>> example. Can you help me understand what
>>>>>>>>>>>>>> you mean when you say the files will
>>>>> get
>>>>>>>>>>>>>> saved to the C directory? Because you show
>>>>>>>>>>>>>> the output being
>>>>>>> saved
>>>>>>>>>>>>>> to:
>>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
> This is the example:
>>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>>> /home/usrname/toConvert/ –> Convert the
>>>>>>>>>>>>>> files and save them in the C directory.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> B
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>>>> Hi Gale, I extremely appreciate your
>>>>>>>>>>>>>>> help. Thank you very much. :-)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 1) Is this still the basic structure of
>>>>>>>>>>>>>>> the command:
>>>>> tavlang
>>>>>>>>>> convert
>>>>>>>>>>>>>>>> [options] <output format> <input
>>>>>>>>>>>>>>>> files>? Am I wrong in thinking
>>>>>>>>>> that
>>>>>>>>>>>> the
>>>>>>>>>>>>>>>> output formats are handled as options?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Yes there is a little difference in the
>>>>>>>>>>>>>>> structure of
>>>>> commands
>>>>>>>>>>>>>>> now
>>>>>>>>>> and
>>>>>>>>>>>>>> then.
>>>>>>>>>>>>>>> So for the moment the command structure
>>>>>>>>>>>>>>> is like this.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> $tavlang convert [--out-put format]
>>>>>>>>>>>>>>> [options] [arguments]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2) Are -r and -i ever used independently?
>>>>>>>>>>>>>>> If so, under what
>>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> No. In recursive case the input will be a
>>>>>>>>>>>>>>> directory
>>>>> containing
>>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>>> .wfbundle files. The output dir is
>>>>>>>>>>>>>>> optional for both
>>>>> recursive
>>>>>>>>>>>>>>> and
>>>>>>>>>> non
>>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I created a blog about the conversion
>>>>>>>>>>>>>>> command.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-
> langu
>>>>>>>>>>
>>>>>>>
> age-command-line-conversion-documentation/
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> If you have some suggestions, please
>>>>>>>>>>>>>>> inform.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -- Menaka Madushanka Jayawardena Faculty
>>>>>>>>>>>>>>> of Engineering,
>>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>>> University
>>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
> - --
>>>>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>>> University of
>>>>>>>>>>>>> Peradeniyaya. LinkedIn
>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>
> - --
>>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>>>>>>>>> University of Peradeniyaya. LinkedIn
>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University
>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University of
>>>>>>>> Peradeniyaya. LinkedIn
>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- Menaka Madushanka Jayawardena Faculty of Engineering,
>>>>>> <http://www.pdn.ac.lk/eng> University of Peradeniyaya.
>>>>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>>
>>>>>
>>>>>
>>>>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>>>>> Commons RDF (incubating)
>>>>> http://orcid.org/0000-0001-9842-9718
>>>>>
>>>
>>>
>>>
>>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>>> Commons RDF (incubating) http://orcid.org/0000-0001-9842-9718
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJVrljKAAoJEPK45GBX+Cy588oH/ikXDQr3kAc+0D1z4w48a34w
> 1AZufTXLK8HRGy/vlTwABssjj9HMxIn/P/ZKj2FmoSCnrr+/HKb+qFo7bes6EeVB
> VIfqLcu8Dpq6t6V7ue0MqACqhBYZZBkgHM1Sty4/6Y/ln/SFSk7t+WHzDDQrnksq
> qd71iuBpjmiZG8z/rZKUhRGATaJ8ffSltbRb5GibVELqaevBrt9cdGuzG3TKxRvI
> H3FlFwpRk3FKitawVd2k9la/n95w9eLd5aEEnJPlfZNq0oztt/KIjqPlkML68gVB
> x3UDWdCThZAsyC08VesX5K0FXh/3+CP//MQOq+2aQY/wbR9LBTJemJRTxA+53tw=
> =En0z
> -----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Ian Dunlop <ia...@manchester.ac.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
Hi Gale. I can see the pull request here
https://github.com/apache/incubator-taverna-site/pull/1
Thanks very much :)
We'll have a look and get it merged soon (or feedback in case any
changes etc are needed).
Cheers,
Ian
On 21/07/2015 15:04, Gale Naylor wrote:
> Hi Stian,
>
> I have submitted a pull request regarding adding the Taverna
> Language Modules diagram. This is my first time, so I'm not sure if
> I did it correctly or if there is anything else I need to do now.
>
> Thank you,
>
> Gale
>
> On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes
> <st...@apache.org> wrote:
>> Thanks!
>>
>> We have a general contributor guide for the website here:
>>
>> http://taverna.incubator.apache.org/community/edit
>>
>>
>> Editing the website itself in a fork can be done in the GitHub
>> web interface, but to add the diagram to a GitHub pull request
>> (e.g. ) would probably require you to check out from your fork
>> of https://github.com/apache/incubator-taverna-site --
>>
>> you could also contribute it as an attachment to a Jira bug
>> report:
>> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>>
>>
>> I don't think a single diagram would require a CLA with ASF -
>> your contribution should be automatically covered by the #5 in
>> http://www.apache.org/licenses/LICENSE-2.0 - but we might need
>> you to sign a CLA - http://www.apache.org/licenses/#clas - before
>> we can accept larger contributions.
>>
>>
>>
>>
>>
>> On 3 July 2015 at 05:29, Gale Naylor
>> <ga...@noventussolutions.com> wrote:
>>> Hi Stian,
>>>
>>> Yes, when I get home from vacation (July 10-11), I will look at
>>> this information more carefully and have a go at adding it to
>>> the website. I will let you know if I have any questions.
>>>
>>> Thank you,
>>>
>>> Gale On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes"
>>> <st...@apache.org> wrote:
>>>
>>>> Hi, Gale, thanks for your effort on documenting tavlang - as
>>>> it's being developed!
>>>>
>>>> Do you think you could have a go at adding this to the
>>>> website in MarkDown/HTML format..? See
>>>>
>>>>
>>>> https://github.com/apache/incubator-taverna-site/tree/trunk/content
/documentation/scufl2
>>>>
>>>>
which is the source for
>>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>>
>>>> (perhaps /scufl2 in the URL should be renamed to /language
>>>> ?)
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> .wfbundle workflows is a kind of earlier form of RO Bundle,
>>>> but predates their formal specification and does not use the
>>>> taverna-robundle API. So they were meant to be updated to
>>>> also be full RO Bundles - basically having a JSON manifest
>>>> instead/in addition to the XML one. So it should at some
>>>> point be possible to convert them. Perhaps a prototype
>>>> converter could just copy over the files internally between
>>>> the UCFPackage and the Bundle and thus update the new
>>>> manifest?
>>>>
>>>>
>>>>
>>>> The code that does the wfbundle writing:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
XMLWriter.java
>>>>
>>>>
and reading:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDF
XMLReader.java
>>>>
>>>>
>>>>
So this relies on the UCF support from:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpacka
ge/UCFPackage.java
>>>>
>>>>
.. which is basically a proxy for manipulating a ZIP file and its manife
st.
>>>>
>>>>
>>>> But this should ideally be updated to use the RO Bundle API
>>>> from:
>>>>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
verna-robundle
>>>>
>>>>
>>>>
>>>>
and thus have proper support for linking the annotation/ files to
>>>> their corresponding workflow elements, rather than having to
>>>> parse them all to find the right one.
>>>>
>>>> as the UCFPackage types are used throughout the wfbundle
>>>> writer changing this would take a bit of effort.. or just
>>>> wrapping it from UCFPackage. Here's an earlier attempt:
>>>>
>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/ucfpackag
e-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/sc
ufl2/ucfpackage/UCFPackage.java
>>>>
>>>>
>>>>
(Note: That branch has test errors)
>>>>
>>>>
>>>> As you see it calls the writeAsODFManifest(); which writes
>>>> out the classic META-INF/manifest.xml for backwards
>>>> compatibility. This is permitted by our spec - but violating
>>>> a NOT RECOMMENDED ("e.g. Know what you are doing"):
>>>> https://w3id.org/bundle#manifest-xml
>>>>
>>>> On 26 June 2015 at 19:54, Menaka Madushanka
>>>> <me...@gmail.com> wrote:
>>>>> Hi Gale, I'm really appreciate your feedback on my blogs.
>>>>> I'm very new and there could be some flows. Thank you very
>>>>> much for showing them. :-)
>>>>>
>>>>> 1) Yes, the types of bundle formats that can be converted
>>>>> are listed in this blog.
>>>>>
>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-
command-line-tool-conversion-documentation-research-objects/
>>>>>
>>>>
The bundles are not workflows.
>>>>>
>>>>> 2) No. It seems like the way I have wrote it somewhat
>>>>> misleading..... Actually scufl2 workflows are not Bundles.
>>>>> Those are two different APIs. I'll update the blog. :-)
>>>>>
>>>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>>>>> converted into robundle.
>>>>>
>>>>> 4). Yes Gale. That modification should be done. Other wise
>>>>> it looks like any format could be converted into Robundle.
>>>>> I'll update my blog too.
>>>>>
>>>>> Are there any more facts that need clarification about the
>>>>> blogs please
>>>> ask
>>>>> me. :)
>>>>>
>>>>> Thank you very much Gale. Menaka
>>>>>
>>>>> On 27 June 2015 at 00:00, Gale Naylor
>>>>> <ga...@noventussolutions.com>
>>>> wrote:
>>>>>
>>>>>> Hi Menaka,
>>>>>>
>>>>>> I've been reading and learning more about research
>>>>>> objects, and I think I understand better what is going
>>>>>> on, but I still have some questions.
>>>>>>
>>>>>> 1) I am curious as to which file types *can* be converted
>>>>>> to .robundle format? (I must have missed something
>>>>>> because I thought .t2flow and .wfbundle were the only
>>>>>> allowed input file types.)
>>>>>>
>>>>>> 2) In rereading your June 18th blog post, I see you say
>>>>>> that the command line tool is for converting and managing
>>>>>> workflow "bundles" as well as research object bundles.
>>>>>> Are t2flow files "workflow bundles" or just "workflows?"
>>>>>> Or is there not a practical difference?
>>>>>>
>>>>>> 3) I understand now that not all file format conversions
>>>>>> are valid. I'm trying to understand this better. In your
>>>>>> June 18th blog post you say:
>>>>>>
>>>>>> "The conversion function supports converting .t2flow and
>>>>>> .wfbundle formats into following formats:
>>>>>>
>>>>>> .structure
>>>>>>
>>>>>> .json
>>>>>>
>>>>>> .iwir
>>>>>>
>>>>>> .wfbundle
>>>>>>
>>>>>> .wfdesc.ttl –> (development in progress)
>>>>>>
>>>>>> .robundle –> (development in progress)"
>>>>>>
>>>>>> To me, reading this looks like all combinations are
>>>>>> valid.
>>>>>>
>>>>>> I'm wondering, can both .t2flow and .wfbundle files be
>>>>>> converted to all file types *except* robundle?
>>>>>>
>>>>>>
>>>>>> 4) I fixed the examples in my blog post. Should I also
>>>>>> change the --robundle option description to say "Output
>>>>>> bundle as .robundle" instead of "Output workflow as
>>>>>> .robundle" ? (Same for .wfbundle option.)
>>>>>>
>>>>>> Thanks for the feedback and the correct link to the
>>>>>> example!
>>>>>>
>>>>>> Have a nice weekend.
>>>>>>
>>>>>> Gale
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>>>> <me...@gmail.com> wrote:
>>>>>>> Hi Gale, Use this link
>>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
a
>>>>>>>
>>>>>>>
>>>>
Cheers
>>>>>>> Menaka
>>>>>>>
>>>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>>>> <ga...@noventussolutions.com>
>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Menaka,
>>>>>>>>
>>>>>>>> Thank you for the feedback and clarifying
>>>>>>>> information. Sorry not to
>>>>>> respond
>>>>>>>> sooner. I am learning about bundles, etc. and reading
>>>>>>>> the link you
>>>> sent.
>>>>>>>>
>>>>>>>> One thing, I'm having trouble getting to the example
>>>>>>>> in the Examples
>>>> of
>>>>>> Use
>>>>>>>> Section: "Example in full is at
>>>> org.apache.taverna.robundle.TestExample"
>>>>>>>>
>>>>>>>> Can you help me? This is what I've done so far:
>>>>>>>>
>>>>>>>> - Clicking on the link gets me the "This is not the
>>>>>>>> web page you are looking for" page. (This is the
>>>>>>>> actual link address:
>>>>>>>>
>>>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>>>
>>>>
)
>>>>>>>>
>>>>>>>> - Entering "org.apache.taverna.robundle.TestExample"
>>>>>>>> also doesn't
>>>> work
>>>>>> for
>>>>>>>> me. I didn't think it would, but I tried anyway.
>>>>>>>>
>>>>>>>> - Searching for "taverna robundle TestExample" on the
>>>>>>>> main Apache.com
>>>>>> page
>>>>>>>> yields no results.
>>>>>>>>
>>>>>>>> I will continue to read and understand the RO Bundle
>>>>>>>> API page, but I
>>>>>> would
>>>>>>>> like to see the full Test Example, if possible.
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>>
>>>>>>>> Gale
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message----- From: Menaka Madushanka
>>>>>>>> [mailto:menaka12350@gmail.com] Sent: Saturday, June
>>>>>>>> 20, 2015 11:09 AM To:
>>>>>>>> dev@taverna.incubator.apache.org Subject: Re: Taverna
>>>>>>>> Language Command Line tool - convert command doc
>>>>>>>>
>>>>>>>> That's cool.....!! :-) Correction:
>>>>>>>>
>>>>>>>>
>>>>>>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language
- -command-line-convert-examples/
>>>>>>>>
>>>>>>>>>
>>>>
Example 2: Simple conversion, multiple input files, no options
>>>>>>>>>
>>>>>>>>> $tavlang convert –-robundle /someFile1.wfbundle
>>>>>>>>> /someFile2.wfbundle
>>>>>>>>>
>>>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>>>> */someFile2.wfbundle* into *.robundle* format and
>>>>>>>>> saves the output files to the */converted* folder
>>>>>>>>> in the current working directory.
>>>>>>>>>
>>>>>>>> Taverna language *cannot* convert .wfbundles/.t2flow
>>>>>>>> into robundle
>>>>>> format.
>>>>>>>> Its only for some specific bundle formats. Go through
>>>>>>>> this doc for
>>>> more
>>>>>>>> info.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
verna-robundle
>>>>>>>>
>>>>>>>>
>>>>
cheers.
>>>>>>>>
>>>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com>
>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thank you for the Wordpress tip, Menaka! I have
>>>>>>>>> changed the two
>>>> blog
>>>>>>>>> posts to use the <pre> tag, and it looks great. I
>>>>>>>>> also made a few refinements.
>>>>>>>>>
>>>>>>>>> Thanks, Gale
>>>>>>>>>
>>>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>> Thank you very much Gale,
>>>>>>>>>>
>>>>>>>>>> I showed the output-format without brackets to
>>>>>>>>>> indicate it is
>>>>>>>>>>> required and not optional because it appears to
>>>>>>>>>>> be always
>>>> necessary
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> That would be more accurate I think. I'm very new
>>>>>>>>>> for
>>>> documentation.
>>>>>>>>> Thank
>>>>>>>>>> you very much.
>>>>>>>>>>
>>>>>>>>>> I left the -json output file type as having a
>>>>>>>>>> single dash, but
>>>> all
>>>>>>>>>>> the other output types have double-dashes.
>>>>>>>>>>> Should I change the
>>>> json
>>>>>>>>>>> output argument to --json?
>>>>>>>>>>>
>>>>>>>>>> -json should be --json. In my email that was a
>>>>>>>>>> mistake. So you
>>>> can
>>>>>>>>>> use
>>>>>>>>> --.
>>>>>>>>>>
>>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>>> showing the double-dashes
>>>>>>>>>>> as long single dashes, even when I use the
>>>>>>>>>>> monospace
>>>> font-family.
>>>>>>>>>>> Any suggestions?)
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Yes, wordpress does what it wants, but not us.
>>>>>>>>>> :-) Use
>>>> preformatted.
>>>>>>>>>> Not paragraph. Then it would be ok. I updated my
>>>>>>>>>> blog.
>>>>>>>>>>
>>>>>>>>>
>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-
langu
>>>>>>>>>
>>>>>>
age-command-line-conversion-documentation/
>>>>>>>>>>
>>>>>>>>>> Thank you very much. Menaka
>>>>>>>>>>
>>>>>>>>>> I'll go through your documentations.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor <
>>>> galen@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>
>>>>>>>>>>> Thanks for updating your blog! I have some
>>>>>>>>>>> additional feedback
>>>> in
>>>>>>>>>>> the form of two blog posts. One has a detailed
>>>>>>>>>>> description (as I understand it) of the convert
>>>>>>>>>>> command and one has several
>>>> examples,
>>>>>>>>>>> building on the examples in your blog. I hope
>>>>>>>>>>> these will help
>>>> the
>>>>>>>>>>> discussion of the command structure. Here are
>>>>>>>>>>> the links:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langua
ge-co
>>>>>>>>>
>>>>>>
mmand-line-convert-command/
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-langua
ge-co
>>>>>>>>>
>>>>>>
mmand-line-convert-examples/
>>>>>>>>>>>
>>>>>>>>>>> Some things to note:
>>>>>>>>>>>
>>>>>>>>>>> (1) l basically used your June 18th post, but a
>>>>>>>>>>> few things (like the validate command) are from
>>>>>>>>>>> earlier posts/emails.
>>>>>>>>>>>
>>>>>>>>>>> (2) I showed the output-format without brackets
>>>>>>>>>>> to indicate it
>>>> is
>>>>>>>>>>> required and not optional because it appears to
>>>>>>>>>>> be always
>>>>>> necessary.
>>>>>>>>>>>
>>>>>>>>>>> (3) The way I understand the overall command
>>>>>>>>>>> structure, it
>>>> seemed
>>>>>>>>>>> that all options (e.g., the output file
>>>>>>>>>>> directory) should come before the
>>>>>>>>>>> input-file-list, so that's what I assumed.
>>>>>>>>>>>
>>>>>>>>>>> (4) I left the -json output file type as having
>>>>>>>>>>> a single dash,
>>>> but
>>>>>>>>>>> all the other output types have double-dashes.
>>>>>>>>>>> Should I change
>>>> the
>>>>>>>>>>> json output argument to --json?
>>>>>>>>>>>
>>>>>>>>>>> Please let me know if anything is incorrect and
>>>>>>>>>>> I will change
>>>> it. I
>>>>>>>>>>> realize the command structure is fluid, and I'm
>>>>>>>>>>> happy to make
>>>> any
>>>>>>>>>>> changes as things evolve.
>>>>>>>>>>>
>>>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>>>> showing the double-dashes as long single
>>>>>>>>>>> dashes, even when I use the
>>>> monospace
>>>>>>>>>>> font-family. Any suggestions?)
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>>
>>>>>>>>>>> Gale
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>> Hi Gale,
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>
>>>>>>>>>>>> . Can you help me
>>>>>>>>>>>>> understand what you mean when you say the
>>>>>>>>>>>>> files will get
>>>> saved
>>>>>>>>>>>>> to the C directory?
>>>>>>>>>>>>
>>>>>>>>>>>> That was a mistake :-). I updated the blog.
>>>>>>>>>>>> That should be corrected
>>>>>>>>> as
>>>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>>>> the
>>>>>>>>>>>> files and save them in the
>>>>>>>>>>>> …/toConvert/converted/ directory.
>>>>>>>>>>>>
>>>>>>>>>>>> I would appreciate more feedback,
>>>>>>>>>>>> modifications etc. So with
>>>> the
>>>>>>>>>>>> help
>>>>>>>>> of
>>>>>>>>>>>> the community we could come up with a much
>>>>>>>>>>>> better structure. Cheers Menaka
>>>>>>>>>>>>
>>>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am very happy to help, and I understand
>>>>>>>>>>>>> the command
>>>> structure
>>>>>>>>>>>>> is a little fluid right now. Thank you for
>>>>>>>>>>>>> the blog post; it
>>>> was
>>>>>>>>>>>>> very helpful.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am a little confused about your recursive
>>>>>>>>>>>>> example. Can you help me understand what
>>>>>>>>>>>>> you mean when you say the files will
>>>> get
>>>>>>>>>>>>> saved to the C directory? Because you show
>>>>>>>>>>>>> the output being
>>>>>> saved
>>>>>>>>>>>>> to:
>>>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
This is the example:
>>>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>>>> /home/usrname/toConvert/ –> Convert the
>>>>>>>>>>>>> files and save them in the C directory.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Gale
>>>>>>>>>>>>>
>>>>>>>>>>>>> B
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>>>> Hi Gale, I extremely appreciate your
>>>>>>>>>>>>>> help. Thank you very much. :-)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 1) Is this still the basic structure of
>>>>>>>>>>>>>> the command:
>>>> tavlang
>>>>>>>>> convert
>>>>>>>>>>>>>>> [options] <output format> <input
>>>>>>>>>>>>>>> files>? Am I wrong in thinking
>>>>>>>>> that
>>>>>>>>>>> the
>>>>>>>>>>>>>>> output formats are handled as options?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yes there is a little difference in the
>>>>>>>>>>>>>> structure of
>>>> commands
>>>>>>>>>>>>>> now
>>>>>>>>> and
>>>>>>>>>>>>> then.
>>>>>>>>>>>>>> So for the moment the command structure
>>>>>>>>>>>>>> is like this.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> $tavlang convert [--out-put format]
>>>>>>>>>>>>>> [options] [arguments]
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2) Are -r and -i ever used independently?
>>>>>>>>>>>>>> If so, under what
>>>>>>>>>>>>> circumstances?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> No. In recursive case the input will be a
>>>>>>>>>>>>>> directory
>>>> containing
>>>>>>>>>>> .t2flow of
>>>>>>>>>>>>>> .wfbundle files. The output dir is
>>>>>>>>>>>>>> optional for both
>>>> recursive
>>>>>>>>>>>>>> and
>>>>>>>>> non
>>>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I created a blog about the conversion
>>>>>>>>>>>>>> command.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-
langu
>>>>>>>>>
>>>>>>
age-command-line-conversion-documentation/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If you have some suggestions, please
>>>>>>>>>>>>>> inform.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -- Menaka Madushanka Jayawardena Faculty
>>>>>>>>>>>>>> of Engineering,
>>>>>>>>>>>>>> <http://www.pdn.ac.lk/eng>
>>>> University
>>>>>>>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>>
- --
>>>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>> University of
>>>>>>>>>>>> Peradeniyaya. LinkedIn
>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>
- --
>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>>>>>>>> University of Peradeniyaya. LinkedIn
>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University
>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University of
>>>>>>> Peradeniyaya. LinkedIn
>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- Menaka Madushanka Jayawardena Faculty of Engineering,
>>>>> <http://www.pdn.ac.lk/eng> University of Peradeniyaya.
>>>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>
>>>>
>>>>
>>>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>>>> Commons RDF (incubating)
>>>> http://orcid.org/0000-0001-9842-9718
>>>>
>>
>>
>>
>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>> Commons RDF (incubating) http://orcid.org/0000-0001-9842-9718
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVrljKAAoJEPK45GBX+Cy588oH/ikXDQr3kAc+0D1z4w48a34w
1AZufTXLK8HRGy/vlTwABssjj9HMxIn/P/ZKj2FmoSCnrr+/HKb+qFo7bes6EeVB
VIfqLcu8Dpq6t6V7ue0MqACqhBYZZBkgHM1Sty4/6Y/ln/SFSk7t+WHzDDQrnksq
qd71iuBpjmiZG8z/rZKUhRGATaJ8ffSltbRb5GibVELqaevBrt9cdGuzG3TKxRvI
H3FlFwpRk3FKitawVd2k9la/n95w9eLd5aEEnJPlfZNq0oztt/KIjqPlkML68gVB
x3UDWdCThZAsyC08VesX5K0FXh/3+CP//MQOq+2aQY/wbR9LBTJemJRTxA+53tw=
=En0z
-----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Stian,
I have submitted a pull request regarding adding the Taverna Language
Modules diagram. This is my first time, so I'm not sure if I did it
correctly or if there is anything else I need to do now.
Thank you,
Gale
On Mon, Jul 13, 2015 at 8:33 AM, Stian Soiland-Reyes <st...@apache.org> wrote:
> Thanks!
>
> We have a general contributor guide for the website here:
>
> http://taverna.incubator.apache.org/community/edit
>
>
> Editing the website itself in a fork can be done in the GitHub web
> interface, but to add the diagram to a GitHub pull request (e.g. )
> would probably require you to check out from your fork of
> https://github.com/apache/incubator-taverna-site --
>
> you could also contribute it as an attachment to a Jira bug report:
> https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>
>
> I don't think a single diagram would require a CLA with ASF - your
> contribution should be automatically covered by the #5 in
> http://www.apache.org/licenses/LICENSE-2.0
> - but we might need you to sign a CLA -
> http://www.apache.org/licenses/#clas - before we can accept larger
> contributions.
>
>
>
>
>
> On 3 July 2015 at 05:29, Gale Naylor <ga...@noventussolutions.com> wrote:
>> Hi Stian,
>>
>> Yes, when I get home from vacation (July 10-11), I will look at this
>> information more carefully and have a go at adding it to the website. I
>> will let you know if I have any questions.
>>
>> Thank you,
>>
>> Gale
>> On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
>>
>>> Hi, Gale, thanks for your effort on documenting tavlang - as it's
>>> being developed!
>>>
>>> Do you think you could have a go at adding this to the website in
>>> MarkDown/HTML format..? See
>>>
>>>
>>> https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
>>> which is the source for
>>> http://taverna.incubator.apache.org/documentation/scufl2/
>>>
>>> (perhaps /scufl2 in the URL should be renamed to /language ?)
>>>
>>>
>>>
>>>
>>>
>>> .wfbundle workflows is a kind of earlier form of RO Bundle, but
>>> predates their formal specification and does not use the
>>> taverna-robundle API. So they were meant to be updated to also be full
>>> RO Bundles - basically having a JSON manifest instead/in addition to
>>> the XML one. So it should at some point be possible to convert them.
>>> Perhaps a prototype converter could just copy over the files
>>> internally between the UCFPackage and the Bundle and thus update the
>>> new manifest?
>>>
>>>
>>>
>>> The code that does the wfbundle writing:
>>>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
>>> and reading:
>>>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
>>>
>>> So this relies on the UCF support from:
>>>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>>> .. which is basically a proxy for manipulating a ZIP file and its manifest.
>>>
>>>
>>> But this should ideally be updated to use the RO Bundle API from:
>>>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>>
>>>
>>> and thus have proper support for linking the annotation/ files to
>>> their corresponding workflow elements, rather than having to parse
>>> them all to find the right one.
>>>
>>> as the UCFPackage types are used throughout the wfbundle writer
>>> changing this would take a bit of effort.. or just wrapping it from
>>> UCFPackage. Here's an earlier attempt:
>>>
>>>
>>> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>>>
>>> (Note: That branch has test errors)
>>>
>>>
>>> As you see it calls the writeAsODFManifest(); which writes out the
>>> classic META-INF/manifest.xml for backwards compatibility. This is
>>> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
>>> what you are doing"):
>>> https://w3id.org/bundle#manifest-xml
>>>
>>> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
>>> > Hi Gale,
>>> > I'm really appreciate your feedback on my blogs. I'm very new and there
>>> > could be some flows. Thank you very much for showing them. :-)
>>> >
>>> > 1) Yes, the types of bundle formats that can be converted are listed in
>>> > this blog.
>>> >
>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>> > The bundles are not workflows.
>>> >
>>> > 2) No. It seems like the way I have wrote it somewhat misleading.....
>>> > Actually scufl2 workflows are not Bundles. Those are two different APIs.
>>> > I'll update the blog. :-)
>>> >
>>> > 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>>> > robundle.
>>> >
>>> > 4). Yes Gale. That modification should be done. Other wise it looks like
>>> > any format could be converted into Robundle. I'll update my blog too.
>>> >
>>> > Are there any more facts that need clarification about the blogs please
>>> ask
>>> > me. :)
>>> >
>>> > Thank you very much Gale.
>>> > Menaka
>>> >
>>> > On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >
>>> >> Hi Menaka,
>>> >>
>>> >> I've been reading and learning more about research objects, and I
>>> >> think I understand better what is going on, but I still have some
>>> >> questions.
>>> >>
>>> >> 1) I am curious as to which file types *can* be converted to .robundle
>>> >> format? (I must have missed something because I thought .t2flow and
>>> >> .wfbundle were the only allowed input file types.)
>>> >>
>>> >> 2) In rereading your June 18th blog post, I see you say that the
>>> >> command line tool is for converting and managing workflow "bundles" as
>>> >> well as research object bundles. Are t2flow files "workflow bundles"
>>> >> or just "workflows?" Or is there not a practical difference?
>>> >>
>>> >> 3) I understand now that not all file format conversions are valid.
>>> >> I'm trying to understand this better. In your June 18th blog post you
>>> >> say:
>>> >>
>>> >> "The conversion function supports converting .t2flow and .wfbundle
>>> >> formats into following formats:
>>> >>
>>> >> .structure
>>> >>
>>> >> .json
>>> >>
>>> >> .iwir
>>> >>
>>> >> .wfbundle
>>> >>
>>> >> .wfdesc.ttl –> (development in progress)
>>> >>
>>> >> .robundle –> (development in progress)"
>>> >>
>>> >> To me, reading this looks like all combinations are valid.
>>> >>
>>> >> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>> >> all file types *except* robundle?
>>> >>
>>> >>
>>> >> 4) I fixed the examples in my blog post. Should I also change the
>>> >> --robundle option description to say "Output bundle as .robundle"
>>> >> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>> >> option.)
>>> >>
>>> >> Thanks for the feedback and the correct link to the example!
>>> >>
>>> >> Have a nice weekend.
>>> >>
>>> >> Gale
>>> >>
>>> >>
>>> >>
>>> >> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> >> <me...@gmail.com> wrote:
>>> >> > Hi Gale,
>>> >> > Use this link
>>> >> >
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >> >
>>> >> > Cheers
>>> >> > Menaka
>>> >> >
>>> >> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>>> >> wrote:
>>> >> >
>>> >> >> Hi Menaka,
>>> >> >>
>>> >> >> Thank you for the feedback and clarifying information. Sorry not to
>>> >> respond
>>> >> >> sooner. I am learning about bundles, etc. and reading the link you
>>> sent.
>>> >> >>
>>> >> >> One thing, I'm having trouble getting to the example in the Examples
>>> of
>>> >> Use
>>> >> >> Section: "Example in full is at
>>> org.apache.taverna.robundle.TestExample"
>>> >> >>
>>> >> >> Can you help me? This is what I've done so far:
>>> >> >>
>>> >> >> - Clicking on the link gets me the "This is not the web page you are
>>> >> >> looking
>>> >> >> for" page. (This is the actual link address:
>>> >> >>
>>> >> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >> >> )
>>> >> >>
>>> >> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
>>> work
>>> >> for
>>> >> >> me. I didn't think it would, but I tried anyway.
>>> >> >>
>>> >> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>>> >> page
>>> >> >> yields no results.
>>> >> >>
>>> >> >> I will continue to read and understand the RO Bundle API page, but I
>>> >> would
>>> >> >> like to see the full Test Example, if possible.
>>> >> >>
>>> >> >> Thanks!
>>> >> >>
>>> >> >> Gale
>>> >> >>
>>> >> >>
>>> >> >> -----Original Message-----
>>> >> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>> >> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >> >> To: dev@taverna.incubator.apache.org
>>> >> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>>> >> >>
>>> >> >> That's cool.....!! :-)
>>> >> >> Correction:
>>> >> >>
>>> >> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >> >>
>>> >> >> > Example 2: Simple conversion, multiple input files, no options
>>> >> >> >
>>> >> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>>> >> >> >
>>> >> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>> >> >> > *.robundle* format and saves the output files to the */converted*
>>> >> >> > folder in the current working directory.
>>> >> >> >
>>> >> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>>> >> format.
>>> >> >> Its only for some specific bundle formats. Go through this doc for
>>> more
>>> >> >> info.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >> >>
>>> >> >> cheers.
>>> >> >>
>>> >> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>>> >> wrote:
>>> >> >>
>>> >> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
>>> blog
>>> >> >> > posts to use the <pre> tag, and it looks great. I also made a few
>>> >> >> > refinements.
>>> >> >> >
>>> >> >> > Thanks,
>>> >> >> > Gale
>>> >> >> >
>>> >> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>> >> >> > <me...@gmail.com> wrote:
>>> >> >> > > Thank you very much Gale,
>>> >> >> > >
>>> >> >> > > I showed the output-format without brackets to indicate it is
>>> >> >> > >> required and not optional because it appears to be always
>>> necessary
>>> >> >> > >
>>> >> >> > >
>>> >> >> > > That would be more accurate I think. I'm very new for
>>> documentation.
>>> >> >> > Thank
>>> >> >> > > you very much.
>>> >> >> > >
>>> >> >> > > I left the -json output file type as having a single dash, but
>>> all
>>> >> >> > >> the other output types have double-dashes. Should I change the
>>> json
>>> >> >> > >> output argument to --json?
>>> >> >> > >>
>>> >> >> > > -json should be --json. In my email that was a mistake. So you
>>> can
>>> >> >> > > use
>>> >> >> > --.
>>> >> >> > >
>>> >> >> > > (Wordpress is driving me crazy because it is showing the
>>> >> >> > > double-dashes
>>> >> >> > >> as long single dashes, even when I use the monospace
>>> font-family.
>>> >> >> > >> Any
>>> >> >> > >> suggestions?)
>>> >> >> > >>
>>> >> >> > >
>>> >> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>>> preformatted.
>>> >> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>> >> >> > >
>>> >> >> >
>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> >> > age-command-line-conversion-documentation/
>>> >> >> > >
>>> >> >> > > Thank you very much.
>>> >> >> > > Menaka
>>> >> >> > >
>>> >> >> > > I'll go through your documentations.
>>> >> >> > >
>>> >> >> > >
>>> >> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>>> galen@noventussolutions.com>
>>> >> >> > wrote:
>>> >> >> > >
>>> >> >> > >> Hi Menaka,
>>> >> >> > >>
>>> >> >> > >> Thanks for updating your blog! I have some additional feedback
>>> in
>>> >> >> > >> the form of two blog posts. One has a detailed description (as I
>>> >> >> > >> understand it) of the convert command and one has several
>>> examples,
>>> >> >> > >> building on the examples in your blog. I hope these will help
>>> the
>>> >> >> > >> discussion of the command structure. Here are the links:
>>> >> >> > >>
>>> >> >> > >>
>>> >> >> > >>
>>> >> >> >
>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> >> > mmand-line-convert-command/
>>> >> >> > >>
>>> >> >> > >>
>>> >> >> > >>
>>> >> >> >
>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> >> > mmand-line-convert-examples/
>>> >> >> > >>
>>> >> >> > >> Some things to note:
>>> >> >> > >>
>>> >> >> > >> (1) l basically used your June 18th post, but a few things (like
>>> >> >> > >> the validate command) are from earlier posts/emails.
>>> >> >> > >>
>>> >> >> > >> (2) I showed the output-format without brackets to indicate it
>>> is
>>> >> >> > >> required and not optional because it appears to be always
>>> >> necessary.
>>> >> >> > >>
>>> >> >> > >> (3) The way I understand the overall command structure, it
>>> seemed
>>> >> >> > >> that all options (e.g., the output file directory) should come
>>> >> >> > >> before the input-file-list, so that's what I assumed.
>>> >> >> > >>
>>> >> >> > >> (4) I left the -json output file type as having a single dash,
>>> but
>>> >> >> > >> all the other output types have double-dashes. Should I change
>>> the
>>> >> >> > >> json output argument to --json?
>>> >> >> > >>
>>> >> >> > >> Please let me know if anything is incorrect and I will change
>>> it. I
>>> >> >> > >> realize the command structure is fluid, and I'm happy to make
>>> any
>>> >> >> > >> changes as things evolve.
>>> >> >> > >>
>>> >> >> > >> (Wordpress is driving me crazy because it is showing the
>>> >> >> > >> double-dashes as long single dashes, even when I use the
>>> monospace
>>> >> >> > >> font-family. Any
>>> >> >> > >> suggestions?)
>>> >> >> > >>
>>> >> >> > >> Thanks,
>>> >> >> > >>
>>> >> >> > >> Gale
>>> >> >> > >>
>>> >> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>> >> >> > >> <me...@gmail.com> wrote:
>>> >> >> > >> > Hi Gale,
>>> >> >> > >> >
>>> >> >> > >> > Thank you very much.
>>> >> >> > >> >
>>> >> >> > >> > . Can you help me
>>> >> >> > >> >> understand what you mean when you say the files will get
>>> saved
>>> >> >> > >> >> to the C directory?
>>> >> >> > >> >
>>> >> >> > >> > That was a mistake :-). I updated the blog. That should be
>>> >> >> > >> > corrected
>>> >> >> > as
>>> >> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> >> > >> > *Convert
>>> >> >> > the
>>> >> >> > >> > files and save them in the …/toConvert/converted/ directory.
>>> >> >> > >> >
>>> >> >> > >> > I would appreciate more feedback, modifications etc. So with
>>> the
>>> >> >> > >> > help
>>> >> >> > of
>>> >> >> > >> > the community we could come up with a much better structure.
>>> >> >> > >> > Cheers
>>> >> >> > >> > Menaka
>>> >> >> > >> >
>>> >> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >> >> > >> > <ga...@noventussolutions.com>
>>> >> >> > >> wrote:
>>> >> >> > >> >
>>> >> >> > >> >> Hi Menaka,
>>> >> >> > >> >>
>>> >> >> > >> >> I am very happy to help, and I understand the command
>>> structure
>>> >> >> > >> >> is a little fluid right now. Thank you for the blog post; it
>>> was
>>> >> >> > >> >> very helpful.
>>> >> >> > >> >>
>>> >> >> > >> >> I am a little confused about your recursive example. Can you
>>> >> >> > >> >> help me understand what you mean when you say the files will
>>> get
>>> >> >> > >> >> saved to the C directory? Because you show the output being
>>> >> saved
>>> >> >> > >> >> to:
>>> >> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>> >> >> > >> >>
>>> >> >> > >> >> This is the example:
>>> >> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> >> > >> >> Convert the files and save them in the C directory.
>>> >> >> > >> >>
>>> >> >> > >> >> Thank you!
>>> >> >> > >> >>
>>> >> >> > >> >> Gale
>>> >> >> > >> >>
>>> >> >> > >> >> B
>>> >> >> > >> >>
>>> >> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>> >> >> > >> >> <me...@gmail.com> wrote:
>>> >> >> > >> >> > Hi Gale,
>>> >> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>>> >> >> > >> >> >
>>> >> >> > >> >> > 1) Is this still the basic structure of the command:
>>> tavlang
>>> >> >> > convert
>>> >> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>> >> >> > >> >> >> thinking
>>> >> >> > that
>>> >> >> > >> the
>>> >> >> > >> >> >> output formats are handled as options?
>>> >> >> > >> >> >
>>> >> >> > >> >> >
>>> >> >> > >> >> > Yes there is a little difference in the structure of
>>> commands
>>> >> >> > >> >> > now
>>> >> >> > and
>>> >> >> > >> >> then.
>>> >> >> > >> >> > So for the moment the command structure is like this.
>>> >> >> > >> >> >
>>> >> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>>> >> >> > >> >> >
>>> >> >> > >> >> >
>>> >> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>>> >> >> > >> >> circumstances?
>>> >> >> > >> >> >
>>> >> >> > >> >> > No. In recursive case the input will be a directory
>>> containing
>>> >> >> > >> .t2flow of
>>> >> >> > >> >> > .wfbundle files. The output dir is optional for both
>>> recursive
>>> >> >> > >> >> > and
>>> >> >> > non
>>> >> >> > >> >> > recursive cases.
>>> >> >> > >> >> >
>>> >> >> > >> >> > I created a blog about the conversion command.
>>> >> >> > >> >> >
>>> >> >> > >> >>
>>> >> >> > >>
>>> >> >> >
>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> >> > age-command-line-conversion-documentation/
>>> >> >> > >> >> >
>>> >> >> > >> >> > If you have some suggestions, please inform.
>>> >> >> > >> >> >
>>> >> >> > >> >> > Thank you very much!
>>> >> >> > >> >> >
>>> >> >> > >> >> > Regards
>>> >> >> > >> >> > Menaka
>>> >> >> > >> >> >
>>> >> >> > >> >> > --
>>> >> >> > >> >> > Menaka Madushanka Jayawardena
>>> >> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University
>>> >> >> > >> >> > of Peradeniyaya.
>>> >> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> > >> >>
>>> >> >> > >> >
>>> >> >> > >> >
>>> >> >> > >> >
>>> >> >> > >> > --
>>> >> >> > >> > Menaka Madushanka Jayawardena
>>> >> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University of
>>> >> >> > >> > Peradeniyaya.
>>> >> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> > >>
>>> >> >> > >
>>> >> >> > >
>>> >> >> > >
>>> >> >> > > --
>>> >> >> > > Menaka Madushanka Jayawardena
>>> >> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> >> > > Peradeniyaya.
>>> >> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> Menaka Madushanka Jayawardena
>>> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> >> Peradeniyaya.
>>> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Menaka Madushanka Jayawardena
>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> > University of Peradeniyaya.
>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>>
>>>
>>> --
>>> Stian Soiland-Reyes
>>> Apache Taverna (incubating), Apache Commons RDF (incubating)
>>> http://orcid.org/0000-0001-9842-9718
>>>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Stian Soiland-Reyes <st...@apache.org>.
Thanks!
We have a general contributor guide for the website here:
http://taverna.incubator.apache.org/community/edit
Editing the website itself in a fork can be done in the GitHub web
interface, but to add the diagram to a GitHub pull request (e.g. )
would probably require you to check out from your fork of
https://github.com/apache/incubator-taverna-site --
you could also contribute it as an attachment to a Jira bug report:
https://issues.apache.org/jira/browse/TAVERNA/component/12326819
I don't think a single diagram would require a CLA with ASF - your
contribution should be automatically covered by the #5 in
http://www.apache.org/licenses/LICENSE-2.0
- but we might need you to sign a CLA -
http://www.apache.org/licenses/#clas - before we can accept larger
contributions.
On 3 July 2015 at 05:29, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Stian,
>
> Yes, when I get home from vacation (July 10-11), I will look at this
> information more carefully and have a go at adding it to the website. I
> will let you know if I have any questions.
>
> Thank you,
>
> Gale
> On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
>
>> Hi, Gale, thanks for your effort on documenting tavlang - as it's
>> being developed!
>>
>> Do you think you could have a go at adding this to the website in
>> MarkDown/HTML format..? See
>>
>>
>> https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
>> which is the source for
>> http://taverna.incubator.apache.org/documentation/scufl2/
>>
>> (perhaps /scufl2 in the URL should be renamed to /language ?)
>>
>>
>>
>>
>>
>> .wfbundle workflows is a kind of earlier form of RO Bundle, but
>> predates their formal specification and does not use the
>> taverna-robundle API. So they were meant to be updated to also be full
>> RO Bundles - basically having a JSON manifest instead/in addition to
>> the XML one. So it should at some point be possible to convert them.
>> Perhaps a prototype converter could just copy over the files
>> internally between the UCFPackage and the Bundle and thus update the
>> new manifest?
>>
>>
>>
>> The code that does the wfbundle writing:
>>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
>> and reading:
>>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
>>
>> So this relies on the UCF support from:
>>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>> .. which is basically a proxy for manipulating a ZIP file and its manifest.
>>
>>
>> But this should ideally be updated to use the RO Bundle API from:
>>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>
>>
>> and thus have proper support for linking the annotation/ files to
>> their corresponding workflow elements, rather than having to parse
>> them all to find the right one.
>>
>> as the UCFPackage types are used throughout the wfbundle writer
>> changing this would take a bit of effort.. or just wrapping it from
>> UCFPackage. Here's an earlier attempt:
>>
>>
>> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>>
>> (Note: That branch has test errors)
>>
>>
>> As you see it calls the writeAsODFManifest(); which writes out the
>> classic META-INF/manifest.xml for backwards compatibility. This is
>> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
>> what you are doing"):
>> https://w3id.org/bundle#manifest-xml
>>
>> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
>> > Hi Gale,
>> > I'm really appreciate your feedback on my blogs. I'm very new and there
>> > could be some flows. Thank you very much for showing them. :-)
>> >
>> > 1) Yes, the types of bundle formats that can be converted are listed in
>> > this blog.
>> >
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> > The bundles are not workflows.
>> >
>> > 2) No. It seems like the way I have wrote it somewhat misleading.....
>> > Actually scufl2 workflows are not Bundles. Those are two different APIs.
>> > I'll update the blog. :-)
>> >
>> > 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>> > robundle.
>> >
>> > 4). Yes Gale. That modification should be done. Other wise it looks like
>> > any format could be converted into Robundle. I'll update my blog too.
>> >
>> > Are there any more facts that need clarification about the blogs please
>> ask
>> > me. :)
>> >
>> > Thank you very much Gale.
>> > Menaka
>> >
>> > On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> I've been reading and learning more about research objects, and I
>> >> think I understand better what is going on, but I still have some
>> >> questions.
>> >>
>> >> 1) I am curious as to which file types *can* be converted to .robundle
>> >> format? (I must have missed something because I thought .t2flow and
>> >> .wfbundle were the only allowed input file types.)
>> >>
>> >> 2) In rereading your June 18th blog post, I see you say that the
>> >> command line tool is for converting and managing workflow "bundles" as
>> >> well as research object bundles. Are t2flow files "workflow bundles"
>> >> or just "workflows?" Or is there not a practical difference?
>> >>
>> >> 3) I understand now that not all file format conversions are valid.
>> >> I'm trying to understand this better. In your June 18th blog post you
>> >> say:
>> >>
>> >> "The conversion function supports converting .t2flow and .wfbundle
>> >> formats into following formats:
>> >>
>> >> .structure
>> >>
>> >> .json
>> >>
>> >> .iwir
>> >>
>> >> .wfbundle
>> >>
>> >> .wfdesc.ttl –> (development in progress)
>> >>
>> >> .robundle –> (development in progress)"
>> >>
>> >> To me, reading this looks like all combinations are valid.
>> >>
>> >> I'm wondering, can both .t2flow and .wfbundle files be converted to
>> >> all file types *except* robundle?
>> >>
>> >>
>> >> 4) I fixed the examples in my blog post. Should I also change the
>> >> --robundle option description to say "Output bundle as .robundle"
>> >> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>> >> option.)
>> >>
>> >> Thanks for the feedback and the correct link to the example!
>> >>
>> >> Have a nice weekend.
>> >>
>> >> Gale
>> >>
>> >>
>> >>
>> >> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Hi Gale,
>> >> > Use this link
>> >> >
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >
>> >> > Cheers
>> >> > Menaka
>> >> >
>> >> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >
>> >> >> Hi Menaka,
>> >> >>
>> >> >> Thank you for the feedback and clarifying information. Sorry not to
>> >> respond
>> >> >> sooner. I am learning about bundles, etc. and reading the link you
>> sent.
>> >> >>
>> >> >> One thing, I'm having trouble getting to the example in the Examples
>> of
>> >> Use
>> >> >> Section: "Example in full is at
>> org.apache.taverna.robundle.TestExample"
>> >> >>
>> >> >> Can you help me? This is what I've done so far:
>> >> >>
>> >> >> - Clicking on the link gets me the "This is not the web page you are
>> >> >> looking
>> >> >> for" page. (This is the actual link address:
>> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >> )
>> >> >>
>> >> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
>> work
>> >> for
>> >> >> me. I didn't think it would, but I tried anyway.
>> >> >>
>> >> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>> >> page
>> >> >> yields no results.
>> >> >>
>> >> >> I will continue to read and understand the RO Bundle API page, but I
>> >> would
>> >> >> like to see the full Test Example, if possible.
>> >> >>
>> >> >> Thanks!
>> >> >>
>> >> >> Gale
>> >> >>
>> >> >>
>> >> >> -----Original Message-----
>> >> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >> To: dev@taverna.incubator.apache.org
>> >> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>> >> >>
>> >> >> That's cool.....!! :-)
>> >> >> Correction:
>> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >>
>> >> >> > Example 2: Simple conversion, multiple input files, no options
>> >> >> >
>> >> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>> >> >> >
>> >> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>> >> >> > *.robundle* format and saves the output files to the */converted*
>> >> >> > folder in the current working directory.
>> >> >> >
>> >> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>> >> format.
>> >> >> Its only for some specific bundle formats. Go through this doc for
>> more
>> >> >> info.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >>
>> >> >> cheers.
>> >> >>
>> >> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >>
>> >> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
>> blog
>> >> >> > posts to use the <pre> tag, and it looks great. I also made a few
>> >> >> > refinements.
>> >> >> >
>> >> >> > Thanks,
>> >> >> > Gale
>> >> >> >
>> >> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> >> > <me...@gmail.com> wrote:
>> >> >> > > Thank you very much Gale,
>> >> >> > >
>> >> >> > > I showed the output-format without brackets to indicate it is
>> >> >> > >> required and not optional because it appears to be always
>> necessary
>> >> >> > >
>> >> >> > >
>> >> >> > > That would be more accurate I think. I'm very new for
>> documentation.
>> >> >> > Thank
>> >> >> > > you very much.
>> >> >> > >
>> >> >> > > I left the -json output file type as having a single dash, but
>> all
>> >> >> > >> the other output types have double-dashes. Should I change the
>> json
>> >> >> > >> output argument to --json?
>> >> >> > >>
>> >> >> > > -json should be --json. In my email that was a mistake. So you
>> can
>> >> >> > > use
>> >> >> > --.
>> >> >> > >
>> >> >> > > (Wordpress is driving me crazy because it is showing the
>> >> >> > > double-dashes
>> >> >> > >> as long single dashes, even when I use the monospace
>> font-family.
>> >> >> > >> Any
>> >> >> > >> suggestions?)
>> >> >> > >>
>> >> >> > >
>> >> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>> preformatted.
>> >> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >> >> > >
>> >> >> >
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> > age-command-line-conversion-documentation/
>> >> >> > >
>> >> >> > > Thank you very much.
>> >> >> > > Menaka
>> >> >> > >
>> >> >> > > I'll go through your documentations.
>> >> >> > >
>> >> >> > >
>> >> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> galen@noventussolutions.com>
>> >> >> > wrote:
>> >> >> > >
>> >> >> > >> Hi Menaka,
>> >> >> > >>
>> >> >> > >> Thanks for updating your blog! I have some additional feedback
>> in
>> >> >> > >> the form of two blog posts. One has a detailed description (as I
>> >> >> > >> understand it) of the convert command and one has several
>> examples,
>> >> >> > >> building on the examples in your blog. I hope these will help
>> the
>> >> >> > >> discussion of the command structure. Here are the links:
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> >
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> > mmand-line-convert-command/
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> >
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> > mmand-line-convert-examples/
>> >> >> > >>
>> >> >> > >> Some things to note:
>> >> >> > >>
>> >> >> > >> (1) l basically used your June 18th post, but a few things (like
>> >> >> > >> the validate command) are from earlier posts/emails.
>> >> >> > >>
>> >> >> > >> (2) I showed the output-format without brackets to indicate it
>> is
>> >> >> > >> required and not optional because it appears to be always
>> >> necessary.
>> >> >> > >>
>> >> >> > >> (3) The way I understand the overall command structure, it
>> seemed
>> >> >> > >> that all options (e.g., the output file directory) should come
>> >> >> > >> before the input-file-list, so that's what I assumed.
>> >> >> > >>
>> >> >> > >> (4) I left the -json output file type as having a single dash,
>> but
>> >> >> > >> all the other output types have double-dashes. Should I change
>> the
>> >> >> > >> json output argument to --json?
>> >> >> > >>
>> >> >> > >> Please let me know if anything is incorrect and I will change
>> it. I
>> >> >> > >> realize the command structure is fluid, and I'm happy to make
>> any
>> >> >> > >> changes as things evolve.
>> >> >> > >>
>> >> >> > >> (Wordpress is driving me crazy because it is showing the
>> >> >> > >> double-dashes as long single dashes, even when I use the
>> monospace
>> >> >> > >> font-family. Any
>> >> >> > >> suggestions?)
>> >> >> > >>
>> >> >> > >> Thanks,
>> >> >> > >>
>> >> >> > >> Gale
>> >> >> > >>
>> >> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> >> > >> <me...@gmail.com> wrote:
>> >> >> > >> > Hi Gale,
>> >> >> > >> >
>> >> >> > >> > Thank you very much.
>> >> >> > >> >
>> >> >> > >> > . Can you help me
>> >> >> > >> >> understand what you mean when you say the files will get
>> saved
>> >> >> > >> >> to the C directory?
>> >> >> > >> >
>> >> >> > >> > That was a mistake :-). I updated the blog. That should be
>> >> >> > >> > corrected
>> >> >> > as
>> >> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> >> > >> > *Convert
>> >> >> > the
>> >> >> > >> > files and save them in the …/toConvert/converted/ directory.
>> >> >> > >> >
>> >> >> > >> > I would appreciate more feedback, modifications etc. So with
>> the
>> >> >> > >> > help
>> >> >> > of
>> >> >> > >> > the community we could come up with a much better structure.
>> >> >> > >> > Cheers
>> >> >> > >> > Menaka
>> >> >> > >> >
>> >> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >> > >> > <ga...@noventussolutions.com>
>> >> >> > >> wrote:
>> >> >> > >> >
>> >> >> > >> >> Hi Menaka,
>> >> >> > >> >>
>> >> >> > >> >> I am very happy to help, and I understand the command
>> structure
>> >> >> > >> >> is a little fluid right now. Thank you for the blog post; it
>> was
>> >> >> > >> >> very helpful.
>> >> >> > >> >>
>> >> >> > >> >> I am a little confused about your recursive example. Can you
>> >> >> > >> >> help me understand what you mean when you say the files will
>> get
>> >> >> > >> >> saved to the C directory? Because you show the output being
>> >> saved
>> >> >> > >> >> to:
>> >> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> >> > >> >>
>> >> >> > >> >> This is the example:
>> >> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> >> > >> >> Convert the files and save them in the C directory.
>> >> >> > >> >>
>> >> >> > >> >> Thank you!
>> >> >> > >> >>
>> >> >> > >> >> Gale
>> >> >> > >> >>
>> >> >> > >> >> B
>> >> >> > >> >>
>> >> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> >> > >> >> <me...@gmail.com> wrote:
>> >> >> > >> >> > Hi Gale,
>> >> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>> >> >> > >> >> >
>> >> >> > >> >> > 1) Is this still the basic structure of the command:
>> tavlang
>> >> >> > convert
>> >> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>> >> >> > >> >> >> thinking
>> >> >> > that
>> >> >> > >> the
>> >> >> > >> >> >> output formats are handled as options?
>> >> >> > >> >> >
>> >> >> > >> >> >
>> >> >> > >> >> > Yes there is a little difference in the structure of
>> commands
>> >> >> > >> >> > now
>> >> >> > and
>> >> >> > >> >> then.
>> >> >> > >> >> > So for the moment the command structure is like this.
>> >> >> > >> >> >
>> >> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>> >> >> > >> >> >
>> >> >> > >> >> >
>> >> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>> >> >> > >> >> circumstances?
>> >> >> > >> >> >
>> >> >> > >> >> > No. In recursive case the input will be a directory
>> containing
>> >> >> > >> .t2flow of
>> >> >> > >> >> > .wfbundle files. The output dir is optional for both
>> recursive
>> >> >> > >> >> > and
>> >> >> > non
>> >> >> > >> >> > recursive cases.
>> >> >> > >> >> >
>> >> >> > >> >> > I created a blog about the conversion command.
>> >> >> > >> >> >
>> >> >> > >> >>
>> >> >> > >>
>> >> >> >
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> > age-command-line-conversion-documentation/
>> >> >> > >> >> >
>> >> >> > >> >> > If you have some suggestions, please inform.
>> >> >> > >> >> >
>> >> >> > >> >> > Thank you very much!
>> >> >> > >> >> >
>> >> >> > >> >> > Regards
>> >> >> > >> >> > Menaka
>> >> >> > >> >> >
>> >> >> > >> >> > --
>> >> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University
>> >> >> > >> >> > of Peradeniyaya.
>> >> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> > >> >>
>> >> >> > >> >
>> >> >> > >> >
>> >> >> > >> >
>> >> >> > >> > --
>> >> >> > >> > Menaka Madushanka Jayawardena
>> >> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of
>> >> >> > >> > Peradeniyaya.
>> >> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> > >>
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > > --
>> >> >> > > Menaka Madushanka Jayawardena
>> >> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> >> > > Peradeniyaya.
>> >> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Menaka Madushanka Jayawardena
>> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> >> Peradeniyaya.
>> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>>
>>
>> --
>> Stian Soiland-Reyes
>> Apache Taverna (incubating), Apache Commons RDF (incubating)
>> http://orcid.org/0000-0001-9842-9718
>>
--
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Stian,
Yes, when I get home from vacation (July 10-11), I will look at this
information more carefully and have a go at adding it to the website. I
will let you know if I have any questions.
Thank you,
Gale
On Jul 2, 2015 4:52 PM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
> Hi, Gale, thanks for your effort on documenting tavlang - as it's
> being developed!
>
> Do you think you could have a go at adding this to the website in
> MarkDown/HTML format..? See
>
>
> https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
> which is the source for
> http://taverna.incubator.apache.org/documentation/scufl2/
>
> (perhaps /scufl2 in the URL should be renamed to /language ?)
>
>
>
>
>
> .wfbundle workflows is a kind of earlier form of RO Bundle, but
> predates their formal specification and does not use the
> taverna-robundle API. So they were meant to be updated to also be full
> RO Bundles - basically having a JSON manifest instead/in addition to
> the XML one. So it should at some point be possible to convert them.
> Perhaps a prototype converter could just copy over the files
> internally between the UCFPackage and the Bundle and thus update the
> new manifest?
>
>
>
> The code that does the wfbundle writing:
>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
> and reading:
>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
>
> So this relies on the UCF support from:
>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
> .. which is basically a proxy for manipulating a ZIP file and its manifest.
>
>
> But this should ideally be updated to use the RO Bundle API from:
>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>
>
> and thus have proper support for linking the annotation/ files to
> their corresponding workflow elements, rather than having to parse
> them all to find the right one.
>
> as the UCFPackage types are used throughout the wfbundle writer
> changing this would take a bit of effort.. or just wrapping it from
> UCFPackage. Here's an earlier attempt:
>
>
> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>
> (Note: That branch has test errors)
>
>
> As you see it calls the writeAsODFManifest(); which writes out the
> classic META-INF/manifest.xml for backwards compatibility. This is
> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
> what you are doing"):
> https://w3id.org/bundle#manifest-xml
>
> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
> > Hi Gale,
> > I'm really appreciate your feedback on my blogs. I'm very new and there
> > could be some flows. Thank you very much for showing them. :-)
> >
> > 1) Yes, the types of bundle formats that can be converted are listed in
> > this blog.
> >
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> > The bundles are not workflows.
> >
> > 2) No. It seems like the way I have wrote it somewhat misleading.....
> > Actually scufl2 workflows are not Bundles. Those are two different APIs.
> > I'll update the blog. :-)
> >
> > 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
> > robundle.
> >
> > 4). Yes Gale. That modification should be done. Other wise it looks like
> > any format could be converted into Robundle. I'll update my blog too.
> >
> > Are there any more facts that need clarification about the blogs please
> ask
> > me. :)
> >
> > Thank you very much Gale.
> > Menaka
> >
> > On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> I've been reading and learning more about research objects, and I
> >> think I understand better what is going on, but I still have some
> >> questions.
> >>
> >> 1) I am curious as to which file types *can* be converted to .robundle
> >> format? (I must have missed something because I thought .t2flow and
> >> .wfbundle were the only allowed input file types.)
> >>
> >> 2) In rereading your June 18th blog post, I see you say that the
> >> command line tool is for converting and managing workflow "bundles" as
> >> well as research object bundles. Are t2flow files "workflow bundles"
> >> or just "workflows?" Or is there not a practical difference?
> >>
> >> 3) I understand now that not all file format conversions are valid.
> >> I'm trying to understand this better. In your June 18th blog post you
> >> say:
> >>
> >> "The conversion function supports converting .t2flow and .wfbundle
> >> formats into following formats:
> >>
> >> .structure
> >>
> >> .json
> >>
> >> .iwir
> >>
> >> .wfbundle
> >>
> >> .wfdesc.ttl –> (development in progress)
> >>
> >> .robundle –> (development in progress)"
> >>
> >> To me, reading this looks like all combinations are valid.
> >>
> >> I'm wondering, can both .t2flow and .wfbundle files be converted to
> >> all file types *except* robundle?
> >>
> >>
> >> 4) I fixed the examples in my blog post. Should I also change the
> >> --robundle option description to say "Output bundle as .robundle"
> >> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> >> option.)
> >>
> >> Thanks for the feedback and the correct link to the example!
> >>
> >> Have a nice weekend.
> >>
> >> Gale
> >>
> >>
> >>
> >> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> > Use this link
> >> >
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >
> >> > Cheers
> >> > Menaka
> >> >
> >> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> Thank you for the feedback and clarifying information. Sorry not to
> >> respond
> >> >> sooner. I am learning about bundles, etc. and reading the link you
> sent.
> >> >>
> >> >> One thing, I'm having trouble getting to the example in the Examples
> of
> >> Use
> >> >> Section: "Example in full is at
> org.apache.taverna.robundle.TestExample"
> >> >>
> >> >> Can you help me? This is what I've done so far:
> >> >>
> >> >> - Clicking on the link gets me the "This is not the web page you are
> >> >> looking
> >> >> for" page. (This is the actual link address:
> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> )
> >> >>
> >> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
> work
> >> for
> >> >> me. I didn't think it would, but I tried anyway.
> >> >>
> >> >> - Searching for "taverna robundle TestExample" on the main Apache.com
> >> page
> >> >> yields no results.
> >> >>
> >> >> I will continue to read and understand the RO Bundle API page, but I
> >> would
> >> >> like to see the full Test Example, if possible.
> >> >>
> >> >> Thanks!
> >> >>
> >> >> Gale
> >> >>
> >> >>
> >> >> -----Original Message-----
> >> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> To: dev@taverna.incubator.apache.org
> >> >> Subject: Re: Taverna Language Command Line tool - convert command doc
> >> >>
> >> >> That's cool.....!! :-)
> >> >> Correction:
> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >>
> >> >> > Example 2: Simple conversion, multiple input files, no options
> >> >> >
> >> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
> >> >> >
> >> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> >> >> > *.robundle* format and saves the output files to the */converted*
> >> >> > folder in the current working directory.
> >> >> >
> >> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
> >> format.
> >> >> Its only for some specific bundle formats. Go through this doc for
> more
> >> >> info.
> >> >>
> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >>
> >> >> cheers.
> >> >>
> >> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >>
> >> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
> blog
> >> >> > posts to use the <pre> tag, and it looks great. I also made a few
> >> >> > refinements.
> >> >> >
> >> >> > Thanks,
> >> >> > Gale
> >> >> >
> >> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >> > <me...@gmail.com> wrote:
> >> >> > > Thank you very much Gale,
> >> >> > >
> >> >> > > I showed the output-format without brackets to indicate it is
> >> >> > >> required and not optional because it appears to be always
> necessary
> >> >> > >
> >> >> > >
> >> >> > > That would be more accurate I think. I'm very new for
> documentation.
> >> >> > Thank
> >> >> > > you very much.
> >> >> > >
> >> >> > > I left the -json output file type as having a single dash, but
> all
> >> >> > >> the other output types have double-dashes. Should I change the
> json
> >> >> > >> output argument to --json?
> >> >> > >>
> >> >> > > -json should be --json. In my email that was a mistake. So you
> can
> >> >> > > use
> >> >> > --.
> >> >> > >
> >> >> > > (Wordpress is driving me crazy because it is showing the
> >> >> > > double-dashes
> >> >> > >> as long single dashes, even when I use the monospace
> font-family.
> >> >> > >> Any
> >> >> > >> suggestions?)
> >> >> > >>
> >> >> > >
> >> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> preformatted.
> >> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >> >> > >
> >> >> >
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> > age-command-line-conversion-documentation/
> >> >> > >
> >> >> > > Thank you very much.
> >> >> > > Menaka
> >> >> > >
> >> >> > > I'll go through your documentations.
> >> >> > >
> >> >> > >
> >> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> galen@noventussolutions.com>
> >> >> > wrote:
> >> >> > >
> >> >> > >> Hi Menaka,
> >> >> > >>
> >> >> > >> Thanks for updating your blog! I have some additional feedback
> in
> >> >> > >> the form of two blog posts. One has a detailed description (as I
> >> >> > >> understand it) of the convert command and one has several
> examples,
> >> >> > >> building on the examples in your blog. I hope these will help
> the
> >> >> > >> discussion of the command structure. Here are the links:
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> >
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> > mmand-line-convert-command/
> >> >> > >>
> >> >> > >>
> >> >> > >>
> >> >> >
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> > mmand-line-convert-examples/
> >> >> > >>
> >> >> > >> Some things to note:
> >> >> > >>
> >> >> > >> (1) l basically used your June 18th post, but a few things (like
> >> >> > >> the validate command) are from earlier posts/emails.
> >> >> > >>
> >> >> > >> (2) I showed the output-format without brackets to indicate it
> is
> >> >> > >> required and not optional because it appears to be always
> >> necessary.
> >> >> > >>
> >> >> > >> (3) The way I understand the overall command structure, it
> seemed
> >> >> > >> that all options (e.g., the output file directory) should come
> >> >> > >> before the input-file-list, so that's what I assumed.
> >> >> > >>
> >> >> > >> (4) I left the -json output file type as having a single dash,
> but
> >> >> > >> all the other output types have double-dashes. Should I change
> the
> >> >> > >> json output argument to --json?
> >> >> > >>
> >> >> > >> Please let me know if anything is incorrect and I will change
> it. I
> >> >> > >> realize the command structure is fluid, and I'm happy to make
> any
> >> >> > >> changes as things evolve.
> >> >> > >>
> >> >> > >> (Wordpress is driving me crazy because it is showing the
> >> >> > >> double-dashes as long single dashes, even when I use the
> monospace
> >> >> > >> font-family. Any
> >> >> > >> suggestions?)
> >> >> > >>
> >> >> > >> Thanks,
> >> >> > >>
> >> >> > >> Gale
> >> >> > >>
> >> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> >> > >> <me...@gmail.com> wrote:
> >> >> > >> > Hi Gale,
> >> >> > >> >
> >> >> > >> > Thank you very much.
> >> >> > >> >
> >> >> > >> > . Can you help me
> >> >> > >> >> understand what you mean when you say the files will get
> saved
> >> >> > >> >> to the C directory?
> >> >> > >> >
> >> >> > >> > That was a mistake :-). I updated the blog. That should be
> >> >> > >> > corrected
> >> >> > as
> >> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >> > >> > *Convert
> >> >> > the
> >> >> > >> > files and save them in the …/toConvert/converted/ directory.
> >> >> > >> >
> >> >> > >> > I would appreciate more feedback, modifications etc. So with
> the
> >> >> > >> > help
> >> >> > of
> >> >> > >> > the community we could come up with a much better structure.
> >> >> > >> > Cheers
> >> >> > >> > Menaka
> >> >> > >> >
> >> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> > >> > <ga...@noventussolutions.com>
> >> >> > >> wrote:
> >> >> > >> >
> >> >> > >> >> Hi Menaka,
> >> >> > >> >>
> >> >> > >> >> I am very happy to help, and I understand the command
> structure
> >> >> > >> >> is a little fluid right now. Thank you for the blog post; it
> was
> >> >> > >> >> very helpful.
> >> >> > >> >>
> >> >> > >> >> I am a little confused about your recursive example. Can you
> >> >> > >> >> help me understand what you mean when you say the files will
> get
> >> >> > >> >> saved to the C directory? Because you show the output being
> >> saved
> >> >> > >> >> to:
> >> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >> > >> >>
> >> >> > >> >> This is the example:
> >> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >> > >> >> Convert the files and save them in the C directory.
> >> >> > >> >>
> >> >> > >> >> Thank you!
> >> >> > >> >>
> >> >> > >> >> Gale
> >> >> > >> >>
> >> >> > >> >> B
> >> >> > >> >>
> >> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >> > >> >> <me...@gmail.com> wrote:
> >> >> > >> >> > Hi Gale,
> >> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
> >> >> > >> >> >
> >> >> > >> >> > 1) Is this still the basic structure of the command:
> tavlang
> >> >> > convert
> >> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
> >> >> > >> >> >> thinking
> >> >> > that
> >> >> > >> the
> >> >> > >> >> >> output formats are handled as options?
> >> >> > >> >> >
> >> >> > >> >> >
> >> >> > >> >> > Yes there is a little difference in the structure of
> commands
> >> >> > >> >> > now
> >> >> > and
> >> >> > >> >> then.
> >> >> > >> >> > So for the moment the command structure is like this.
> >> >> > >> >> >
> >> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
> >> >> > >> >> >
> >> >> > >> >> >
> >> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
> >> >> > >> >> circumstances?
> >> >> > >> >> >
> >> >> > >> >> > No. In recursive case the input will be a directory
> containing
> >> >> > >> .t2flow of
> >> >> > >> >> > .wfbundle files. The output dir is optional for both
> recursive
> >> >> > >> >> > and
> >> >> > non
> >> >> > >> >> > recursive cases.
> >> >> > >> >> >
> >> >> > >> >> > I created a blog about the conversion command.
> >> >> > >> >> >
> >> >> > >> >>
> >> >> > >>
> >> >> >
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> > age-command-line-conversion-documentation/
> >> >> > >> >> >
> >> >> > >> >> > If you have some suggestions, please inform.
> >> >> > >> >> >
> >> >> > >> >> > Thank you very much!
> >> >> > >> >> >
> >> >> > >> >> > Regards
> >> >> > >> >> > Menaka
> >> >> > >> >> >
> >> >> > >> >> > --
> >> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University
> >> >> > >> >> > of Peradeniyaya.
> >> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> > >> >>
> >> >> > >> >
> >> >> > >> >
> >> >> > >> >
> >> >> > >> > --
> >> >> > >> > Menaka Madushanka Jayawardena
> >> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of
> >> >> > >> > Peradeniyaya.
> >> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> > >>
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > --
> >> >> > > Menaka Madushanka Jayawardena
> >> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> >> > > Peradeniyaya.
> >> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Menaka Madushanka Jayawardena
> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> >> Peradeniyaya.
> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
>
Re: Taverna Language Command Line tool - convert command doc
Posted by Ian Dunlop <ia...@manchester.ac.uk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
It's usually a good idea to create an issue just so we don't forget
what we were trying to do in the first place. Also allows an easier to
follow conversation if we use the comments feature in JIRA, keeps it
in one place rather than having to search for emails etc
Now, this is my view, anyone prefer using the list for comments on
issues?.
Cheers,
Ian
On 28/07/2015 20:25, Gale Naylor wrote:
> Hi Stian,
>
> Does it make sense to turn this into a JIRA issue?
>
> Gale
>
> On Thu, Jul 2, 2015 at 7:51 AM, Stian Soiland-Reyes
> <st...@apache.org> wrote:
>> Hi, Gale, thanks for your effort on documenting tavlang - as
>> it's being developed!
>>
>> Do you think you could have a go at adding this to the website
>> in MarkDown/HTML format..? See
>>
>> https://github.com/apache/incubator-taverna-site/tree/trunk/content/d
ocumentation/scufl2
>>
>>
which is the source for
>> http://taverna.incubator.apache.org/documentation/scufl2/
>>
>> (perhaps /scufl2 in the URL should be renamed to /language ?)
>>
>>
>>
>>
>>
>> .wfbundle workflows is a kind of earlier form of RO Bundle, but
>> predates their formal specification and does not use the
>> taverna-robundle API. So they were meant to be updated to also be
>> full RO Bundles - basically having a JSON manifest instead/in
>> addition to the XML one. So it should at some point be possible
>> to convert them. Perhaps a prototype converter could just copy
>> over the files internally between the UCFPackage and the Bundle
>> and thus update the new manifest?
>>
>>
>>
>> The code that does the wfbundle writing:
>> https://github.com/apache/incubator-taverna-language/blob/master/tave
rna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXM
LWriter.java
>>
>>
and reading:
>> https://github.com/apache/incubator-taverna-language/blob/master/tave
rna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXM
LReader.java
>>
>>
>>
So this relies on the UCF support from:
>> https://github.com/apache/incubator-taverna-language/blob/master/tave
rna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage
/UCFPackage.java
>>
>>
.. which is basically a proxy for manipulating a ZIP file and its manife
st.
>>
>>
>> But this should ideally be updated to use the RO Bundle API
>> from:
>> https://github.com/apache/incubator-taverna-language/tree/master/tave
rna-robundle
>>
>>
>>
>>
and thus have proper support for linking the annotation/ files to
>> their corresponding workflow elements, rather than having to
>> parse them all to find the right one.
>>
>> as the UCFPackage types are used throughout the wfbundle writer
>> changing this would take a bit of effort.. or just wrapping it
>> from UCFPackage. Here's an earlier attempt:
>>
>> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-
robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scuf
l2/ucfpackage/UCFPackage.java
>>
>>
>>
(Note: That branch has test errors)
>>
>>
>> As you see it calls the writeAsODFManifest(); which writes out
>> the classic META-INF/manifest.xml for backwards compatibility.
>> This is permitted by our spec - but violating a NOT RECOMMENDED
>> ("e.g. Know what you are doing"):
>> https://w3id.org/bundle#manifest-xml
>>
>> On 26 June 2015 at 19:54, Menaka Madushanka
>> <me...@gmail.com> wrote:
>>> Hi Gale, I'm really appreciate your feedback on my blogs. I'm
>>> very new and there could be some flows. Thank you very much for
>>> showing them. :-)
>>>
>>> 1) Yes, the types of bundle formats that can be converted are
>>> listed in this blog.
>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-c
ommand-line-tool-conversion-documentation-research-objects/
>>>
>>>
The bundles are not workflows.
>>>
>>> 2) No. It seems like the way I have wrote it somewhat
>>> misleading..... Actually scufl2 workflows are not Bundles.
>>> Those are two different APIs. I'll update the blog. :-)
>>>
>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>>> converted into robundle.
>>>
>>> 4). Yes Gale. That modification should be done. Other wise it
>>> looks like any format could be converted into Robundle. I'll
>>> update my blog too.
>>>
>>> Are there any more facts that need clarification about the
>>> blogs please ask me. :)
>>>
>>> Thank you very much Gale. Menaka
>>>
>>> On 27 June 2015 at 00:00, Gale Naylor
>>> <ga...@noventussolutions.com> wrote:
>>>
>>>> Hi Menaka,
>>>>
>>>> I've been reading and learning more about research objects,
>>>> and I think I understand better what is going on, but I still
>>>> have some questions.
>>>>
>>>> 1) I am curious as to which file types *can* be converted to
>>>> .robundle format? (I must have missed something because I
>>>> thought .t2flow and .wfbundle were the only allowed input
>>>> file types.)
>>>>
>>>> 2) In rereading your June 18th blog post, I see you say that
>>>> the command line tool is for converting and managing workflow
>>>> "bundles" as well as research object bundles. Are t2flow
>>>> files "workflow bundles" or just "workflows?" Or is there not
>>>> a practical difference?
>>>>
>>>> 3) I understand now that not all file format conversions are
>>>> valid. I'm trying to understand this better. In your June
>>>> 18th blog post you say:
>>>>
>>>> "The conversion function supports converting .t2flow and
>>>> .wfbundle formats into following formats:
>>>>
>>>> .structure
>>>>
>>>> .json
>>>>
>>>> .iwir
>>>>
>>>> .wfbundle
>>>>
>>>> .wfdesc.ttl –> (development in progress)
>>>>
>>>> .robundle –> (development in progress)"
>>>>
>>>> To me, reading this looks like all combinations are valid.
>>>>
>>>> I'm wondering, can both .t2flow and .wfbundle files be
>>>> converted to all file types *except* robundle?
>>>>
>>>>
>>>> 4) I fixed the examples in my blog post. Should I also
>>>> change the --robundle option description to say "Output
>>>> bundle as .robundle" instead of "Output workflow as
>>>> .robundle" ? (Same for .wfbundle option.)
>>>>
>>>> Thanks for the feedback and the correct link to the example!
>>>>
>>>> Have a nice weekend.
>>>>
>>>> Gale
>>>>
>>>>
>>>>
>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>> <me...@gmail.com> wrote:
>>>>> Hi Gale, Use this link
>>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.jav
a
>>>>>
>>>>>
>>>>
Cheers
>>>>> Menaka
>>>>>
>>>>> On 25 June 2015 at 05:34, Gale Naylor
>>>>> <ga...@noventussolutions.com>
>>>> wrote:
>>>>>
>>>>>> Hi Menaka,
>>>>>>
>>>>>> Thank you for the feedback and clarifying information.
>>>>>> Sorry not to
>>>> respond
>>>>>> sooner. I am learning about bundles, etc. and reading the
>>>>>> link you sent.
>>>>>>
>>>>>> One thing, I'm having trouble getting to the example in
>>>>>> the Examples of
>>>> Use
>>>>>> Section: "Example in full is at
>>>>>> org.apache.taverna.robundle.TestExample"
>>>>>>
>>>>>> Can you help me? This is what I've done so far:
>>>>>>
>>>>>> - Clicking on the link gets me the "This is not the web
>>>>>> page you are looking for" page. (This is the actual link
>>>>>> address:
>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/ta
verna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>>>
>>>>
)
>>>>>>
>>>>>> - Entering "org.apache.taverna.robundle.TestExample" also
>>>>>> doesn't work
>>>> for
>>>>>> me. I didn't think it would, but I tried anyway.
>>>>>>
>>>>>> - Searching for "taverna robundle TestExample" on the
>>>>>> main Apache.com
>>>> page
>>>>>> yields no results.
>>>>>>
>>>>>> I will continue to read and understand the RO Bundle API
>>>>>> page, but I
>>>> would
>>>>>> like to see the full Test Example, if possible.
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> Gale
>>>>>>
>>>>>>
>>>>>> -----Original Message----- From: Menaka Madushanka
>>>>>> [mailto:menaka12350@gmail.com] Sent: Saturday, June 20,
>>>>>> 2015 11:09 AM To: dev@taverna.incubator.apache.org
>>>>>> Subject: Re: Taverna Language Command Line tool - convert
>>>>>> command doc
>>>>>>
>>>>>> That's cool.....!! :-) Correction:
>>>>>>
>>>>>>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language
- -command-line-convert-examples/
>>>>>>
>>>>>>>
>>>>
Example 2: Simple conversion, multiple input files, no options
>>>>>>>
>>>>>>> $tavlang convert –-robundle /someFile1.wfbundle
>>>>>>> /someFile2.wfbundle
>>>>>>>
>>>>>>> Converts */someFile1.wfbundle* and
>>>>>>> */someFile2.wfbundle* into *.robundle* format and saves
>>>>>>> the output files to the */converted* folder in the
>>>>>>> current working directory.
>>>>>>>
>>>>>> Taverna language *cannot* convert .wfbundles/.t2flow into
>>>>>> robundle
>>>> format.
>>>>>> Its only for some specific bundle formats. Go through
>>>>>> this doc for more info.
>>>>>>
>>>>>>
>>>>>>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/ta
verna-robundle
>>>>>>
>>>>>>
>>>>
cheers.
>>>>>>
>>>>>> On 20 June 2015 at 22:43, Gale Naylor
>>>>>> <ga...@noventussolutions.com>
>>>> wrote:
>>>>>>
>>>>>>> Thank you for the Wordpress tip, Menaka! I have changed
>>>>>>> the two blog posts to use the <pre> tag, and it looks
>>>>>>> great. I also made a few refinements.
>>>>>>>
>>>>>>> Thanks, Gale
>>>>>>>
>>>>>>> On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>>>>>> <me...@gmail.com> wrote:
>>>>>>>> Thank you very much Gale,
>>>>>>>>
>>>>>>>> I showed the output-format without brackets to
>>>>>>>> indicate it is
>>>>>>>>> required and not optional because it appears to be
>>>>>>>>> always necessary
>>>>>>>>
>>>>>>>>
>>>>>>>> That would be more accurate I think. I'm very new for
>>>>>>>> documentation.
>>>>>>> Thank
>>>>>>>> you very much.
>>>>>>>>
>>>>>>>> I left the -json output file type as having a single
>>>>>>>> dash, but all
>>>>>>>>> the other output types have double-dashes. Should I
>>>>>>>>> change the json output argument to --json?
>>>>>>>>>
>>>>>>>> -json should be --json. In my email that was a
>>>>>>>> mistake. So you can use
>>>>>>> --.
>>>>>>>>
>>>>>>>> (Wordpress is driving me crazy because it is showing
>>>>>>>> the double-dashes
>>>>>>>>> as long single dashes, even when I use the
>>>>>>>>> monospace font-family. Any suggestions?)
>>>>>>>>>
>>>>>>>>
>>>>>>>> Yes, wordpress does what it wants, but not us. :-)
>>>>>>>> Use preformatted. Not paragraph. Then it would be ok.
>>>>>>>> I updated my blog.
>>>>>>>>
>>>>>>>
>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-la
ngu
>>>>>>>
>>>>
age-command-line-conversion-documentation/
>>>>>>>>
>>>>>>>> Thank you very much. Menaka
>>>>>>>>
>>>>>>>> I'll go through your documentations.
>>>>>>>>
>>>>>>>>
>>>>>>>> On 20 June 2015 at 03:43, Gale Naylor
>>>>>>>> <ga...@noventussolutions.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Menaka,
>>>>>>>>>
>>>>>>>>> Thanks for updating your blog! I have some
>>>>>>>>> additional feedback in the form of two blog posts.
>>>>>>>>> One has a detailed description (as I understand it)
>>>>>>>>> of the convert command and one has several
>>>>>>>>> examples, building on the examples in your blog. I
>>>>>>>>> hope these will help the discussion of the command
>>>>>>>>> structure. Here are the links:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language
- -co
>>>>>>>
>>>>
mmand-line-convert-command/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language
- -co
>>>>>>>
>>>>
mmand-line-convert-examples/
>>>>>>>>>
>>>>>>>>> Some things to note:
>>>>>>>>>
>>>>>>>>> (1) l basically used your June 18th post, but a few
>>>>>>>>> things (like the validate command) are from earlier
>>>>>>>>> posts/emails.
>>>>>>>>>
>>>>>>>>> (2) I showed the output-format without brackets to
>>>>>>>>> indicate it is required and not optional because it
>>>>>>>>> appears to be always
>>>> necessary.
>>>>>>>>>
>>>>>>>>> (3) The way I understand the overall command
>>>>>>>>> structure, it seemed that all options (e.g., the
>>>>>>>>> output file directory) should come before the
>>>>>>>>> input-file-list, so that's what I assumed.
>>>>>>>>>
>>>>>>>>> (4) I left the -json output file type as having a
>>>>>>>>> single dash, but all the other output types have
>>>>>>>>> double-dashes. Should I change the json output
>>>>>>>>> argument to --json?
>>>>>>>>>
>>>>>>>>> Please let me know if anything is incorrect and I
>>>>>>>>> will change it. I realize the command structure is
>>>>>>>>> fluid, and I'm happy to make any changes as things
>>>>>>>>> evolve.
>>>>>>>>>
>>>>>>>>> (Wordpress is driving me crazy because it is
>>>>>>>>> showing the double-dashes as long single dashes,
>>>>>>>>> even when I use the monospace font-family. Any
>>>>>>>>> suggestions?)
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Gale
>>>>>>>>>
>>>>>>>>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>> Hi Gale,
>>>>>>>>>>
>>>>>>>>>> Thank you very much.
>>>>>>>>>>
>>>>>>>>>> . Can you help me
>>>>>>>>>>> understand what you mean when you say the files
>>>>>>>>>>> will get saved to the C directory?
>>>>>>>>>>
>>>>>>>>>> That was a mistake :-). I updated the blog. That
>>>>>>>>>> should be corrected
>>>>>>> as
>>>>>>>>>> *$tavlang convert –json -r -i
>>>>>>>>>> /home/usrname/toConvert/ –> *Convert
>>>>>>> the
>>>>>>>>>> files and save them in the …/toConvert/converted/
>>>>>>>>>> directory.
>>>>>>>>>>
>>>>>>>>>> I would appreciate more feedback, modifications
>>>>>>>>>> etc. So with the help
>>>>>>> of
>>>>>>>>>> the community we could come up with a much better
>>>>>>>>>> structure. Cheers Menaka
>>>>>>>>>>
>>>>>>>>>> On 19 June 2015 at 22:32, Gale Naylor
>>>>>>>>>> <ga...@noventussolutions.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Menaka,
>>>>>>>>>>>
>>>>>>>>>>> I am very happy to help, and I understand the
>>>>>>>>>>> command structure is a little fluid right now.
>>>>>>>>>>> Thank you for the blog post; it was very
>>>>>>>>>>> helpful.
>>>>>>>>>>>
>>>>>>>>>>> I am a little confused about your recursive
>>>>>>>>>>> example. Can you help me understand what you
>>>>>>>>>>> mean when you say the files will get saved to
>>>>>>>>>>> the C directory? Because you show the output
>>>>>>>>>>> being
>>>> saved
>>>>>>>>>>> to:
>>>>>>>>>>> /home/usrname/toConvert/converted/somefile1.json
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
This is the example:
>>>>>>>>>>> $tavlang convert –json -r -i
>>>>>>>>>>> /home/usrname/toConvert/ –> Convert the files
>>>>>>>>>>> and save them in the C directory.
>>>>>>>>>>>
>>>>>>>>>>> Thank you!
>>>>>>>>>>>
>>>>>>>>>>> Gale
>>>>>>>>>>>
>>>>>>>>>>> B
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>>>>>>>>>> Madushanka <me...@gmail.com> wrote:
>>>>>>>>>>>> Hi Gale, I extremely appreciate your help.
>>>>>>>>>>>> Thank you very much. :-)
>>>>>>>>>>>>
>>>>>>>>>>>> 1) Is this still the basic structure of the
>>>>>>>>>>>> command: tavlang
>>>>>>> convert
>>>>>>>>>>>>> [options] <output format> <input files>? Am
>>>>>>>>>>>>> I wrong in thinking
>>>>>>> that
>>>>>>>>> the
>>>>>>>>>>>>> output formats are handled as options?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Yes there is a little difference in the
>>>>>>>>>>>> structure of commands now
>>>>>>> and
>>>>>>>>>>> then.
>>>>>>>>>>>> So for the moment the command structure is
>>>>>>>>>>>> like this.
>>>>>>>>>>>>
>>>>>>>>>>>> $tavlang convert [--out-put format] [options]
>>>>>>>>>>>> [arguments]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 2) Are -r and -i ever used independently? If
>>>>>>>>>>>> so, under what
>>>>>>>>>>> circumstances?
>>>>>>>>>>>>
>>>>>>>>>>>> No. In recursive case the input will be a
>>>>>>>>>>>> directory containing
>>>>>>>>> .t2flow of
>>>>>>>>>>>> .wfbundle files. The output dir is optional
>>>>>>>>>>>> for both recursive and
>>>>>>> non
>>>>>>>>>>>> recursive cases.
>>>>>>>>>>>>
>>>>>>>>>>>> I created a blog about the conversion
>>>>>>>>>>>> command.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-la
ngu
>>>>>>>
>>>>
age-command-line-conversion-documentation/
>>>>>>>>>>>>
>>>>>>>>>>>> If you have some suggestions, please inform.
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you very much!
>>>>>>>>>>>>
>>>>>>>>>>>> Regards Menaka
>>>>>>>>>>>>
>>>>>>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>>>>>>>>>> University of Peradeniyaya. LinkedIn
>>>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>
- --
>>>>>>>>>> Menaka Madushanka Jayawardena Faculty of
>>>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng>
>>>>>>>>>> University of Peradeniyaya. LinkedIn
>>>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- Menaka Madushanka Jayawardena Faculty of
>>>>>>>> Engineering, <http://www.pdn.ac.lk/eng> University
>>>>>>>> of Peradeniyaya. LinkedIn
>>>>>>>> <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- Menaka Madushanka Jayawardena Faculty of Engineering,
>>>>>> <http://www.pdn.ac.lk/eng> University of Peradeniyaya.
>>>>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- Menaka Madushanka Jayawardena Faculty of Engineering,
>>>>> <http://www.pdn.ac.lk/eng> University of Peradeniyaya.
>>>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>
>>>
>>>
>>>
>>> -- Menaka Madushanka Jayawardena Faculty of Engineering,
>>> <http://www.pdn.ac.lk/eng> University of Peradeniyaya. LinkedIn
>>> <http://lk.linkedin.com/in/menakajayawardena>
>>
>>
>>
>> -- Stian Soiland-Reyes Apache Taverna (incubating), Apache
>> Commons RDF (incubating) http://orcid.org/0000-0001-9842-9718
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVuKT5AAoJEPK45GBX+Cy5ICUIAJwXDC/5mp+tCosqn8JfAnNQ
I4WUf+N4+/spm7TlAkyScrxXPohTXT8wqsMs6sOQThuY/ya5ruyfZ8Qz/tvuU1ls
4hu6XMrRLQdUcESpmmpYU88SAxLk3+hrJF9KVJ5nf4hXzrOEQ4kiunNM40FbsAkW
BMLJorVcSSwegnnLHqOPWFG+tkKGyrGebxR2sLHGf2llEEKuMXRnlY2VUpLHhumP
rFc7eqv/2WjLOVOWGOZ50zr7TPkVunHNbfTm1TX3q7iHeESvESDfi/h3polhyHAo
k+/cIA/ab5zVO4nsOvp5aNB+5PYpJJKUqhKYNWWmtg4CgbebvcxN5RCqTsETMTs=
=Svmc
-----END PGP SIGNATURE-----
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
I would do it, but I need clarification as to what exactly you are looking for.
Gale
On Tue, Jul 28, 2015 at 12:25 PM, Gale Naylor
<ga...@noventussolutions.com> wrote:
> Hi Stian,
>
> Does it make sense to turn this into a JIRA issue?
>
> Gale
>
> On Thu, Jul 2, 2015 at 7:51 AM, Stian Soiland-Reyes <st...@apache.org> wrote:
>> Hi, Gale, thanks for your effort on documenting tavlang - as it's
>> being developed!
>>
>> Do you think you could have a go at adding this to the website in
>> MarkDown/HTML format..? See
>>
>> https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
>> which is the source for
>> http://taverna.incubator.apache.org/documentation/scufl2/
>>
>> (perhaps /scufl2 in the URL should be renamed to /language ?)
>>
>>
>>
>>
>>
>> .wfbundle workflows is a kind of earlier form of RO Bundle, but
>> predates their formal specification and does not use the
>> taverna-robundle API. So they were meant to be updated to also be full
>> RO Bundles - basically having a JSON manifest instead/in addition to
>> the XML one. So it should at some point be possible to convert them.
>> Perhaps a prototype converter could just copy over the files
>> internally between the UCFPackage and the Bundle and thus update the
>> new manifest?
>>
>>
>>
>> The code that does the wfbundle writing:
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
>> and reading:
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
>>
>> So this relies on the UCF support from:
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>> .. which is basically a proxy for manipulating a ZIP file and its manifest.
>>
>>
>> But this should ideally be updated to use the RO Bundle API from:
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>
>>
>> and thus have proper support for linking the annotation/ files to
>> their corresponding workflow elements, rather than having to parse
>> them all to find the right one.
>>
>> as the UCFPackage types are used throughout the wfbundle writer
>> changing this would take a bit of effort.. or just wrapping it from
>> UCFPackage. Here's an earlier attempt:
>>
>> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>>
>> (Note: That branch has test errors)
>>
>>
>> As you see it calls the writeAsODFManifest(); which writes out the
>> classic META-INF/manifest.xml for backwards compatibility. This is
>> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
>> what you are doing"):
>> https://w3id.org/bundle#manifest-xml
>>
>> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
>>> Hi Gale,
>>> I'm really appreciate your feedback on my blogs. I'm very new and there
>>> could be some flows. Thank you very much for showing them. :-)
>>>
>>> 1) Yes, the types of bundle formats that can be converted are listed in
>>> this blog.
>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>> The bundles are not workflows.
>>>
>>> 2) No. It seems like the way I have wrote it somewhat misleading.....
>>> Actually scufl2 workflows are not Bundles. Those are two different APIs.
>>> I'll update the blog. :-)
>>>
>>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>>> robundle.
>>>
>>> 4). Yes Gale. That modification should be done. Other wise it looks like
>>> any format could be converted into Robundle. I'll update my blog too.
>>>
>>> Are there any more facts that need clarification about the blogs please ask
>>> me. :)
>>>
>>> Thank you very much Gale.
>>> Menaka
>>>
>>> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
>>>
>>>> Hi Menaka,
>>>>
>>>> I've been reading and learning more about research objects, and I
>>>> think I understand better what is going on, but I still have some
>>>> questions.
>>>>
>>>> 1) I am curious as to which file types *can* be converted to .robundle
>>>> format? (I must have missed something because I thought .t2flow and
>>>> .wfbundle were the only allowed input file types.)
>>>>
>>>> 2) In rereading your June 18th blog post, I see you say that the
>>>> command line tool is for converting and managing workflow "bundles" as
>>>> well as research object bundles. Are t2flow files "workflow bundles"
>>>> or just "workflows?" Or is there not a practical difference?
>>>>
>>>> 3) I understand now that not all file format conversions are valid.
>>>> I'm trying to understand this better. In your June 18th blog post you
>>>> say:
>>>>
>>>> "The conversion function supports converting .t2flow and .wfbundle
>>>> formats into following formats:
>>>>
>>>> .structure
>>>>
>>>> .json
>>>>
>>>> .iwir
>>>>
>>>> .wfbundle
>>>>
>>>> .wfdesc.ttl –> (development in progress)
>>>>
>>>> .robundle –> (development in progress)"
>>>>
>>>> To me, reading this looks like all combinations are valid.
>>>>
>>>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>>> all file types *except* robundle?
>>>>
>>>>
>>>> 4) I fixed the examples in my blog post. Should I also change the
>>>> --robundle option description to say "Output bundle as .robundle"
>>>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>>> option.)
>>>>
>>>> Thanks for the feedback and the correct link to the example!
>>>>
>>>> Have a nice weekend.
>>>>
>>>> Gale
>>>>
>>>>
>>>>
>>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>> <me...@gmail.com> wrote:
>>>> > Hi Gale,
>>>> > Use this link
>>>> >
>>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>>> >
>>>> > Cheers
>>>> > Menaka
>>>> >
>>>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>>>> wrote:
>>>> >
>>>> >> Hi Menaka,
>>>> >>
>>>> >> Thank you for the feedback and clarifying information. Sorry not to
>>>> respond
>>>> >> sooner. I am learning about bundles, etc. and reading the link you sent.
>>>> >>
>>>> >> One thing, I'm having trouble getting to the example in the Examples of
>>>> Use
>>>> >> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
>>>> >>
>>>> >> Can you help me? This is what I've done so far:
>>>> >>
>>>> >> - Clicking on the link gets me the "This is not the web page you are
>>>> >> looking
>>>> >> for" page. (This is the actual link address:
>>>> >>
>>>> >>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>> >> )
>>>> >>
>>>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
>>>> for
>>>> >> me. I didn't think it would, but I tried anyway.
>>>> >>
>>>> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>>>> page
>>>> >> yields no results.
>>>> >>
>>>> >> I will continue to read and understand the RO Bundle API page, but I
>>>> would
>>>> >> like to see the full Test Example, if possible.
>>>> >>
>>>> >> Thanks!
>>>> >>
>>>> >> Gale
>>>> >>
>>>> >>
>>>> >> -----Original Message-----
>>>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>>> >> To: dev@taverna.incubator.apache.org
>>>> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>>>> >>
>>>> >> That's cool.....!! :-)
>>>> >> Correction:
>>>> >>
>>>> >>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>>> >>
>>>> >> > Example 2: Simple conversion, multiple input files, no options
>>>> >> >
>>>> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>>>> >> >
>>>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>>> >> > *.robundle* format and saves the output files to the */converted*
>>>> >> > folder in the current working directory.
>>>> >> >
>>>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>>>> format.
>>>> >> Its only for some specific bundle formats. Go through this doc for more
>>>> >> info.
>>>> >>
>>>> >>
>>>> >>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>>> >>
>>>> >> cheers.
>>>> >>
>>>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>>>> wrote:
>>>> >>
>>>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>>>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>>>> >> > refinements.
>>>> >> >
>>>> >> > Thanks,
>>>> >> > Gale
>>>> >> >
>>>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>>> >> > <me...@gmail.com> wrote:
>>>> >> > > Thank you very much Gale,
>>>> >> > >
>>>> >> > > I showed the output-format without brackets to indicate it is
>>>> >> > >> required and not optional because it appears to be always necessary
>>>> >> > >
>>>> >> > >
>>>> >> > > That would be more accurate I think. I'm very new for documentation.
>>>> >> > Thank
>>>> >> > > you very much.
>>>> >> > >
>>>> >> > > I left the -json output file type as having a single dash, but all
>>>> >> > >> the other output types have double-dashes. Should I change the json
>>>> >> > >> output argument to --json?
>>>> >> > >>
>>>> >> > > -json should be --json. In my email that was a mistake. So you can
>>>> >> > > use
>>>> >> > --.
>>>> >> > >
>>>> >> > > (Wordpress is driving me crazy because it is showing the
>>>> >> > > double-dashes
>>>> >> > >> as long single dashes, even when I use the monospace font-family.
>>>> >> > >> Any
>>>> >> > >> suggestions?)
>>>> >> > >>
>>>> >> > >
>>>> >> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
>>>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>>> >> > >
>>>> >> >
>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>>> >> > age-command-line-conversion-documentation/
>>>> >> > >
>>>> >> > > Thank you very much.
>>>> >> > > Menaka
>>>> >> > >
>>>> >> > > I'll go through your documentations.
>>>> >> > >
>>>> >> > >
>>>> >> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
>>>> >> > wrote:
>>>> >> > >
>>>> >> > >> Hi Menaka,
>>>> >> > >>
>>>> >> > >> Thanks for updating your blog! I have some additional feedback in
>>>> >> > >> the form of two blog posts. One has a detailed description (as I
>>>> >> > >> understand it) of the convert command and one has several examples,
>>>> >> > >> building on the examples in your blog. I hope these will help the
>>>> >> > >> discussion of the command structure. Here are the links:
>>>> >> > >>
>>>> >> > >>
>>>> >> > >>
>>>> >> >
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>>> >> > mmand-line-convert-command/
>>>> >> > >>
>>>> >> > >>
>>>> >> > >>
>>>> >> >
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>>> >> > mmand-line-convert-examples/
>>>> >> > >>
>>>> >> > >> Some things to note:
>>>> >> > >>
>>>> >> > >> (1) l basically used your June 18th post, but a few things (like
>>>> >> > >> the validate command) are from earlier posts/emails.
>>>> >> > >>
>>>> >> > >> (2) I showed the output-format without brackets to indicate it is
>>>> >> > >> required and not optional because it appears to be always
>>>> necessary.
>>>> >> > >>
>>>> >> > >> (3) The way I understand the overall command structure, it seemed
>>>> >> > >> that all options (e.g., the output file directory) should come
>>>> >> > >> before the input-file-list, so that's what I assumed.
>>>> >> > >>
>>>> >> > >> (4) I left the -json output file type as having a single dash, but
>>>> >> > >> all the other output types have double-dashes. Should I change the
>>>> >> > >> json output argument to --json?
>>>> >> > >>
>>>> >> > >> Please let me know if anything is incorrect and I will change it. I
>>>> >> > >> realize the command structure is fluid, and I'm happy to make any
>>>> >> > >> changes as things evolve.
>>>> >> > >>
>>>> >> > >> (Wordpress is driving me crazy because it is showing the
>>>> >> > >> double-dashes as long single dashes, even when I use the monospace
>>>> >> > >> font-family. Any
>>>> >> > >> suggestions?)
>>>> >> > >>
>>>> >> > >> Thanks,
>>>> >> > >>
>>>> >> > >> Gale
>>>> >> > >>
>>>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>>> >> > >> <me...@gmail.com> wrote:
>>>> >> > >> > Hi Gale,
>>>> >> > >> >
>>>> >> > >> > Thank you very much.
>>>> >> > >> >
>>>> >> > >> > . Can you help me
>>>> >> > >> >> understand what you mean when you say the files will get saved
>>>> >> > >> >> to the C directory?
>>>> >> > >> >
>>>> >> > >> > That was a mistake :-). I updated the blog. That should be
>>>> >> > >> > corrected
>>>> >> > as
>>>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>>> >> > >> > *Convert
>>>> >> > the
>>>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>>>> >> > >> >
>>>> >> > >> > I would appreciate more feedback, modifications etc. So with the
>>>> >> > >> > help
>>>> >> > of
>>>> >> > >> > the community we could come up with a much better structure.
>>>> >> > >> > Cheers
>>>> >> > >> > Menaka
>>>> >> > >> >
>>>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>>> >> > >> > <ga...@noventussolutions.com>
>>>> >> > >> wrote:
>>>> >> > >> >
>>>> >> > >> >> Hi Menaka,
>>>> >> > >> >>
>>>> >> > >> >> I am very happy to help, and I understand the command structure
>>>> >> > >> >> is a little fluid right now. Thank you for the blog post; it was
>>>> >> > >> >> very helpful.
>>>> >> > >> >>
>>>> >> > >> >> I am a little confused about your recursive example. Can you
>>>> >> > >> >> help me understand what you mean when you say the files will get
>>>> >> > >> >> saved to the C directory? Because you show the output being
>>>> saved
>>>> >> > >> >> to:
>>>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>>> >> > >> >>
>>>> >> > >> >> This is the example:
>>>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>>> >> > >> >> Convert the files and save them in the C directory.
>>>> >> > >> >>
>>>> >> > >> >> Thank you!
>>>> >> > >> >>
>>>> >> > >> >> Gale
>>>> >> > >> >>
>>>> >> > >> >> B
>>>> >> > >> >>
>>>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>>> >> > >> >> <me...@gmail.com> wrote:
>>>> >> > >> >> > Hi Gale,
>>>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>>>> >> > >> >> >
>>>> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
>>>> >> > convert
>>>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>>> >> > >> >> >> thinking
>>>> >> > that
>>>> >> > >> the
>>>> >> > >> >> >> output formats are handled as options?
>>>> >> > >> >> >
>>>> >> > >> >> >
>>>> >> > >> >> > Yes there is a little difference in the structure of commands
>>>> >> > >> >> > now
>>>> >> > and
>>>> >> > >> >> then.
>>>> >> > >> >> > So for the moment the command structure is like this.
>>>> >> > >> >> >
>>>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>>>> >> > >> >> >
>>>> >> > >> >> >
>>>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>>>> >> > >> >> circumstances?
>>>> >> > >> >> >
>>>> >> > >> >> > No. In recursive case the input will be a directory containing
>>>> >> > >> .t2flow of
>>>> >> > >> >> > .wfbundle files. The output dir is optional for both recursive
>>>> >> > >> >> > and
>>>> >> > non
>>>> >> > >> >> > recursive cases.
>>>> >> > >> >> >
>>>> >> > >> >> > I created a blog about the conversion command.
>>>> >> > >> >> >
>>>> >> > >> >>
>>>> >> > >>
>>>> >> >
>>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>>> >> > age-command-line-conversion-documentation/
>>>> >> > >> >> >
>>>> >> > >> >> > If you have some suggestions, please inform.
>>>> >> > >> >> >
>>>> >> > >> >> > Thank you very much!
>>>> >> > >> >> >
>>>> >> > >> >> > Regards
>>>> >> > >> >> > Menaka
>>>> >> > >> >> >
>>>> >> > >> >> > --
>>>> >> > >> >> > Menaka Madushanka Jayawardena
>>>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>>>> >> > >> >> > of Peradeniyaya.
>>>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> > >> >>
>>>> >> > >> >
>>>> >> > >> >
>>>> >> > >> >
>>>> >> > >> > --
>>>> >> > >> > Menaka Madushanka Jayawardena
>>>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>>> >> > >> > Peradeniyaya.
>>>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> > >>
>>>> >> > >
>>>> >> > >
>>>> >> > >
>>>> >> > > --
>>>> >> > > Menaka Madushanka Jayawardena
>>>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>>> >> > > Peradeniyaya.
>>>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Menaka Madushanka Jayawardena
>>>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>>> >> Peradeniyaya.
>>>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Menaka Madushanka Jayawardena
>>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> > University of Peradeniyaya.
>>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>
>>>
>>>
>>>
>>> --
>>> Menaka Madushanka Jayawardena
>>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University of Peradeniyaya.
>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>>
>>
>> --
>> Stian Soiland-Reyes
>> Apache Taverna (incubating), Apache Commons RDF (incubating)
>> http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Stian,
Does it make sense to turn this into a JIRA issue?
Gale
On Thu, Jul 2, 2015 at 7:51 AM, Stian Soiland-Reyes <st...@apache.org> wrote:
> Hi, Gale, thanks for your effort on documenting tavlang - as it's
> being developed!
>
> Do you think you could have a go at adding this to the website in
> MarkDown/HTML format..? See
>
> https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
> which is the source for
> http://taverna.incubator.apache.org/documentation/scufl2/
>
> (perhaps /scufl2 in the URL should be renamed to /language ?)
>
>
>
>
>
> .wfbundle workflows is a kind of earlier form of RO Bundle, but
> predates their formal specification and does not use the
> taverna-robundle API. So they were meant to be updated to also be full
> RO Bundles - basically having a JSON manifest instead/in addition to
> the XML one. So it should at some point be possible to convert them.
> Perhaps a prototype converter could just copy over the files
> internally between the UCFPackage and the Bundle and thus update the
> new manifest?
>
>
>
> The code that does the wfbundle writing:
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
> and reading:
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
>
> So this relies on the UCF support from:
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
> .. which is basically a proxy for manipulating a ZIP file and its manifest.
>
>
> But this should ideally be updated to use the RO Bundle API from:
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>
>
> and thus have proper support for linking the annotation/ files to
> their corresponding workflow elements, rather than having to parse
> them all to find the right one.
>
> as the UCFPackage types are used throughout the wfbundle writer
> changing this would take a bit of effort.. or just wrapping it from
> UCFPackage. Here's an earlier attempt:
>
> https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
>
> (Note: That branch has test errors)
>
>
> As you see it calls the writeAsODFManifest(); which writes out the
> classic META-INF/manifest.xml for backwards compatibility. This is
> permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
> what you are doing"):
> https://w3id.org/bundle#manifest-xml
>
> On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
>> Hi Gale,
>> I'm really appreciate your feedback on my blogs. I'm very new and there
>> could be some flows. Thank you very much for showing them. :-)
>>
>> 1) Yes, the types of bundle formats that can be converted are listed in
>> this blog.
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> The bundles are not workflows.
>>
>> 2) No. It seems like the way I have wrote it somewhat misleading.....
>> Actually scufl2 workflows are not Bundles. Those are two different APIs.
>> I'll update the blog. :-)
>>
>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>> robundle.
>>
>> 4). Yes Gale. That modification should be done. Other wise it looks like
>> any format could be converted into Robundle. I'll update my blog too.
>>
>> Are there any more facts that need clarification about the blogs please ask
>> me. :)
>>
>> Thank you very much Gale.
>> Menaka
>>
>> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>>> Hi Menaka,
>>>
>>> I've been reading and learning more about research objects, and I
>>> think I understand better what is going on, but I still have some
>>> questions.
>>>
>>> 1) I am curious as to which file types *can* be converted to .robundle
>>> format? (I must have missed something because I thought .t2flow and
>>> .wfbundle were the only allowed input file types.)
>>>
>>> 2) In rereading your June 18th blog post, I see you say that the
>>> command line tool is for converting and managing workflow "bundles" as
>>> well as research object bundles. Are t2flow files "workflow bundles"
>>> or just "workflows?" Or is there not a practical difference?
>>>
>>> 3) I understand now that not all file format conversions are valid.
>>> I'm trying to understand this better. In your June 18th blog post you
>>> say:
>>>
>>> "The conversion function supports converting .t2flow and .wfbundle
>>> formats into following formats:
>>>
>>> .structure
>>>
>>> .json
>>>
>>> .iwir
>>>
>>> .wfbundle
>>>
>>> .wfdesc.ttl –> (development in progress)
>>>
>>> .robundle –> (development in progress)"
>>>
>>> To me, reading this looks like all combinations are valid.
>>>
>>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>> all file types *except* robundle?
>>>
>>>
>>> 4) I fixed the examples in my blog post. Should I also change the
>>> --robundle option description to say "Output bundle as .robundle"
>>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>> option.)
>>>
>>> Thanks for the feedback and the correct link to the example!
>>>
>>> Have a nice weekend.
>>>
>>> Gale
>>>
>>>
>>>
>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>> > Hi Gale,
>>> > Use this link
>>> >
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >
>>> > Cheers
>>> > Menaka
>>> >
>>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >
>>> >> Hi Menaka,
>>> >>
>>> >> Thank you for the feedback and clarifying information. Sorry not to
>>> respond
>>> >> sooner. I am learning about bundles, etc. and reading the link you sent.
>>> >>
>>> >> One thing, I'm having trouble getting to the example in the Examples of
>>> Use
>>> >> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
>>> >>
>>> >> Can you help me? This is what I've done so far:
>>> >>
>>> >> - Clicking on the link gets me the "This is not the web page you are
>>> >> looking
>>> >> for" page. (This is the actual link address:
>>> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >> )
>>> >>
>>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
>>> for
>>> >> me. I didn't think it would, but I tried anyway.
>>> >>
>>> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>>> page
>>> >> yields no results.
>>> >>
>>> >> I will continue to read and understand the RO Bundle API page, but I
>>> would
>>> >> like to see the full Test Example, if possible.
>>> >>
>>> >> Thanks!
>>> >>
>>> >> Gale
>>> >>
>>> >>
>>> >> -----Original Message-----
>>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >> To: dev@taverna.incubator.apache.org
>>> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>>> >>
>>> >> That's cool.....!! :-)
>>> >> Correction:
>>> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >>
>>> >> > Example 2: Simple conversion, multiple input files, no options
>>> >> >
>>> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>>> >> >
>>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>> >> > *.robundle* format and saves the output files to the */converted*
>>> >> > folder in the current working directory.
>>> >> >
>>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>>> format.
>>> >> Its only for some specific bundle formats. Go through this doc for more
>>> >> info.
>>> >>
>>> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >>
>>> >> cheers.
>>> >>
>>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >>
>>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>>> >> > refinements.
>>> >> >
>>> >> > Thanks,
>>> >> > Gale
>>> >> >
>>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>> >> > <me...@gmail.com> wrote:
>>> >> > > Thank you very much Gale,
>>> >> > >
>>> >> > > I showed the output-format without brackets to indicate it is
>>> >> > >> required and not optional because it appears to be always necessary
>>> >> > >
>>> >> > >
>>> >> > > That would be more accurate I think. I'm very new for documentation.
>>> >> > Thank
>>> >> > > you very much.
>>> >> > >
>>> >> > > I left the -json output file type as having a single dash, but all
>>> >> > >> the other output types have double-dashes. Should I change the json
>>> >> > >> output argument to --json?
>>> >> > >>
>>> >> > > -json should be --json. In my email that was a mistake. So you can
>>> >> > > use
>>> >> > --.
>>> >> > >
>>> >> > > (Wordpress is driving me crazy because it is showing the
>>> >> > > double-dashes
>>> >> > >> as long single dashes, even when I use the monospace font-family.
>>> >> > >> Any
>>> >> > >> suggestions?)
>>> >> > >>
>>> >> > >
>>> >> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
>>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>> >> > >
>>> >> >
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> > age-command-line-conversion-documentation/
>>> >> > >
>>> >> > > Thank you very much.
>>> >> > > Menaka
>>> >> > >
>>> >> > > I'll go through your documentations.
>>> >> > >
>>> >> > >
>>> >> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
>>> >> > wrote:
>>> >> > >
>>> >> > >> Hi Menaka,
>>> >> > >>
>>> >> > >> Thanks for updating your blog! I have some additional feedback in
>>> >> > >> the form of two blog posts. One has a detailed description (as I
>>> >> > >> understand it) of the convert command and one has several examples,
>>> >> > >> building on the examples in your blog. I hope these will help the
>>> >> > >> discussion of the command structure. Here are the links:
>>> >> > >>
>>> >> > >>
>>> >> > >>
>>> >> >
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> > mmand-line-convert-command/
>>> >> > >>
>>> >> > >>
>>> >> > >>
>>> >> >
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> > mmand-line-convert-examples/
>>> >> > >>
>>> >> > >> Some things to note:
>>> >> > >>
>>> >> > >> (1) l basically used your June 18th post, but a few things (like
>>> >> > >> the validate command) are from earlier posts/emails.
>>> >> > >>
>>> >> > >> (2) I showed the output-format without brackets to indicate it is
>>> >> > >> required and not optional because it appears to be always
>>> necessary.
>>> >> > >>
>>> >> > >> (3) The way I understand the overall command structure, it seemed
>>> >> > >> that all options (e.g., the output file directory) should come
>>> >> > >> before the input-file-list, so that's what I assumed.
>>> >> > >>
>>> >> > >> (4) I left the -json output file type as having a single dash, but
>>> >> > >> all the other output types have double-dashes. Should I change the
>>> >> > >> json output argument to --json?
>>> >> > >>
>>> >> > >> Please let me know if anything is incorrect and I will change it. I
>>> >> > >> realize the command structure is fluid, and I'm happy to make any
>>> >> > >> changes as things evolve.
>>> >> > >>
>>> >> > >> (Wordpress is driving me crazy because it is showing the
>>> >> > >> double-dashes as long single dashes, even when I use the monospace
>>> >> > >> font-family. Any
>>> >> > >> suggestions?)
>>> >> > >>
>>> >> > >> Thanks,
>>> >> > >>
>>> >> > >> Gale
>>> >> > >>
>>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>> >> > >> <me...@gmail.com> wrote:
>>> >> > >> > Hi Gale,
>>> >> > >> >
>>> >> > >> > Thank you very much.
>>> >> > >> >
>>> >> > >> > . Can you help me
>>> >> > >> >> understand what you mean when you say the files will get saved
>>> >> > >> >> to the C directory?
>>> >> > >> >
>>> >> > >> > That was a mistake :-). I updated the blog. That should be
>>> >> > >> > corrected
>>> >> > as
>>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> > >> > *Convert
>>> >> > the
>>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>>> >> > >> >
>>> >> > >> > I would appreciate more feedback, modifications etc. So with the
>>> >> > >> > help
>>> >> > of
>>> >> > >> > the community we could come up with a much better structure.
>>> >> > >> > Cheers
>>> >> > >> > Menaka
>>> >> > >> >
>>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >> > >> > <ga...@noventussolutions.com>
>>> >> > >> wrote:
>>> >> > >> >
>>> >> > >> >> Hi Menaka,
>>> >> > >> >>
>>> >> > >> >> I am very happy to help, and I understand the command structure
>>> >> > >> >> is a little fluid right now. Thank you for the blog post; it was
>>> >> > >> >> very helpful.
>>> >> > >> >>
>>> >> > >> >> I am a little confused about your recursive example. Can you
>>> >> > >> >> help me understand what you mean when you say the files will get
>>> >> > >> >> saved to the C directory? Because you show the output being
>>> saved
>>> >> > >> >> to:
>>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>> >> > >> >>
>>> >> > >> >> This is the example:
>>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> > >> >> Convert the files and save them in the C directory.
>>> >> > >> >>
>>> >> > >> >> Thank you!
>>> >> > >> >>
>>> >> > >> >> Gale
>>> >> > >> >>
>>> >> > >> >> B
>>> >> > >> >>
>>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>> >> > >> >> <me...@gmail.com> wrote:
>>> >> > >> >> > Hi Gale,
>>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>>> >> > >> >> >
>>> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
>>> >> > convert
>>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>> >> > >> >> >> thinking
>>> >> > that
>>> >> > >> the
>>> >> > >> >> >> output formats are handled as options?
>>> >> > >> >> >
>>> >> > >> >> >
>>> >> > >> >> > Yes there is a little difference in the structure of commands
>>> >> > >> >> > now
>>> >> > and
>>> >> > >> >> then.
>>> >> > >> >> > So for the moment the command structure is like this.
>>> >> > >> >> >
>>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>>> >> > >> >> >
>>> >> > >> >> >
>>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>>> >> > >> >> circumstances?
>>> >> > >> >> >
>>> >> > >> >> > No. In recursive case the input will be a directory containing
>>> >> > >> .t2flow of
>>> >> > >> >> > .wfbundle files. The output dir is optional for both recursive
>>> >> > >> >> > and
>>> >> > non
>>> >> > >> >> > recursive cases.
>>> >> > >> >> >
>>> >> > >> >> > I created a blog about the conversion command.
>>> >> > >> >> >
>>> >> > >> >>
>>> >> > >>
>>> >> >
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> > age-command-line-conversion-documentation/
>>> >> > >> >> >
>>> >> > >> >> > If you have some suggestions, please inform.
>>> >> > >> >> >
>>> >> > >> >> > Thank you very much!
>>> >> > >> >> >
>>> >> > >> >> > Regards
>>> >> > >> >> > Menaka
>>> >> > >> >> >
>>> >> > >> >> > --
>>> >> > >> >> > Menaka Madushanka Jayawardena
>>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>>> >> > >> >> > of Peradeniyaya.
>>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> > >> >>
>>> >> > >> >
>>> >> > >> >
>>> >> > >> >
>>> >> > >> > --
>>> >> > >> > Menaka Madushanka Jayawardena
>>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> > >> > Peradeniyaya.
>>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> > >>
>>> >> > >
>>> >> > >
>>> >> > >
>>> >> > > --
>>> >> > > Menaka Madushanka Jayawardena
>>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> > > Peradeniyaya.
>>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Menaka Madushanka Jayawardena
>>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> Peradeniyaya.
>>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Stian Soiland-Reyes <st...@apache.org>.
Hi, Gale, thanks for your effort on documenting tavlang - as it's
being developed!
Do you think you could have a go at adding this to the website in
MarkDown/HTML format..? See
https://github.com/apache/incubator-taverna-site/tree/trunk/content/documentation/scufl2
which is the source for
http://taverna.incubator.apache.org/documentation/scufl2/
(perhaps /scufl2 in the URL should be renamed to /language ?)
.wfbundle workflows is a kind of earlier form of RO Bundle, but
predates their formal specification and does not use the
taverna-robundle API. So they were meant to be updated to also be full
RO Bundles - basically having a JSON manifest instead/in addition to
the XML one. So it should at some point be possible to convert them.
Perhaps a prototype converter could just copy over the files
internally between the UCFPackage and the Bundle and thus update the
new manifest?
The code that does the wfbundle writing:
https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLWriter.java
and reading:
https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-wfbundle/src/main/java/org/apache/taverna/scufl2/rdfxml/RDFXMLReader.java
So this relies on the UCF support from:
https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
.. which is basically a proxy for manipulating a ZIP file and its manifest.
But this should ideally be updated to use the RO Bundle API from:
https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
and thus have proper support for linking the annotation/ files to
their corresponding workflow elements, rather than having to parse
them all to find the right one.
as the UCFPackage types are used throughout the wfbundle writer
changing this would take a bit of effort.. or just wrapping it from
UCFPackage. Here's an earlier attempt:
https://github.com/apache/incubator-taverna-language/blob/ucfpackage-robundle/taverna-scufl2-ucfpackage/src/main/java/org/apache/taverna/scufl2/ucfpackage/UCFPackage.java
(Note: That branch has test errors)
As you see it calls the writeAsODFManifest(); which writes out the
classic META-INF/manifest.xml for backwards compatibility. This is
permitted by our spec - but violating a NOT RECOMMENDED ("e.g. Know
what you are doing"):
https://w3id.org/bundle#manifest-xml
On 26 June 2015 at 19:54, Menaka Madushanka <me...@gmail.com> wrote:
> Hi Gale,
> I'm really appreciate your feedback on my blogs. I'm very new and there
> could be some flows. Thank you very much for showing them. :-)
>
> 1) Yes, the types of bundle formats that can be converted are listed in
> this blog.
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> The bundles are not workflows.
>
> 2) No. It seems like the way I have wrote it somewhat misleading.....
> Actually scufl2 workflows are not Bundles. Those are two different APIs.
> I'll update the blog. :-)
>
> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
> robundle.
>
> 4). Yes Gale. That modification should be done. Other wise it looks like
> any format could be converted into Robundle. I'll update my blog too.
>
> Are there any more facts that need clarification about the blogs please ask
> me. :)
>
> Thank you very much Gale.
> Menaka
>
> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> I've been reading and learning more about research objects, and I
>> think I understand better what is going on, but I still have some
>> questions.
>>
>> 1) I am curious as to which file types *can* be converted to .robundle
>> format? (I must have missed something because I thought .t2flow and
>> .wfbundle were the only allowed input file types.)
>>
>> 2) In rereading your June 18th blog post, I see you say that the
>> command line tool is for converting and managing workflow "bundles" as
>> well as research object bundles. Are t2flow files "workflow bundles"
>> or just "workflows?" Or is there not a practical difference?
>>
>> 3) I understand now that not all file format conversions are valid.
>> I'm trying to understand this better. In your June 18th blog post you
>> say:
>>
>> "The conversion function supports converting .t2flow and .wfbundle
>> formats into following formats:
>>
>> .structure
>>
>> .json
>>
>> .iwir
>>
>> .wfbundle
>>
>> .wfdesc.ttl –> (development in progress)
>>
>> .robundle –> (development in progress)"
>>
>> To me, reading this looks like all combinations are valid.
>>
>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>> all file types *except* robundle?
>>
>>
>> 4) I fixed the examples in my blog post. Should I also change the
>> --robundle option description to say "Output bundle as .robundle"
>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>> option.)
>>
>> Thanks for the feedback and the correct link to the example!
>>
>> Have a nice weekend.
>>
>> Gale
>>
>>
>>
>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> > Use this link
>> >
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >
>> > Cheers
>> > Menaka
>> >
>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> Thank you for the feedback and clarifying information. Sorry not to
>> respond
>> >> sooner. I am learning about bundles, etc. and reading the link you sent.
>> >>
>> >> One thing, I'm having trouble getting to the example in the Examples of
>> Use
>> >> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
>> >>
>> >> Can you help me? This is what I've done so far:
>> >>
>> >> - Clicking on the link gets me the "This is not the web page you are
>> >> looking
>> >> for" page. (This is the actual link address:
>> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> )
>> >>
>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
>> for
>> >> me. I didn't think it would, but I tried anyway.
>> >>
>> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>> page
>> >> yields no results.
>> >>
>> >> I will continue to read and understand the RO Bundle API page, but I
>> would
>> >> like to see the full Test Example, if possible.
>> >>
>> >> Thanks!
>> >>
>> >> Gale
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> To: dev@taverna.incubator.apache.org
>> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>> >>
>> >> That's cool.....!! :-)
>> >> Correction:
>> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >>
>> >> > Example 2: Simple conversion, multiple input files, no options
>> >> >
>> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>> >> >
>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>> >> > *.robundle* format and saves the output files to the */converted*
>> >> > folder in the current working directory.
>> >> >
>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>> format.
>> >> Its only for some specific bundle formats. Go through this doc for more
>> >> info.
>> >>
>> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >>
>> >> cheers.
>> >>
>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >>
>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>> >> > refinements.
>> >> >
>> >> > Thanks,
>> >> > Gale
>> >> >
>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> > <me...@gmail.com> wrote:
>> >> > > Thank you very much Gale,
>> >> > >
>> >> > > I showed the output-format without brackets to indicate it is
>> >> > >> required and not optional because it appears to be always necessary
>> >> > >
>> >> > >
>> >> > > That would be more accurate I think. I'm very new for documentation.
>> >> > Thank
>> >> > > you very much.
>> >> > >
>> >> > > I left the -json output file type as having a single dash, but all
>> >> > >> the other output types have double-dashes. Should I change the json
>> >> > >> output argument to --json?
>> >> > >>
>> >> > > -json should be --json. In my email that was a mistake. So you can
>> >> > > use
>> >> > --.
>> >> > >
>> >> > > (Wordpress is driving me crazy because it is showing the
>> >> > > double-dashes
>> >> > >> as long single dashes, even when I use the monospace font-family.
>> >> > >> Any
>> >> > >> suggestions?)
>> >> > >>
>> >> > >
>> >> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >> > >
>> >> >
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> > age-command-line-conversion-documentation/
>> >> > >
>> >> > > Thank you very much.
>> >> > > Menaka
>> >> > >
>> >> > > I'll go through your documentations.
>> >> > >
>> >> > >
>> >> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
>> >> > wrote:
>> >> > >
>> >> > >> Hi Menaka,
>> >> > >>
>> >> > >> Thanks for updating your blog! I have some additional feedback in
>> >> > >> the form of two blog posts. One has a detailed description (as I
>> >> > >> understand it) of the convert command and one has several examples,
>> >> > >> building on the examples in your blog. I hope these will help the
>> >> > >> discussion of the command structure. Here are the links:
>> >> > >>
>> >> > >>
>> >> > >>
>> >> >
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> > mmand-line-convert-command/
>> >> > >>
>> >> > >>
>> >> > >>
>> >> >
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> > mmand-line-convert-examples/
>> >> > >>
>> >> > >> Some things to note:
>> >> > >>
>> >> > >> (1) l basically used your June 18th post, but a few things (like
>> >> > >> the validate command) are from earlier posts/emails.
>> >> > >>
>> >> > >> (2) I showed the output-format without brackets to indicate it is
>> >> > >> required and not optional because it appears to be always
>> necessary.
>> >> > >>
>> >> > >> (3) The way I understand the overall command structure, it seemed
>> >> > >> that all options (e.g., the output file directory) should come
>> >> > >> before the input-file-list, so that's what I assumed.
>> >> > >>
>> >> > >> (4) I left the -json output file type as having a single dash, but
>> >> > >> all the other output types have double-dashes. Should I change the
>> >> > >> json output argument to --json?
>> >> > >>
>> >> > >> Please let me know if anything is incorrect and I will change it. I
>> >> > >> realize the command structure is fluid, and I'm happy to make any
>> >> > >> changes as things evolve.
>> >> > >>
>> >> > >> (Wordpress is driving me crazy because it is showing the
>> >> > >> double-dashes as long single dashes, even when I use the monospace
>> >> > >> font-family. Any
>> >> > >> suggestions?)
>> >> > >>
>> >> > >> Thanks,
>> >> > >>
>> >> > >> Gale
>> >> > >>
>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> > >> <me...@gmail.com> wrote:
>> >> > >> > Hi Gale,
>> >> > >> >
>> >> > >> > Thank you very much.
>> >> > >> >
>> >> > >> > . Can you help me
>> >> > >> >> understand what you mean when you say the files will get saved
>> >> > >> >> to the C directory?
>> >> > >> >
>> >> > >> > That was a mistake :-). I updated the blog. That should be
>> >> > >> > corrected
>> >> > as
>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> > >> > *Convert
>> >> > the
>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>> >> > >> >
>> >> > >> > I would appreciate more feedback, modifications etc. So with the
>> >> > >> > help
>> >> > of
>> >> > >> > the community we could come up with a much better structure.
>> >> > >> > Cheers
>> >> > >> > Menaka
>> >> > >> >
>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> > >> > <ga...@noventussolutions.com>
>> >> > >> wrote:
>> >> > >> >
>> >> > >> >> Hi Menaka,
>> >> > >> >>
>> >> > >> >> I am very happy to help, and I understand the command structure
>> >> > >> >> is a little fluid right now. Thank you for the blog post; it was
>> >> > >> >> very helpful.
>> >> > >> >>
>> >> > >> >> I am a little confused about your recursive example. Can you
>> >> > >> >> help me understand what you mean when you say the files will get
>> >> > >> >> saved to the C directory? Because you show the output being
>> saved
>> >> > >> >> to:
>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> > >> >>
>> >> > >> >> This is the example:
>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> > >> >> Convert the files and save them in the C directory.
>> >> > >> >>
>> >> > >> >> Thank you!
>> >> > >> >>
>> >> > >> >> Gale
>> >> > >> >>
>> >> > >> >> B
>> >> > >> >>
>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> > >> >> <me...@gmail.com> wrote:
>> >> > >> >> > Hi Gale,
>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>> >> > >> >> >
>> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
>> >> > convert
>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>> >> > >> >> >> thinking
>> >> > that
>> >> > >> the
>> >> > >> >> >> output formats are handled as options?
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> > Yes there is a little difference in the structure of commands
>> >> > >> >> > now
>> >> > and
>> >> > >> >> then.
>> >> > >> >> > So for the moment the command structure is like this.
>> >> > >> >> >
>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>> >> > >> >> circumstances?
>> >> > >> >> >
>> >> > >> >> > No. In recursive case the input will be a directory containing
>> >> > >> .t2flow of
>> >> > >> >> > .wfbundle files. The output dir is optional for both recursive
>> >> > >> >> > and
>> >> > non
>> >> > >> >> > recursive cases.
>> >> > >> >> >
>> >> > >> >> > I created a blog about the conversion command.
>> >> > >> >> >
>> >> > >> >>
>> >> > >>
>> >> >
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> > age-command-line-conversion-documentation/
>> >> > >> >> >
>> >> > >> >> > If you have some suggestions, please inform.
>> >> > >> >> >
>> >> > >> >> > Thank you very much!
>> >> > >> >> >
>> >> > >> >> > Regards
>> >> > >> >> > Menaka
>> >> > >> >> >
>> >> > >> >> > --
>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>> >> > >> >> > of Peradeniyaya.
>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> > >> >>
>> >> > >> >
>> >> > >> >
>> >> > >> >
>> >> > >> > --
>> >> > >> > Menaka Madushanka Jayawardena
>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> > >> > Peradeniyaya.
>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> > >>
>> >> > >
>> >> > >
>> >> > >
>> >> > > --
>> >> > > Menaka Madushanka Jayawardena
>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> > > Peradeniyaya.
>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Menaka Madushanka Jayawardena
>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> Peradeniyaya.
>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
--
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Stian,
Absolutely, I would be happy to contribute this diagram to Apache. I have
never done that before. Can you point me to a link that describes the steps
I need to follow?
Thank you,
Gale
On Jul 2, 2015 4:54 PM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
> This is brilliant diagram.. do you think you would consider
> contributing it to Apache so we can include it on our website?
>
> On 27 June 2015 at 18:16, Gale Naylor <ga...@noventussolutions.com> wrote:
> > Hi Menaka,
> >
> >> According to the documentations provided, SCUFL is an experimental
> module.
> >> So It has not added to the tool yet.
> >
> > Okay, I see now. That makes sense. FYI, because I am a visual person,
> > I took the Taverna
> > Language Module information and created a diagram:
> >
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >
> >> The taverna language is capable of converting .t2flow workflows into
> >> .wfbundle and other formats, and .wfbundles into formats except .t2flow.
> >
> > So, .wfbundles can be converted to .json and .iwir formats as well as
> > .structure?
> > If so, I will update my table.
> >
> >> (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> Taverna
> >> 3)
> >
> > Is it true that .wfbundle is the *bundle* format of Taverna 3
> > (taverna-sculf2-wfbundle)
> > and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
> >
> >> Input file type detection was done to avoid any exceptions when reading
> the
> >> wokflow file. ...
> >> In new_features2, I removed it because I have entered the wrong logic. I
> >> restored it.
> >
> > Okay, understood.
> >
> > Thank you!
> >
> > Gale
> >
> > On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> > <me...@gmail.com> wrote:
> >> Hi Gale,
> >> According to the documentations provided, SCUFL is an experimental
> module.
> >> So It has not added to the tool yet.
> >>
> >> I presumed that.scufl2 workflows could be converted to the same
> >>> formats as .t2flow workflows, but if that's not correct, let me know
> >>> and I'll fix it.
> >>
> >> The taverna language is capable of converting .t2flow workflows into
> >> .wfbundle and other formats, and .wfbundles into formats except .t2flow.
> >> (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> Taverna
> >> 3)
> >>
> >> Also, I was wondering about something you said in one of your June
> >>> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >>> features2).
> >>> You said "File type detection removed."
> >>>
> >>> Which file type detection is this? Is this related to Stain's June 4th
> >>> email, in which he said the input format is auto-guessed by
> >>> WorkflowBundleIO? Just wondering, because in my blog I included this
> >>> comment and I wanted to make sure it is still accurate.
> >>
> >>
> >> Input file type detection was done to avoid any exceptions when reading
> the
> >> wokflow file. The WorkflowBundleIO can guess the media type and read the
> >> bundle but, the input format could be wrongly entered by the user. We
> can't
> >> promise that the user could always do the correct thing. Also in
> recursive
> >> conversion, there could be other files also.
> >>
> >> In new_features2, I removed it because I have entered the wrong logic. I
> >> restored it.
> >>
> >> Thank you
> >> Menaka
> >>
> >>
> >>
> >> On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >>
> >>> Hi Menaka,
> >>>
> >>> A couple more things.
> >>>
> >>> I am trying to organize my understanding of how the conversions work,
> >>> so I wrote a new blog post with a conversion table:
> >>>
> >>>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >>>
> >>> I presumed that.scufl2 workflows could be converted to the same
> >>> formats as .t2flow workflows, but if that's not correct, let me know
> >>> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
> >>> table is my best guess from reading all of the emails, so please let
> >>> me know if anything is wrong, or if I missed something.
> >>>
> >>> Also, I was wondering about something you said in one of your June
> >>> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >>> features2).
> >>> You said "File type detection removed."
> >>>
> >>> Which file type detection is this? Is this related to Stain's June 4th
> >>> email, in which he said the input format is auto-guessed by
> >>> WorkflowBundleIO? Just wondering, because in my blog I included this
> >>> comment and I wanted to make sure it is still accurate.
> >>>
> >>> Thanks!
> >>>
> >>> Gale
> >>>
> >>> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >>> <me...@gmail.com> wrote:
> >>> > Have a nice weekend too.....!!! :-)
> >>> >
> >>> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
> >>> wrote:
> >>> >
> >>> >> Hi Gale,
> >>> >> I'm really appreciate your feedback on my blogs. I'm very new and
> there
> >>> >> could be some flows. Thank you very much for showing them. :-)
> >>> >>
> >>> >> 1) Yes, the types of bundle formats that can be converted are
> listed in
> >>> >> this blog.
> >>> >>
> >>> >>
> >>>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >>> >> The bundles are not workflows.
> >>> >>
> >>> >> 2) No. It seems like the way I have wrote it somewhat
> misleading.....
> >>> >> Actually scufl2 workflows are not Bundles. Those are two different
> APIs.
> >>> >> I'll update the blog. :-)
> >>> >>
> >>> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted
> into
> >>> >> robundle.
> >>> >>
> >>> >> 4). Yes Gale. That modification should be done. Other wise it looks
> like
> >>> >> any format could be converted into Robundle. I'll update my blog
> too.
> >>> >>
> >>> >> Are there any more facts that need clarification about the blogs
> please
> >>> >> ask me. :)
> >>> >>
> >>> >> Thank you very much Gale.
> >>> >> Menaka
> >>> >>
> >>> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
> >>> wrote:
> >>> >>
> >>> >>> Hi Menaka,
> >>> >>>
> >>> >>> I've been reading and learning more about research objects, and I
> >>> >>> think I understand better what is going on, but I still have some
> >>> >>> questions.
> >>> >>>
> >>> >>> 1) I am curious as to which file types *can* be converted to
> .robundle
> >>> >>> format? (I must have missed something because I thought .t2flow and
> >>> >>> .wfbundle were the only allowed input file types.)
> >>> >>>
> >>> >>> 2) In rereading your June 18th blog post, I see you say that the
> >>> >>> command line tool is for converting and managing workflow
> "bundles" as
> >>> >>> well as research object bundles. Are t2flow files "workflow
> bundles"
> >>> >>> or just "workflows?" Or is there not a practical difference?
> >>> >>>
> >>> >>> 3) I understand now that not all file format conversions are valid.
> >>> >>> I'm trying to understand this better. In your June 18th blog post
> you
> >>> >>> say:
> >>> >>>
> >>> >>> "The conversion function supports converting .t2flow and .wfbundle
> >>> >>> formats into following formats:
> >>> >>>
> >>> >>> .structure
> >>> >>>
> >>> >>> .json
> >>> >>>
> >>> >>> .iwir
> >>> >>>
> >>> >>> .wfbundle
> >>> >>>
> >>> >>> .wfdesc.ttl –> (development in progress)
> >>> >>>
> >>> >>> .robundle –> (development in progress)"
> >>> >>>
> >>> >>> To me, reading this looks like all combinations are valid.
> >>> >>>
> >>> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
> >>> >>> all file types *except* robundle?
> >>> >>>
> >>> >>>
> >>> >>> 4) I fixed the examples in my blog post. Should I also change the
> >>> >>> --robundle option description to say "Output bundle as .robundle"
> >>> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> >>> >>> option.)
> >>> >>>
> >>> >>> Thanks for the feedback and the correct link to the example!
> >>> >>>
> >>> >>> Have a nice weekend.
> >>> >>>
> >>> >>> Gale
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >>> >>> <me...@gmail.com> wrote:
> >>> >>> > Hi Gale,
> >>> >>> > Use this link
> >>> >>> >
> >>> >>>
> >>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >>> >>> >
> >>> >>> > Cheers
> >>> >>> > Menaka
> >>> >>> >
> >>> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> galen@noventussolutions.com>
> >>> >>> wrote:
> >>> >>> >
> >>> >>> >> Hi Menaka,
> >>> >>> >>
> >>> >>> >> Thank you for the feedback and clarifying information. Sorry
> not to
> >>> >>> respond
> >>> >>> >> sooner. I am learning about bundles, etc. and reading the link
> you
> >>> >>> sent.
> >>> >>> >>
> >>> >>> >> One thing, I'm having trouble getting to the example in the
> Examples
> >>> >>> of Use
> >>> >>> >> Section: "Example in full is at
> >>> >>> org.apache.taverna.robundle.TestExample"
> >>> >>> >>
> >>> >>> >> Can you help me? This is what I've done so far:
> >>> >>> >>
> >>> >>> >> - Clicking on the link gets me the "This is not the web page
> you are
> >>> >>> >> looking
> >>> >>> >> for" page. (This is the actual link address:
> >>> >>> >>
> >>> >>> >>
> >>> >>>
> >>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >>> >>> >> )
> >>> >>> >>
> >>> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also
> doesn't
> >>> work
> >>> >>> for
> >>> >>> >> me. I didn't think it would, but I tried anyway.
> >>> >>> >>
> >>> >>> >> - Searching for "taverna robundle TestExample" on the main
> >>> Apache.com
> >>> >>> page
> >>> >>> >> yields no results.
> >>> >>> >>
> >>> >>> >> I will continue to read and understand the RO Bundle API page,
> but I
> >>> >>> would
> >>> >>> >> like to see the full Test Example, if possible.
> >>> >>> >>
> >>> >>> >> Thanks!
> >>> >>> >>
> >>> >>> >> Gale
> >>> >>> >>
> >>> >>> >>
> >>> >>> >> -----Original Message-----
> >>> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >>> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >>> >>> >> To: dev@taverna.incubator.apache.org
> >>> >>> >> Subject: Re: Taverna Language Command Line tool - convert
> command
> >>> doc
> >>> >>> >>
> >>> >>> >> That's cool.....!! :-)
> >>> >>> >> Correction:
> >>> >>> >>
> >>> >>> >>
> >>> >>>
> >>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >>> >>> >>
> >>> >>> >> > Example 2: Simple conversion, multiple input files, no options
> >>> >>> >> >
> >>> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >>> /someFile2.wfbundle
> >>> >>> >> >
> >>> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> >>> >>> >> > *.robundle* format and saves the output files to the
> */converted*
> >>> >>> >> > folder in the current working directory.
> >>> >>> >> >
> >>> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
> robundle
> >>> >>> format.
> >>> >>> >> Its only for some specific bundle formats. Go through this doc
> for
> >>> more
> >>> >>> >> info.
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>>
> >>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >>> >>> >>
> >>> >>> >> cheers.
> >>> >>> >>
> >>> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> galen@noventussolutions.com>
> >>> >>> wrote:
> >>> >>> >>
> >>> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the
> two
> >>> blog
> >>> >>> >> > posts to use the <pre> tag, and it looks great. I also made a
> few
> >>> >>> >> > refinements.
> >>> >>> >> >
> >>> >>> >> > Thanks,
> >>> >>> >> > Gale
> >>> >>> >> >
> >>> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >>> >>> >> > <me...@gmail.com> wrote:
> >>> >>> >> > > Thank you very much Gale,
> >>> >>> >> > >
> >>> >>> >> > > I showed the output-format without brackets to indicate it
> is
> >>> >>> >> > >> required and not optional because it appears to be always
> >>> >>> necessary
> >>> >>> >> > >
> >>> >>> >> > >
> >>> >>> >> > > That would be more accurate I think. I'm very new for
> >>> >>> documentation.
> >>> >>> >> > Thank
> >>> >>> >> > > you very much.
> >>> >>> >> > >
> >>> >>> >> > > I left the -json output file type as having a single dash,
> but
> >>> all
> >>> >>> >> > >> the other output types have double-dashes. Should I change
> the
> >>> >>> json
> >>> >>> >> > >> output argument to --json?
> >>> >>> >> > >>
> >>> >>> >> > > -json should be --json. In my email that was a mistake. So
> you
> >>> can
> >>> >>> >> > > use
> >>> >>> >> > --.
> >>> >>> >> > >
> >>> >>> >> > > (Wordpress is driving me crazy because it is showing the
> >>> >>> >> > > double-dashes
> >>> >>> >> > >> as long single dashes, even when I use the monospace
> >>> font-family.
> >>> >>> >> > >> Any
> >>> >>> >> > >> suggestions?)
> >>> >>> >> > >>
> >>> >>> >> > >
> >>> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> >>> >>> preformatted.
> >>> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >>> >>> >> > >
> >>> >>> >> >
> >>> >>>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>> >>> >> > age-command-line-conversion-documentation/
> >>> >>> >> > >
> >>> >>> >> > > Thank you very much.
> >>> >>> >> > > Menaka
> >>> >>> >> > >
> >>> >>> >> > > I'll go through your documentations.
> >>> >>> >> > >
> >>> >>> >> > >
> >>> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >>> galen@noventussolutions.com
> >>> >>> >
> >>> >>> >> > wrote:
> >>> >>> >> > >
> >>> >>> >> > >> Hi Menaka,
> >>> >>> >> > >>
> >>> >>> >> > >> Thanks for updating your blog! I have some additional
> feedback
> >>> in
> >>> >>> >> > >> the form of two blog posts. One has a detailed description
> (as
> >>> I
> >>> >>> >> > >> understand it) of the convert command and one has several
> >>> >>> examples,
> >>> >>> >> > >> building on the examples in your blog. I hope these will
> help
> >>> the
> >>> >>> >> > >> discussion of the command structure. Here are the links:
> >>> >>> >> > >>
> >>> >>> >> > >>
> >>> >>> >> > >>
> >>> >>> >> >
> >>> >>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>> >>> >> > mmand-line-convert-command/
> >>> >>> >> > >>
> >>> >>> >> > >>
> >>> >>> >> > >>
> >>> >>> >> >
> >>> >>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>> >>> >> > mmand-line-convert-examples/
> >>> >>> >> > >>
> >>> >>> >> > >> Some things to note:
> >>> >>> >> > >>
> >>> >>> >> > >> (1) l basically used your June 18th post, but a few things
> >>> (like
> >>> >>> >> > >> the validate command) are from earlier posts/emails.
> >>> >>> >> > >>
> >>> >>> >> > >> (2) I showed the output-format without brackets to
> indicate it
> >>> is
> >>> >>> >> > >> required and not optional because it appears to be always
> >>> >>> necessary.
> >>> >>> >> > >>
> >>> >>> >> > >> (3) The way I understand the overall command structure, it
> >>> seemed
> >>> >>> >> > >> that all options (e.g., the output file directory) should
> come
> >>> >>> >> > >> before the input-file-list, so that's what I assumed.
> >>> >>> >> > >>
> >>> >>> >> > >> (4) I left the -json output file type as having a single
> dash,
> >>> but
> >>> >>> >> > >> all the other output types have double-dashes. Should I
> change
> >>> the
> >>> >>> >> > >> json output argument to --json?
> >>> >>> >> > >>
> >>> >>> >> > >> Please let me know if anything is incorrect and I will
> change
> >>> it.
> >>> >>> I
> >>> >>> >> > >> realize the command structure is fluid, and I'm happy to
> make
> >>> any
> >>> >>> >> > >> changes as things evolve.
> >>> >>> >> > >>
> >>> >>> >> > >> (Wordpress is driving me crazy because it is showing the
> >>> >>> >> > >> double-dashes as long single dashes, even when I use the
> >>> monospace
> >>> >>> >> > >> font-family. Any
> >>> >>> >> > >> suggestions?)
> >>> >>> >> > >>
> >>> >>> >> > >> Thanks,
> >>> >>> >> > >>
> >>> >>> >> > >> Gale
> >>> >>> >> > >>
> >>> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >>> >>> >> > >> <me...@gmail.com> wrote:
> >>> >>> >> > >> > Hi Gale,
> >>> >>> >> > >> >
> >>> >>> >> > >> > Thank you very much.
> >>> >>> >> > >> >
> >>> >>> >> > >> > . Can you help me
> >>> >>> >> > >> >> understand what you mean when you say the files will get
> >>> saved
> >>> >>> >> > >> >> to the C directory?
> >>> >>> >> > >> >
> >>> >>> >> > >> > That was a mistake :-). I updated the blog. That should
> be
> >>> >>> >> > >> > corrected
> >>> >>> >> > as
> >>> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/
> –>
> >>> >>> >> > >> > *Convert
> >>> >>> >> > the
> >>> >>> >> > >> > files and save them in the …/toConvert/converted/
> directory.
> >>> >>> >> > >> >
> >>> >>> >> > >> > I would appreciate more feedback, modifications etc. So
> with
> >>> the
> >>> >>> >> > >> > help
> >>> >>> >> > of
> >>> >>> >> > >> > the community we could come up with a much better
> structure.
> >>> >>> >> > >> > Cheers
> >>> >>> >> > >> > Menaka
> >>> >>> >> > >> >
> >>> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >>> >>> >> > >> > <ga...@noventussolutions.com>
> >>> >>> >> > >> wrote:
> >>> >>> >> > >> >
> >>> >>> >> > >> >> Hi Menaka,
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> I am very happy to help, and I understand the command
> >>> structure
> >>> >>> >> > >> >> is a little fluid right now. Thank you for the blog
> post; it
> >>> >>> was
> >>> >>> >> > >> >> very helpful.
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> I am a little confused about your recursive example.
> Can you
> >>> >>> >> > >> >> help me understand what you mean when you say the files
> will
> >>> >>> get
> >>> >>> >> > >> >> saved to the C directory? Because you show the output
> being
> >>> >>> saved
> >>> >>> >> > >> >> to:
> >>> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> This is the example:
> >>> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/
> –>
> >>> >>> >> > >> >> Convert the files and save them in the C directory.
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> Thank you!
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> Gale
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> B
> >>> >>> >> > >> >>
> >>> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >>> >>> >> > >> >> <me...@gmail.com> wrote:
> >>> >>> >> > >> >> > Hi Gale,
> >>> >>> >> > >> >> > I extremely appreciate your help. Thank you very
> much. :-)
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > 1) Is this still the basic structure of the command:
> >>> tavlang
> >>> >>> >> > convert
> >>> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong
> in
> >>> >>> >> > >> >> >> thinking
> >>> >>> >> > that
> >>> >>> >> > >> the
> >>> >>> >> > >> >> >> output formats are handled as options?
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > Yes there is a little difference in the structure of
> >>> commands
> >>> >>> >> > >> >> > now
> >>> >>> >> > and
> >>> >>> >> > >> >> then.
> >>> >>> >> > >> >> > So for the moment the command structure is like this.
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
> [arguments]
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
> >>> what
> >>> >>> >> > >> >> circumstances?
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > No. In recursive case the input will be a directory
> >>> >>> containing
> >>> >>> >> > >> .t2flow of
> >>> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
> >>> >>> recursive
> >>> >>> >> > >> >> > and
> >>> >>> >> > non
> >>> >>> >> > >> >> > recursive cases.
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > I created a blog about the conversion command.
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >>
> >>> >>> >> > >>
> >>> >>> >> >
> >>> >>>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>> >>> >> > age-command-line-conversion-documentation/
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > If you have some suggestions, please inform.
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > Thank you very much!
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > Regards
> >>> >>> >> > >> >> > Menaka
> >>> >>> >> > >> >> >
> >>> >>> >> > >> >> > --
> >>> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >>> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> >>> University
> >>> >>> >> > >> >> > of Peradeniyaya.
> >>> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena
> >
> >>> >>> >> > >> >>
> >>> >>> >> > >> >
> >>> >>> >> > >> >
> >>> >>> >> > >> >
> >>> >>> >> > >> > --
> >>> >>> >> > >> > Menaka Madushanka Jayawardena
> >>> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> University
> >>> >>> of
> >>> >>> >> > >> > Peradeniyaya.
> >>> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >>> >> > >>
> >>> >>> >> > >
> >>> >>> >> > >
> >>> >>> >> > >
> >>> >>> >> > > --
> >>> >>> >> > > Menaka Madushanka Jayawardena
> >>> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University
> >>> of
> >>> >>> >> > > Peradeniyaya.
> >>> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >>> >> >
> >>> >>> >>
> >>> >>> >>
> >>> >>> >>
> >>> >>> >> --
> >>> >>> >> Menaka Madushanka Jayawardena
> >>> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
> of
> >>> >>> >> Peradeniyaya.
> >>> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >>> >>
> >>> >>> >
> >>> >>> >
> >>> >>> >
> >>> >>> > --
> >>> >>> > Menaka Madushanka Jayawardena
> >>> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> >>> > University of Peradeniyaya.
> >>> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >>>
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Menaka Madushanka Jayawardena
> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> >> University of Peradeniyaya.
> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >>
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Menaka Madushanka Jayawardena
> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> > University of Peradeniyaya.
> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>
> >>
> >>
> >>
> >> --
> >> Menaka Madushanka Jayawardena
> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University of Peradeniyaya.
> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
>
Re: Taverna Language Command Line tool - convert command doc
Posted by Stian Soiland-Reyes <st...@apache.org>.
This is brilliant diagram.. do you think you would consider
contributing it to Apache so we can include it on our website?
On 27 June 2015 at 18:16, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
>> According to the documentations provided, SCUFL is an experimental module.
>> So It has not added to the tool yet.
>
> Okay, I see now. That makes sense. FYI, because I am a visual person,
> I took the Taverna
> Language Module information and created a diagram:
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>
>> The taverna language is capable of converting .t2flow workflows into
>> .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>
> So, .wfbundles can be converted to .json and .iwir formats as well as
> .structure?
> If so, I will update my table.
>
>> (.t2flow is the format of Taverna 2 and .wfbundle is the format of Taverna
>> 3)
>
> Is it true that .wfbundle is the *bundle* format of Taverna 3
> (taverna-sculf2-wfbundle)
> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>
>> Input file type detection was done to avoid any exceptions when reading the
>> wokflow file. ...
>> In new_features2, I removed it because I have entered the wrong logic. I
>> restored it.
>
> Okay, understood.
>
> Thank you!
>
> Gale
>
> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
>> Hi Gale,
>> According to the documentations provided, SCUFL is an experimental module.
>> So It has not added to the tool yet.
>>
>> I presumed that.scufl2 workflows could be converted to the same
>>> formats as .t2flow workflows, but if that's not correct, let me know
>>> and I'll fix it.
>>
>> The taverna language is capable of converting .t2flow workflows into
>> .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>> (.t2flow is the format of Taverna 2 and .wfbundle is the format of Taverna
>> 3)
>>
>> Also, I was wondering about something you said in one of your June
>>> 25th emails ([GitHub] incubator-taverna-language pull request: New
>>> features2).
>>> You said "File type detection removed."
>>>
>>> Which file type detection is this? Is this related to Stain's June 4th
>>> email, in which he said the input format is auto-guessed by
>>> WorkflowBundleIO? Just wondering, because in my blog I included this
>>> comment and I wanted to make sure it is still accurate.
>>
>>
>> Input file type detection was done to avoid any exceptions when reading the
>> wokflow file. The WorkflowBundleIO can guess the media type and read the
>> bundle but, the input format could be wrongly entered by the user. We can't
>> promise that the user could always do the correct thing. Also in recursive
>> conversion, there could be other files also.
>>
>> In new_features2, I removed it because I have entered the wrong logic. I
>> restored it.
>>
>> Thank you
>> Menaka
>>
>>
>>
>> On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>>> Hi Menaka,
>>>
>>> A couple more things.
>>>
>>> I am trying to organize my understanding of how the conversions work,
>>> so I wrote a new blog post with a conversion table:
>>>
>>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>>>
>>> I presumed that.scufl2 workflows could be converted to the same
>>> formats as .t2flow workflows, but if that's not correct, let me know
>>> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
>>> table is my best guess from reading all of the emails, so please let
>>> me know if anything is wrong, or if I missed something.
>>>
>>> Also, I was wondering about something you said in one of your June
>>> 25th emails ([GitHub] incubator-taverna-language pull request: New
>>> features2).
>>> You said "File type detection removed."
>>>
>>> Which file type detection is this? Is this related to Stain's June 4th
>>> email, in which he said the input format is auto-guessed by
>>> WorkflowBundleIO? Just wondering, because in my blog I included this
>>> comment and I wanted to make sure it is still accurate.
>>>
>>> Thanks!
>>>
>>> Gale
>>>
>>> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>> > Have a nice weekend too.....!!! :-)
>>> >
>>> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
>>> wrote:
>>> >
>>> >> Hi Gale,
>>> >> I'm really appreciate your feedback on my blogs. I'm very new and there
>>> >> could be some flows. Thank you very much for showing them. :-)
>>> >>
>>> >> 1) Yes, the types of bundle formats that can be converted are listed in
>>> >> this blog.
>>> >>
>>> >>
>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>> >> The bundles are not workflows.
>>> >>
>>> >> 2) No. It seems like the way I have wrote it somewhat misleading.....
>>> >> Actually scufl2 workflows are not Bundles. Those are two different APIs.
>>> >> I'll update the blog. :-)
>>> >>
>>> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>>> >> robundle.
>>> >>
>>> >> 4). Yes Gale. That modification should be done. Other wise it looks like
>>> >> any format could be converted into Robundle. I'll update my blog too.
>>> >>
>>> >> Are there any more facts that need clarification about the blogs please
>>> >> ask me. :)
>>> >>
>>> >> Thank you very much Gale.
>>> >> Menaka
>>> >>
>>> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >>
>>> >>> Hi Menaka,
>>> >>>
>>> >>> I've been reading and learning more about research objects, and I
>>> >>> think I understand better what is going on, but I still have some
>>> >>> questions.
>>> >>>
>>> >>> 1) I am curious as to which file types *can* be converted to .robundle
>>> >>> format? (I must have missed something because I thought .t2flow and
>>> >>> .wfbundle were the only allowed input file types.)
>>> >>>
>>> >>> 2) In rereading your June 18th blog post, I see you say that the
>>> >>> command line tool is for converting and managing workflow "bundles" as
>>> >>> well as research object bundles. Are t2flow files "workflow bundles"
>>> >>> or just "workflows?" Or is there not a practical difference?
>>> >>>
>>> >>> 3) I understand now that not all file format conversions are valid.
>>> >>> I'm trying to understand this better. In your June 18th blog post you
>>> >>> say:
>>> >>>
>>> >>> "The conversion function supports converting .t2flow and .wfbundle
>>> >>> formats into following formats:
>>> >>>
>>> >>> .structure
>>> >>>
>>> >>> .json
>>> >>>
>>> >>> .iwir
>>> >>>
>>> >>> .wfbundle
>>> >>>
>>> >>> .wfdesc.ttl –> (development in progress)
>>> >>>
>>> >>> .robundle –> (development in progress)"
>>> >>>
>>> >>> To me, reading this looks like all combinations are valid.
>>> >>>
>>> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>> >>> all file types *except* robundle?
>>> >>>
>>> >>>
>>> >>> 4) I fixed the examples in my blog post. Should I also change the
>>> >>> --robundle option description to say "Output bundle as .robundle"
>>> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>> >>> option.)
>>> >>>
>>> >>> Thanks for the feedback and the correct link to the example!
>>> >>>
>>> >>> Have a nice weekend.
>>> >>>
>>> >>> Gale
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> >>> <me...@gmail.com> wrote:
>>> >>> > Hi Gale,
>>> >>> > Use this link
>>> >>> >
>>> >>>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >>> >
>>> >>> > Cheers
>>> >>> > Menaka
>>> >>> >
>>> >>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>>> >>> wrote:
>>> >>> >
>>> >>> >> Hi Menaka,
>>> >>> >>
>>> >>> >> Thank you for the feedback and clarifying information. Sorry not to
>>> >>> respond
>>> >>> >> sooner. I am learning about bundles, etc. and reading the link you
>>> >>> sent.
>>> >>> >>
>>> >>> >> One thing, I'm having trouble getting to the example in the Examples
>>> >>> of Use
>>> >>> >> Section: "Example in full is at
>>> >>> org.apache.taverna.robundle.TestExample"
>>> >>> >>
>>> >>> >> Can you help me? This is what I've done so far:
>>> >>> >>
>>> >>> >> - Clicking on the link gets me the "This is not the web page you are
>>> >>> >> looking
>>> >>> >> for" page. (This is the actual link address:
>>> >>> >>
>>> >>> >>
>>> >>>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >>> >> )
>>> >>> >>
>>> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
>>> work
>>> >>> for
>>> >>> >> me. I didn't think it would, but I tried anyway.
>>> >>> >>
>>> >>> >> - Searching for "taverna robundle TestExample" on the main
>>> Apache.com
>>> >>> page
>>> >>> >> yields no results.
>>> >>> >>
>>> >>> >> I will continue to read and understand the RO Bundle API page, but I
>>> >>> would
>>> >>> >> like to see the full Test Example, if possible.
>>> >>> >>
>>> >>> >> Thanks!
>>> >>> >>
>>> >>> >> Gale
>>> >>> >>
>>> >>> >>
>>> >>> >> -----Original Message-----
>>> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >>> >> To: dev@taverna.incubator.apache.org
>>> >>> >> Subject: Re: Taverna Language Command Line tool - convert command
>>> doc
>>> >>> >>
>>> >>> >> That's cool.....!! :-)
>>> >>> >> Correction:
>>> >>> >>
>>> >>> >>
>>> >>>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >>> >>
>>> >>> >> > Example 2: Simple conversion, multiple input files, no options
>>> >>> >> >
>>> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>>> /someFile2.wfbundle
>>> >>> >> >
>>> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>> >>> >> > *.robundle* format and saves the output files to the */converted*
>>> >>> >> > folder in the current working directory.
>>> >>> >> >
>>> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>>> >>> format.
>>> >>> >> Its only for some specific bundle formats. Go through this doc for
>>> more
>>> >>> >> info.
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >>> >>
>>> >>> >> cheers.
>>> >>> >>
>>> >>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>>> >>> wrote:
>>> >>> >>
>>> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
>>> blog
>>> >>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>>> >>> >> > refinements.
>>> >>> >> >
>>> >>> >> > Thanks,
>>> >>> >> > Gale
>>> >>> >> >
>>> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>> >>> >> > <me...@gmail.com> wrote:
>>> >>> >> > > Thank you very much Gale,
>>> >>> >> > >
>>> >>> >> > > I showed the output-format without brackets to indicate it is
>>> >>> >> > >> required and not optional because it appears to be always
>>> >>> necessary
>>> >>> >> > >
>>> >>> >> > >
>>> >>> >> > > That would be more accurate I think. I'm very new for
>>> >>> documentation.
>>> >>> >> > Thank
>>> >>> >> > > you very much.
>>> >>> >> > >
>>> >>> >> > > I left the -json output file type as having a single dash, but
>>> all
>>> >>> >> > >> the other output types have double-dashes. Should I change the
>>> >>> json
>>> >>> >> > >> output argument to --json?
>>> >>> >> > >>
>>> >>> >> > > -json should be --json. In my email that was a mistake. So you
>>> can
>>> >>> >> > > use
>>> >>> >> > --.
>>> >>> >> > >
>>> >>> >> > > (Wordpress is driving me crazy because it is showing the
>>> >>> >> > > double-dashes
>>> >>> >> > >> as long single dashes, even when I use the monospace
>>> font-family.
>>> >>> >> > >> Any
>>> >>> >> > >> suggestions?)
>>> >>> >> > >>
>>> >>> >> > >
>>> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>>> >>> preformatted.
>>> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>> >>> >> > >
>>> >>> >> >
>>> >>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >>> >> > age-command-line-conversion-documentation/
>>> >>> >> > >
>>> >>> >> > > Thank you very much.
>>> >>> >> > > Menaka
>>> >>> >> > >
>>> >>> >> > > I'll go through your documentations.
>>> >>> >> > >
>>> >>> >> > >
>>> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>>> galen@noventussolutions.com
>>> >>> >
>>> >>> >> > wrote:
>>> >>> >> > >
>>> >>> >> > >> Hi Menaka,
>>> >>> >> > >>
>>> >>> >> > >> Thanks for updating your blog! I have some additional feedback
>>> in
>>> >>> >> > >> the form of two blog posts. One has a detailed description (as
>>> I
>>> >>> >> > >> understand it) of the convert command and one has several
>>> >>> examples,
>>> >>> >> > >> building on the examples in your blog. I hope these will help
>>> the
>>> >>> >> > >> discussion of the command structure. Here are the links:
>>> >>> >> > >>
>>> >>> >> > >>
>>> >>> >> > >>
>>> >>> >> >
>>> >>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >>> >> > mmand-line-convert-command/
>>> >>> >> > >>
>>> >>> >> > >>
>>> >>> >> > >>
>>> >>> >> >
>>> >>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >>> >> > mmand-line-convert-examples/
>>> >>> >> > >>
>>> >>> >> > >> Some things to note:
>>> >>> >> > >>
>>> >>> >> > >> (1) l basically used your June 18th post, but a few things
>>> (like
>>> >>> >> > >> the validate command) are from earlier posts/emails.
>>> >>> >> > >>
>>> >>> >> > >> (2) I showed the output-format without brackets to indicate it
>>> is
>>> >>> >> > >> required and not optional because it appears to be always
>>> >>> necessary.
>>> >>> >> > >>
>>> >>> >> > >> (3) The way I understand the overall command structure, it
>>> seemed
>>> >>> >> > >> that all options (e.g., the output file directory) should come
>>> >>> >> > >> before the input-file-list, so that's what I assumed.
>>> >>> >> > >>
>>> >>> >> > >> (4) I left the -json output file type as having a single dash,
>>> but
>>> >>> >> > >> all the other output types have double-dashes. Should I change
>>> the
>>> >>> >> > >> json output argument to --json?
>>> >>> >> > >>
>>> >>> >> > >> Please let me know if anything is incorrect and I will change
>>> it.
>>> >>> I
>>> >>> >> > >> realize the command structure is fluid, and I'm happy to make
>>> any
>>> >>> >> > >> changes as things evolve.
>>> >>> >> > >>
>>> >>> >> > >> (Wordpress is driving me crazy because it is showing the
>>> >>> >> > >> double-dashes as long single dashes, even when I use the
>>> monospace
>>> >>> >> > >> font-family. Any
>>> >>> >> > >> suggestions?)
>>> >>> >> > >>
>>> >>> >> > >> Thanks,
>>> >>> >> > >>
>>> >>> >> > >> Gale
>>> >>> >> > >>
>>> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>> >>> >> > >> <me...@gmail.com> wrote:
>>> >>> >> > >> > Hi Gale,
>>> >>> >> > >> >
>>> >>> >> > >> > Thank you very much.
>>> >>> >> > >> >
>>> >>> >> > >> > . Can you help me
>>> >>> >> > >> >> understand what you mean when you say the files will get
>>> saved
>>> >>> >> > >> >> to the C directory?
>>> >>> >> > >> >
>>> >>> >> > >> > That was a mistake :-). I updated the blog. That should be
>>> >>> >> > >> > corrected
>>> >>> >> > as
>>> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >>> >> > >> > *Convert
>>> >>> >> > the
>>> >>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>>> >>> >> > >> >
>>> >>> >> > >> > I would appreciate more feedback, modifications etc. So with
>>> the
>>> >>> >> > >> > help
>>> >>> >> > of
>>> >>> >> > >> > the community we could come up with a much better structure.
>>> >>> >> > >> > Cheers
>>> >>> >> > >> > Menaka
>>> >>> >> > >> >
>>> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >>> >> > >> > <ga...@noventussolutions.com>
>>> >>> >> > >> wrote:
>>> >>> >> > >> >
>>> >>> >> > >> >> Hi Menaka,
>>> >>> >> > >> >>
>>> >>> >> > >> >> I am very happy to help, and I understand the command
>>> structure
>>> >>> >> > >> >> is a little fluid right now. Thank you for the blog post; it
>>> >>> was
>>> >>> >> > >> >> very helpful.
>>> >>> >> > >> >>
>>> >>> >> > >> >> I am a little confused about your recursive example. Can you
>>> >>> >> > >> >> help me understand what you mean when you say the files will
>>> >>> get
>>> >>> >> > >> >> saved to the C directory? Because you show the output being
>>> >>> saved
>>> >>> >> > >> >> to:
>>> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>> >>> >> > >> >>
>>> >>> >> > >> >> This is the example:
>>> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >>> >> > >> >> Convert the files and save them in the C directory.
>>> >>> >> > >> >>
>>> >>> >> > >> >> Thank you!
>>> >>> >> > >> >>
>>> >>> >> > >> >> Gale
>>> >>> >> > >> >>
>>> >>> >> > >> >> B
>>> >>> >> > >> >>
>>> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>> >>> >> > >> >> <me...@gmail.com> wrote:
>>> >>> >> > >> >> > Hi Gale,
>>> >>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > 1) Is this still the basic structure of the command:
>>> tavlang
>>> >>> >> > convert
>>> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>> >>> >> > >> >> >> thinking
>>> >>> >> > that
>>> >>> >> > >> the
>>> >>> >> > >> >> >> output formats are handled as options?
>>> >>> >> > >> >> >
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > Yes there is a little difference in the structure of
>>> commands
>>> >>> >> > >> >> > now
>>> >>> >> > and
>>> >>> >> > >> >> then.
>>> >>> >> > >> >> > So for the moment the command structure is like this.
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>>> >>> >> > >> >> >
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
>>> what
>>> >>> >> > >> >> circumstances?
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > No. In recursive case the input will be a directory
>>> >>> containing
>>> >>> >> > >> .t2flow of
>>> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
>>> >>> recursive
>>> >>> >> > >> >> > and
>>> >>> >> > non
>>> >>> >> > >> >> > recursive cases.
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > I created a blog about the conversion command.
>>> >>> >> > >> >> >
>>> >>> >> > >> >>
>>> >>> >> > >>
>>> >>> >> >
>>> >>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >>> >> > age-command-line-conversion-documentation/
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > If you have some suggestions, please inform.
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > Thank you very much!
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > Regards
>>> >>> >> > >> >> > Menaka
>>> >>> >> > >> >> >
>>> >>> >> > >> >> > --
>>> >>> >> > >> >> > Menaka Madushanka Jayawardena
>>> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >>> University
>>> >>> >> > >> >> > of Peradeniyaya.
>>> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>> >> > >> >>
>>> >>> >> > >> >
>>> >>> >> > >> >
>>> >>> >> > >> >
>>> >>> >> > >> > --
>>> >>> >> > >> > Menaka Madushanka Jayawardena
>>> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University
>>> >>> of
>>> >>> >> > >> > Peradeniyaya.
>>> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>> >> > >>
>>> >>> >> > >
>>> >>> >> > >
>>> >>> >> > >
>>> >>> >> > > --
>>> >>> >> > > Menaka Madushanka Jayawardena
>>> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>>> of
>>> >>> >> > > Peradeniyaya.
>>> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>> >> >
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>> >> --
>>> >>> >> Menaka Madushanka Jayawardena
>>> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >>> >> Peradeniyaya.
>>> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>> >>
>>> >>> >
>>> >>> >
>>> >>> >
>>> >>> > --
>>> >>> > Menaka Madushanka Jayawardena
>>> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >>> > University of Peradeniyaya.
>>> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Menaka Madushanka Jayawardena
>>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> University of Peradeniyaya.
>>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
--
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hello Menaka,
I'm glad I was able to help! You are very welcome.
Gale
On Jul 1, 2015 11:24 PM, "Menaka Madushanka" <me...@gmail.com> wrote:
> Hello Gale,
> I really appreciate your grate support.
> I learnt a lot from you. Also I edited my blogs.
> These are not for any submission but to track the progress and for future
> use (completing the full documentation).
> But I noticed there were so many errors as I'm new to documentation and
> blogging. :-)
> However by now I was able to correct those errors with your kind support.
> Thank you very much Gale. :-)
> I hope that I could write the final documentation more successfully with
> the support that you have given me....
>
> Thank you very much for the effort, time and every thing that you spent for
> me.....
> Have a very nice vacation. :-)
>
> Cheers
> Menaka Madushanka
>
> On 1 July 2015 at 07:25, Gale Naylor <ga...@noventussolutions.com> wrote:
>
> > Hi Menaka,
> >
> > You are doing an excellent job on the documentation. I'm sorry for
> > bombarding you with feedback, but I wanted to help as much as possible
> > before I go on vacation.
> >
> > As I was reviewing your blog posts, I noticed that not all of the
> > words in the titles are capitalized as they should be.
> >
> > Also, is your initial post part of your deliverable documentation, or
> > has it been replaced by your later blog posts?
> >
> > Just a couple of things in the research object post:
> >
> > Taverna Language Command line tool – Conversion Documentation – Research
> > objects
> >
> > -- Use "the" in front of "following bundle formats" and use "into"
> > instead of "in to": "The Apache Taverna Language is capable of
> > converting the following bundle formats into Research Object bundles."
> > -- Use "development: instead of "development process": "The
> > conversion capability for other formats is still in development."
> > -- Use "is" instead of "in": "***The support for recursive
> > conversion or selecting the output file directory is not yet
> > included."
> >
> > Thanks!
> >
> > Gale
> >
> >
> > On Tue, Jun 30, 2015 at 6:08 PM, Gale Naylor
> > <ga...@noventussolutions.com> wrote:
> > > Hi Menaka,
> > >
> > > I looked at your validation documentation and I realized I have a
> > > question: If the validate command is run with no options, what
> > > happens? In other words, if you choose not to write the validation
> > > results to a log file, what does the command do? Write the results to
> > > the terminal? Does this need to be explained. (I guess I have the same
> > > question about the stats command.)
> > >
> > > Same comment as with stats documentation about adding sections with
> > > larger, and bold fonts to help with readability.
> > >
> > > Here are some additional comments:
> > >
> > > Apache Taverna Language Command line documentation – Validation
> > >
> > > -- Use "examining" rather than "examine": "The validation is done
> > > by examining the following factors/ problems."
> > > -- Use API instead of api, and use "consisting" instead of
> > > "consist: "The API returns a validation report consisting of problems
> > > that exist in the workflow."
> > > -- Instead of "type of the problem" use either "problem category"
> > > or "category of problem" and I suggest using "listed" instead of the
> > > first "shown": "If there are problems, those problems are listed under
> > > the problem category shown above."
> > > -- After "The command line tool can execute this validation
> > > process" how about saying " and tell the user if the workflow has
> > > errors/ problems and what they are." So the complete sentence would
> > > be: "The command line tool can execute this validation process and
> > > tell the user if the workflow has errors/ problems and what they are."
> > > -- Even though you only have one option, I would still put the
> > > option on the next line, like you did in the Stats documentation.
> > > -- Also, if it's possible it would be good to standardize the
> > > documentation to say either "Supported options" or "Options." You can
> > > use option(s) -- with the "s" in parentheses -- to mean it could be
> > > one option or more than one option.
> > > -- In the Usage section, you use [args]: "$tavlang validate
> > > [options][args] input_files." In the convert and research objects
> > > posts you use [arguments], and in stats you didn't list arguments at
> > > all, yet it looks to me like the command structure is similar. It
> > > would be good to be consistent and use either [args] or [arguments].
> > > -- In the stats post you say "Supported file formats: .t2flow and
> > > .wfbundle" using "and" and in the validate post you say "Supported
> > > input file formats:- .t2flow/ .wfbundle" using "/". Would it be
> > > possible to make these the same?
> > > -- At the end of your "example with options", how about this
> > > instead: "The output file contains the detailed report, including a
> > > list of the workflow problems."
> > >
> > > Good job on all the documentation!
> > >
> > > Gale
> > >
> > > On Tue, Jun 30, 2015 at 5:25 PM, Gale Naylor
> > > <ga...@noventussolutions.com> wrote:
> > >> Hi Menaka,
> > >>
> > >> I read your stats blog post; it looks good. I am not very familiar
> > >> with workflows, so I'm not sure I can comment a lot on your examples,
> > >> but I did list some things that appeared to me to be inconsistent.
> > >>
> > >> Also, I think it would be good to make at least a couple of different
> > >> sections and identify them with a larger, bold font, like you did in
> > >> the Convert command blog post. In the taverna-sculf2-api Readme file
> > >> (on github), they show "Usage" as a section:
> > >>
> >
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api
> > .
> > >> That might be a good idea. Then, if you use a smaller (but still bold)
> > >> font for the Verbose Mode sub-section and Normal Mode sub-section,
> > >> that will help the reader navigate your documentation. You could then
> > >> take out the second instance of "Verbose Mode" (between the two
> > >> verbose examples) like you did in the Normal Mode examples. Then, I
> > >> would also create a third sub-section called "Save Results to a Log
> > >> File" and below that put your example. The formatting you used in your
> > >> Convert command blog post worked well.
> > >>
> > >> A few other things:
> > >>
> > >> Apache Taverna Language Command line tool – Workflow Statistics
> > >>
> > >> -- Capitalize the first "API," hyphenate "scufl2-api" to match the
> > >> module name, and write "whatever" as one word: "The Taverna Language
> > >> API (sculf2-api) has several methods to set and retrieve those
> > >> resources whenever needed."
> > >> -- Instead of " The command line tool is capable of listing those
> > >> resources which a workflow file has." How about "The command line tool
> > >> is also capable of listing workflow file resources."
> > >> -- In the options section, you say "Save results in a log file"
> > >> (using "in") and in your example you say "Save results to a log file"
> > >> (using "to"). You might consider making those consistent.
> > >> -- In your verbose Hello World example, near the end did you mean
> > >> to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
> > >> rather than "Output Ports"?
> > >> -- In your verbose Workflow1 example, in your Data Links section,
> > >> you say " |--> DataLink parameters=>input" and then " |--> DataLink
> > >> output=>parameters." Should these statements both be formatted the
> > >> same and match the last item? Specifically, should they all end in
> > >> "==>input"? Or is there a reason for them to be different?
> > >>
> > >> That's all I can see!
> > >>
> > >> Gale
> > >>
> > >> On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
> > >> <me...@gmail.com> wrote:
> > >>> Hello Gale,
> > >>> Great feed back. :-)
> > >>> I did the modifications and now it looks great and clean....
> > >>>
> > >>> In statistics blog I did not add explanations much but examples. So
> > that it
> > >>> will be easy for you. :-)
> > >>> Thank you very much for the great help you are giving me.....!!!
> > >>> Please let me know if there anything that I could do and/ or need
> some
> > >>> clarifications.
> > >>>
> > >>> Thank you very much
> > >>> Menaka
> > >>>
> > >>> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
> > wrote:
> > >>>
> > >>>> Hi Menaka,
> > >>>>
> > >>>> The changes look great! But I missed one: You should add a "The" in
> > >>>> front of the inspection, validation, and statistics sentence, so it
> > >>>> reads: "The following file types are supported for inspection,
> > >>>> validation and statistics." (with a period at the end.) :-)
> > >>>>
> > >>>> I will take a look at your statistics blog post. Meanwhile, below
> are
> > >>>> some comments for the Conversion Documentation blog post. Of course,
> > >>>> let me know if I misunderstood anything you are trying to say.
> > >>>>
> > >>>> Apache Taverna Language Command line - Conversion Documentation
> > >>>>
> > >>>> Paragraph 1
> > >>>> -- Use "provides" instead of "gives" and "converting and
> > >>>> managing" instead of "convert and manage": "The Apache Taverna
> > >>>> Language provides a set of APIs for converting and managing workflow
> > >>>> bundles and Research Object bundles."
> > >>>>
> > >>>> Paragraph 3
> > >>>> -- Add "are:": "The basic functionalities of the tool
> are:"
> > >>>>
> > >>>> In the Conversion section
> > >>>> -- Use "also has" instead of "is also have": "The tool
> also
> > >>>> has the capability of converting bundles of several formats into
> > >>>> Research Object bundles."
> > >>>> -- Use "Refer to" instead of "Refer": " Refer to the
> > >>>> following blog for more information about converting bundle
> formats."
> > >>>>
> > >>>> In the Example usage section
> > >>>> -- Use "The user" instead of "User": "The user can
> specify
> > >>>> the way that the conversion should be done."
> > >>>>
> > >>>> In the Recursive conversion section
> > >>>> -- Use "the tool" and "the specified output format": " In
> > >>>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
> > >>>> files in the given directory into the specified output format."
> > >>>> -- I think you may have a typographical error: "out put"
> > >>>> instead of "output" -- it should be "The output will be...
> > >>>> /home/username/ ..."
> > >>>>
> > >>>> In the Non-recursive conversion section
> > >>>> -- Use "The user" instead of "User" and "need" instead of
> > >>>> "needed": "The user can use this mode to convert a specific workflow
> > >>>> into the format they need." (Or, even better would be to say, "The
> > >>>> user can use this mode to convert a specific work flow into the
> > >>>> required format."
> > >>>> -- Instead of "Here all the files that want to be
> converted
> > >>>> must specify separately as space separated values." I think it would
> > >>>> be better to say: "All files to be converted must be listed as
> > >>>> space-separated values."
> > >>>> -- The sentence that describes where files will be saved
> if
> > >>>> there is no specified output directory is a difficult one to write.
> I
> > >>>> had to think about it. Rather than saying "The converted files will
> be
> > >>>> saved in converted folder in each parent folder which contain the
> > >>>> input file." What if you said "The converted files will be saved in
> > >>>> the /converted folder in the input file's parent directory."? (And
> use
> > >>>> the "/" in front of converted to stress that it is a folder name?)
> > >>>> -- You need a comma after "Also." And use "are to be
> saved"
> > >>>> instead of "to be saved": "Also, users can specify the directory
> where
> > >>>> the converted files are to be saved."
> > >>>> -- In your footnote, "out put" should be one word:
> "output":
> > >>>> "*The tool can only manage one output file format at a time."
> > >>>>
> > >>>> Happy documenting!
> > >>>>
> > >>>> Gale
> > >>>>
> > >>>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
> > >>>> <me...@gmail.com> wrote:
> > >>>> > Thank you very much Gale.
> > >>>> > I did the modifications. :-)
> > >>>> > Actually, unless you give me this feedback, it would mislead the
> > readers.
> > >>>> > I'm very grateful for correcting me. :-)
> > >>>> >
> > >>>> > I just wrote the documentation for statistics.
> > >>>> >
> > >>>>
> >
> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
> > >>>> >
> > >>>> > Cheers
> > >>>> > Menaka
> > >>>> >
> > >>>> > On 30 June 2015 at 20:53, Gale Naylor <
> galen@noventussolutions.com>
> > >>>> wrote:
> > >>>> >
> > >>>> >> Hi Menaka,
> > >>>> >>
> > >>>> >> I'm so glad I could help. You've done a nice job on your blog
> > posts.
> > >>>> >> If you don't mind, I can suggest some slight wording changes
> that I
> > >>>> >> believe will make your meanings more clear. For example:
> > >>>> >>
> > >>>> >> Apache Taverna Language Command Line Tool – Supported functions
> > and file
> > >>>> >> types
> > >>>> >> Paragraph 1
> > >>>> >> -- Capitalize Taverna and Language: "The Apache
> Taverna
> > >>>> >> Language is still …"
> > >>>> >> -- Use "Currently" instead of "By now": "Currently the
> > tool
> > >>>> >> supports…"
> > >>>> >> Paragraph 2
> > >>>> >> -- Add "The" to the beginning of the sentence: "The
> > >>>> >> following file types are supported..."
> > >>>> >> -- I noticed you use .scufl2 in this blogpost, but
> > .t2flow
> > >>>> >> in the next blogpost.
> > >>>> >>
> > >>>> >> Please let me know if this kind of feedback would be helpful.
> > >>>> >>
> > >>>> >> Thanks,
> > >>>> >>
> > >>>> >> Gale
> > >>>> >>
> > >>>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
> > >>>> >> <me...@gmail.com> wrote:
> > >>>> >> > Yes Gale,
> > >>>> >> > I'm thinking on taking them as a reference. For the best, I
> have
> > some
> > >>>> >> much
> > >>>> >> > better doc from you. :-) :-)
> > >>>> >> >
> > >>>> >> > Thank you very much.
> > >>>> >> > Menaka
> > >>>> >> >
> > >>>> >> > On 30 June 2015 at 20:09, Gale Naylor <
> > galen@noventussolutions.com>
> > >>>> >> wrote:
> > >>>> >> >
> > >>>> >> >> Hi Menaka,
> > >>>> >> >>
> > >>>> >> >> Sounds great! Do you plan to use your blog to prepare the
> > >>>> documentation?
> > >>>> >> >>
> > >>>> >> >> Feel free to use anything I've prepared if it helps. And if I
> > can do
> > >>>> >> >> any more before I go on vacation, I will let you know.
> > >>>> >> >>
> > >>>> >> >> Thanks,
> > >>>> >> >>
> > >>>> >> >> Gale
> > >>>> >> >>
> > >>>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
> > >>>> >> >> <me...@gmail.com> wrote:
> > >>>> >> >> > Hi Gale,
> > >>>> >> >> >
> > >>>> >> >> > The tool is almost done I think. The functionalities,
> > >>>> >> >> > conversion,
> > >>>> >> >> > validation,
> > >>>> >> >> > inspection and
> > >>>> >> >> > statistics
> > >>>> >> >> >
> > >>>> >> >> > are done.
> > >>>> >> >> >
> > >>>> >> >> > So what remaining is, completing the documentation.
> > >>>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
> > >>>> >> >> >
> > >>>> >> >> >
> > >>>> >> >> >
> > >>>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <
> > galen@noventussolutions.com
> > >>>> >
> > >>>> >> >> wrote:
> > >>>> >> >> >
> > >>>> >> >> >> Hi Menaka,
> > >>>> >> >> >>
> > >>>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
> > >>>> however I
> > >>>> >> >> can.
> > >>>> >> >> >>
> > >>>> >> >> >> When do you expect to finish your project and
> documentation?
> > >>>> >> >> >>
> > >>>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll
> > try to
> > >>>> >> stay in
> > >>>> >> >> >> touch.
> > >>>> >> >> >>
> > >>>> >> >> >> Thanks,
> > >>>> >> >> >>
> > >>>> >> >> >> Gale
> > >>>> >> >> >>
> > >>>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> > >>>> >> >> >> <me...@gmail.com> wrote:
> > >>>> >> >> >> > Hello Gale,
> > >>>> >> >> >> > Great work. :-)
> > >>>> >> >> >> >
> > >>>> >> >> >> > I did notice the mygrid pages said the information was
> out
> > of
> > >>>> date.
> > >>>> >> >> >> >>
> > >>>> >> >> >> > Yes. I also faced the same condition when I was starting
> > the
> > >>>> >> project.
> > >>>> >> >> The
> > >>>> >> >> >> > documentation will be updated very soon as the project
> > releases.
> > >>>> >> :-)
> > >>>> >> >> >> >
> > >>>> >> >> >> > I am to write the full complete documentation for the
> > command
> > >>>> line
> > >>>> >> >> tool.
> > >>>> >> >> >> > I'll appreciate your support for it. :-)
> > >>>> >> >> >> >
> > >>>> >> >> >> > Cheers.
> > >>>> >> >> >> > Menaka
> > >>>> >> >> >> >
> > >>>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
> > >>>> galen@noventussolutions.com
> > >>>> >> >
> > >>>> >> >> >> wrote:
> > >>>> >> >> >> >
> > >>>> >> >> >> >> Hi Menaka,
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> >I found this doc in
> > >>>> >> >> >> >> >
> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> Thanks for the link. I also found this mygrid link:
> > >>>> >> >> >> >>
> > >>>> >> >>
> > >>>>
> > http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> > >>>> >> >> >> ,
> > >>>> >> >> >> >> which is very clear about the .wfbundle file extension.
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> I did notice the mygrid pages said the information was
> > out of
> > >>>> >> date.
> > >>>> >> >> >> >> So, I also looked at the taverna incubator
> documentation,
> > and
> > >>>> the
> > >>>> >> >> >> >> incubator SCUFL API page pointed me to a github page for
> > the
> > >>>> >> latest
> > >>>> >> >> >> >> information. I found the github SCUFL examples to be
> > helpful:
> > >>>> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> > >>>> >> >> >> >> .
> > >>>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes
> > the
> > >>>> >> >> conversion
> > >>>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
> > >>>> >> >> >> >> (
> > >>>> >> >>
> > >>>>
> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> > >>>> >> >> >> >> ), most of the references indicate the correct file
> > extension
> > >>>> is
> > >>>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my
> > mapping
> > >>>> >> >> table.
> > >>>> >> >> >> >> Please let me know if I missed something here.
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> I also updated the table to reflect the .wfbundle -->
> > .json and
> > >>>> >> >> >> >> .wfbundle --> .iwir mappings.
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> Thanks!
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> Gale
> > >>>> >> >> >> >>
> > >>>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> > >>>> >> >> >> >> <me...@gmail.com> wrote:
> > >>>> >> >> >> >> > Hi Gale,
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir
> > formats as
> > >>>> >> well
> > >>>> >> >> as
> > >>>> >> >> >> >> >> .structure?
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > Yes.
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of
> > Taverna 3
> > >>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
> > >>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> > >>>> >> >> >> (taverna-scufl2-api)?
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > I found this doc in
> > >>>> >> >> >> >> >
> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > Cheers
> > >>>> >> >> >> >> > Menaka
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
> > >>>> >> galen@noventussolutions.com
> > >>>> >> >> >
> > >>>> >> >> >> >> wrote:
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> >> Hi Menaka,
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> > According to the documentations provided, SCUFL is
> an
> > >>>> >> >> experimental
> > >>>> >> >> >> >> >> module.
> > >>>> >> >> >> >> >> > So It has not added to the tool yet.
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am
> a
> > >>>> visual
> > >>>> >> >> person,
> > >>>> >> >> >> >> >> I took the Taverna
> > >>>> >> >> >> >> >> Language Module information and created a diagram:
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> > The taverna language is capable of converting
> .t2flow
> > >>>> >> workflows
> > >>>> >> >> >> into
> > >>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into
> > formats
> > >>>> >> except
> > >>>> >> >> >> >> .t2flow.
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir
> > formats
> > >>>> as
> > >>>> >> >> well as
> > >>>> >> >> >> >> >> .structure?
> > >>>> >> >> >> >> >> If so, I will update my table.
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle
> is
> > the
> > >>>> >> format
> > >>>> >> >> of
> > >>>> >> >> >> >> >> Taverna
> > >>>> >> >> >> >> >> > 3)
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of
> > Taverna
> > >>>> 3
> > >>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
> > >>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> > >>>> >> >> >> (taverna-scufl2-api)?
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> > Input file type detection was done to avoid any
> > exceptions
> > >>>> >> when
> > >>>> >> >> >> >> reading
> > >>>> >> >> >> >> >> the
> > >>>> >> >> >> >> >> > wokflow file. ...
> > >>>> >> >> >> >> >> > In new_features2, I removed it because I have
> > entered the
> > >>>> >> wrong
> > >>>> >> >> >> >> logic. I
> > >>>> >> >> >> >> >> > restored it.
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> Okay, understood.
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> Thank you!
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> Gale
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> > >>>> >> >> >> >> >> <me...@gmail.com> wrote:
> > >>>> >> >> >> >> >> > Hi Gale,
> > >>>> >> >> >> >> >> > According to the documentations provided, SCUFL is
> an
> > >>>> >> >> experimental
> > >>>> >> >> >> >> >> module.
> > >>>> >> >> >> >> >> > So It has not added to the tool yet.
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted
> > to the
> > >>>> >> same
> > >>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not
> > correct,
> > >>>> >> let me
> > >>>> >> >> >> know
> > >>>> >> >> >> >> >> >> and I'll fix it.
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > The taverna language is capable of converting
> .t2flow
> > >>>> >> workflows
> > >>>> >> >> >> into
> > >>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into
> > formats
> > >>>> >> except
> > >>>> >> >> >> >> .t2flow.
> > >>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle
> is
> > the
> > >>>> >> format
> > >>>> >> >> of
> > >>>> >> >> >> >> >> Taverna
> > >>>> >> >> >> >> >> > 3)
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > Also, I was wondering about something you said in
> > one of
> > >>>> your
> > >>>> >> >> June
> > >>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language
> > pull
> > >>>> >> request:
> > >>>> >> >> New
> > >>>> >> >> >> >> >> >> features2).
> > >>>> >> >> >> >> >> >> You said "File type detection removed."
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> Which file type detection is this? Is this related
> > to
> > >>>> >> Stain's
> > >>>> >> >> June
> > >>>> >> >> >> >> 4th
> > >>>> >> >> >> >> >> >> email, in which he said the input format is
> > auto-guessed
> > >>>> by
> > >>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my
> > blog I
> > >>>> >> included
> > >>>> >> >> >> this
> > >>>> >> >> >> >> >> >> comment and I wanted to make sure it is still
> > accurate.
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > Input file type detection was done to avoid any
> > exceptions
> > >>>> >> when
> > >>>> >> >> >> >> reading
> > >>>> >> >> >> >> >> the
> > >>>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the
> > media
> > >>>> type
> > >>>> >> and
> > >>>> >> >> >> read
> > >>>> >> >> >> >> the
> > >>>> >> >> >> >> >> > bundle but, the input format could be wrongly
> > entered by
> > >>>> the
> > >>>> >> >> user.
> > >>>> >> >> >> We
> > >>>> >> >> >> >> >> can't
> > >>>> >> >> >> >> >> > promise that the user could always do the correct
> > thing.
> > >>>> >> Also in
> > >>>> >> >> >> >> >> recursive
> > >>>> >> >> >> >> >> > conversion, there could be other files also.
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > In new_features2, I removed it because I have
> > entered the
> > >>>> >> wrong
> > >>>> >> >> >> >> logic. I
> > >>>> >> >> >> >> >> > restored it.
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > Thank you
> > >>>> >> >> >> >> >> > Menaka
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
> > >>>> >> >> galen@noventussolutions.com
> > >>>> >> >> >> >
> > >>>> >> >> >> >> >> wrote:
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >> Hi Menaka,
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> A couple more things.
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> I am trying to organize my understanding of how
> the
> > >>>> >> conversions
> > >>>> >> >> >> work,
> > >>>> >> >> >> >> >> >> so I wrote a new blog post with a conversion
> table:
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be
> converted
> > to
> > >>>> the
> > >>>> >> same
> > >>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not
> > correct,
> > >>>> >> let me
> > >>>> >> >> >> know
> > >>>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats
> > also
> > >>>> be
> > >>>> >> >> listed?
> > >>>> >> >> >> >> The
> > >>>> >> >> >> >> >> >> table is my best guess from reading all of the
> > emails, so
> > >>>> >> >> please
> > >>>> >> >> >> let
> > >>>> >> >> >> >> >> >> me know if anything is wrong, or if I missed
> > something.
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> Also, I was wondering about something you said in
> > one of
> > >>>> >> your
> > >>>> >> >> June
> > >>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language
> > pull
> > >>>> >> request:
> > >>>> >> >> New
> > >>>> >> >> >> >> >> >> features2).
> > >>>> >> >> >> >> >> >> You said "File type detection removed."
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> Which file type detection is this? Is this related
> > to
> > >>>> >> Stain's
> > >>>> >> >> June
> > >>>> >> >> >> >> 4th
> > >>>> >> >> >> >> >> >> email, in which he said the input format is
> > auto-guessed
> > >>>> by
> > >>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my
> > blog I
> > >>>> >> included
> > >>>> >> >> >> this
> > >>>> >> >> >> >> >> >> comment and I wanted to make sure it is still
> > accurate.
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> Thanks!
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> Gale
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka
> Madushanka
> > >>>> >> >> >> >> >> >> <me...@gmail.com> wrote:
> > >>>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
> > >>>> >> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> > >>>> >> >> >> menaka12350@gmail.com
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> >> >> wrote:
> > >>>> >> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >> >> Hi Gale,
> > >>>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my
> blogs.
> > I'm
> > >>>> very
> > >>>> >> >> new
> > >>>> >> >> >> and
> > >>>> >> >> >> >> >> there
> > >>>> >> >> >> >> >> >> >> could be some flows. Thank you very much for
> > showing
> > >>>> >> them.
> > >>>> >> >> :-)
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
> > >>>> converted
> > >>>> >> >> are
> > >>>> >> >> >> >> listed
> > >>>> >> >> >> >> >> in
> > >>>> >> >> >> >> >> >> >> this blog.
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> > >>>> >> >> >> >> >> >> >> The bundles are not workflows.
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it
> > somewhat
> > >>>> >> >> >> >> misleading.....
> > >>>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles.
> Those
> > are
> > >>>> two
> > >>>> >> >> >> different
> > >>>> >> >> >> >> >> APIs.
> > >>>> >> >> >> >> >> >> >> I'll update the blog. :-)
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor
> wfbundle
> > >>>> could be
> > >>>> >> >> >> >> converted
> > >>>> >> >> >> >> >> into
> > >>>> >> >> >> >> >> >> >> robundle.
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done.
> > Other
> > >>>> >> wise
> > >>>> >> >> it
> > >>>> >> >> >> >> looks
> > >>>> >> >> >> >> >> like
> > >>>> >> >> >> >> >> >> >> any format could be converted into Robundle.
> I'll
> > >>>> update
> > >>>> >> my
> > >>>> >> >> >> blog
> > >>>> >> >> >> >> too.
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> Are there any more facts that need
> clarification
> > about
> > >>>> >> the
> > >>>> >> >> >> blogs
> > >>>> >> >> >> >> >> please
> > >>>> >> >> >> >> >> >> >> ask me. :)
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> Thank you very much Gale.
> > >>>> >> >> >> >> >> >> >> Menaka
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> > >>>> >> >> >> >> galen@noventussolutions.com>
> > >>>> >> >> >> >> >> >> wrote:
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >>> Hi Menaka,
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> I've been reading and learning more about
> > research
> > >>>> >> objects,
> > >>>> >> >> >> and I
> > >>>> >> >> >> >> >> >> >>> think I understand better what is going on,
> but
> > I
> > >>>> still
> > >>>> >> >> have
> > >>>> >> >> >> some
> > >>>> >> >> >> >> >> >> >>> questions.
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can*
> be
> > >>>> >> converted
> > >>>> >> >> to
> > >>>> >> >> >> >> >> .robundle
> > >>>> >> >> >> >> >> >> >>> format? (I must have missed something because
> I
> > >>>> thought
> > >>>> >> >> >> .t2flow
> > >>>> >> >> >> >> and
> > >>>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file
> > types.)
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I
> see
> > you
> > >>>> say
> > >>>> >> >> that
> > >>>> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> command line tool is for converting and
> managing
> > >>>> >> workflow
> > >>>> >> >> >> >> "bundles"
> > >>>> >> >> >> >> >> as
> > >>>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow
> > files
> > >>>> >> "workflow
> > >>>> >> >> >> >> bundles"
> > >>>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a
> practical
> > >>>> >> >> difference?
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
> > >>>> conversions
> > >>>> >> >> are
> > >>>> >> >> >> >> valid.
> > >>>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your
> > June
> > >>>> 18th
> > >>>> >> >> blog
> > >>>> >> >> >> post
> > >>>> >> >> >> >> >> you
> > >>>> >> >> >> >> >> >> >>> say:
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> "The conversion function supports converting
> > .t2flow
> > >>>> and
> > >>>> >> >> >> >> .wfbundle
> > >>>> >> >> >> >> >> >> >>> formats into following formats:
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> .structure
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> .json
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> .iwir
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> .wfbundle
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> To me, reading this looks like all
> combinations
> > are
> > >>>> >> valid.
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle
> > files
> > >>>> be
> > >>>> >> >> >> converted
> > >>>> >> >> >> >> to
> > >>>> >> >> >> >> >> >> >>> all file types *except* robundle?
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post.
> > Should I
> > >>>> also
> > >>>> >> >> change
> > >>>> >> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> --robundle option description to say "Output
> > bundle
> > >>>> as
> > >>>> >> >> >> .robundle"
> > >>>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ?
> > (Same for
> > >>>> >> >> >> .wfbundle
> > >>>> >> >> >> >> >> >> >>> option.)
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link
> to
> > the
> > >>>> >> >> example!
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> Have a nice weekend.
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> Gale
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
> > Madushanka
> > >>>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
> > >>>> >> >> >> >> >> >> >>> > Hi Gale,
> > >>>> >> >> >> >> >> >> >>> > Use this link
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> > Cheers
> > >>>> >> >> >> >> >> >> >>> > Menaka
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> > >>>> >> >> >> >> >> galen@noventussolutions.com>
> > >>>> >> >> >> >> >> >> >>> wrote:
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> >> Hi Menaka,
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
> > >>>> >> information.
> > >>>> >> >> >> Sorry
> > >>>> >> >> >> >> not
> > >>>> >> >> >> >> >> to
> > >>>> >> >> >> >> >> >> >>> respond
> > >>>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc.
> and
> > >>>> reading
> > >>>> >> >> the
> > >>>> >> >> >> link
> > >>>> >> >> >> >> >> you
> > >>>> >> >> >> >> >> >> >>> sent.
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to
> the
> > >>>> example
> > >>>> >> in
> > >>>> >> >> the
> > >>>> >> >> >> >> >> Examples
> > >>>> >> >> >> >> >> >> >>> of Use
> > >>>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
> > >>>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so
> > far:
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is
> > not
> > >>>> the
> > >>>> >> web
> > >>>> >> >> >> page
> > >>>> >> >> >> >> you
> > >>>> >> >> >> >> >> are
> > >>>> >> >> >> >> >> >> >>> >> looking
> > >>>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link
> address:
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> > >>>> >> >> >> >> >> >> >>> >> )
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> - Entering
> > >>>> "org.apache.taverna.robundle.TestExample"
> > >>>> >> >> also
> > >>>> >> >> >> >> doesn't
> > >>>> >> >> >> >> >> >> work
> > >>>> >> >> >> >> >> >> >>> for
> > >>>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried
> > anyway.
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle
> > TestExample" on
> > >>>> the
> > >>>> >> >> main
> > >>>> >> >> >> >> >> >> Apache.com
> > >>>> >> >> >> >> >> >> >>> page
> > >>>> >> >> >> >> >> >> >>> >> yields no results.
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> I will continue to read and understand the
> RO
> > >>>> Bundle
> > >>>> >> API
> > >>>> >> >> >> page,
> > >>>> >> >> >> >> >> but I
> > >>>> >> >> >> >> >> >> >>> would
> > >>>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if
> > possible.
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> Thanks!
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> Gale
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> -----Original Message-----
> > >>>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
> > >>>> >> menaka12350@gmail.com]
> > >>>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> > >>>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> > >>>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line
> > tool -
> > >>>> >> >> convert
> > >>>> >> >> >> >> command
> > >>>> >> >> >> >> >> >> doc
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
> > >>>> >> >> >> >> >> >> >>> >> Correction:
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple
> > input
> > >>>> >> files, no
> > >>>> >> >> >> >> options
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle
> > /someFile1.wfbundle
> > >>>> >> >> >> >> >> >> /someFile2.wfbundle
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
> > >>>> >> >> */someFile2.wfbundle*
> > >>>> >> >> >> >> into
> > >>>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output
> > files to
> > >>>> >> the
> > >>>> >> >> >> >> >> */converted*
> > >>>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
> > >>>> .wfbundles/.t2flow
> > >>>> >> >> into
> > >>>> >> >> >> >> >> robundle
> > >>>> >> >> >> >> >> >> >>> format.
> > >>>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats.
> Go
> > >>>> through
> > >>>> >> >> this
> > >>>> >> >> >> doc
> > >>>> >> >> >> >> >> for
> > >>>> >> >> >> >> >> >> more
> > >>>> >> >> >> >> >> >> >>> >> info.
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >> >>
> > >>>> >>
> > >>>>
> >
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> cheers.
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> > >>>> >> >> >> >> >> galen@noventussolutions.com>
> > >>>> >> >> >> >> >> >> >>> wrote:
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka!
> I
> > have
> > >>>> >> >> changed
> > >>>> >> >> >> the
> > >>>> >> >> >> >> two
> > >>>> >> >> >> >> >> >> blog
> > >>>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks
> > great.
> > >>>> I
> > >>>> >> also
> > >>>> >> >> >> made
> > >>>> >> >> >> >> a
> > >>>> >> >> >> >> >> few
> > >>>> >> >> >> >> >> >> >>> >> > refinements.
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>> >> > Thanks,
> > >>>> >> >> >> >> >> >> >>> >> > Gale
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
> > >>>> Madushanka
> > >>>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
> > >>>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > I showed the output-format without
> > brackets to
> > >>>> >> >> indicate
> > >>>> >> >> >> >> it is
> > >>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it
> > appears
> > >>>> to
> > >>>> >> be
> > >>>> >> >> >> always
> > >>>> >> >> >> >> >> >> >>> necessary
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think.
> I'm
> > very
> > >>>> new
> > >>>> >> >> for
> > >>>> >> >> >> >> >> >> >>> documentation.
> > >>>> >> >> >> >> >> >> >>> >> > Thank
> > >>>> >> >> >> >> >> >> >>> >> > > you very much.
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as
> > having a
> > >>>> >> >> single
> > >>>> >> >> >> >> dash,
> > >>>> >> >> >> >> >> but
> > >>>> >> >> >> >> >> >> all
> > >>>> >> >> >> >> >> >> >>> >> > >> the other output types have
> > double-dashes.
> > >>>> >> Should I
> > >>>> >> >> >> >> change
> > >>>> >> >> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> json
> > >>>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email
> that
> > was a
> > >>>> >> >> >> mistake. So
> > >>>> >> >> >> >> >> you
> > >>>> >> >> >> >> >> >> can
> > >>>> >> >> >> >> >> >> >>> >> > > use
> > >>>> >> >> >> >> >> >> >>> >> > --.
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because
> > it is
> > >>>> >> showing
> > >>>> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> >> > > double-dashes
> > >>>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use
> > the
> > >>>> >> >> monospace
> > >>>> >> >> >> >> >> >> font-family.
> > >>>> >> >> >> >> >> >> >>> >> > >> Any
> > >>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but
> > not us.
> > >>>> >> :-)
> > >>>> >> >> Use
> > >>>> >> >> >> >> >> >> >>> preformatted.
> > >>>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I
> > updated
> > >>>> my
> > >>>> >> >> blog.
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >>
> > https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> > >>>> >> >> >> >> >> >> >>> >> >
> age-command-line-conversion-documentation/
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > Thank you very much.
> > >>>> >> >> >> >> >> >> >>> >> > > Menaka
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> > >>>> >> >> >> >> >> >> galen@noventussolutions.com
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> >> > wrote:
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have
> > some
> > >>>> >> >> additional
> > >>>> >> >> >> >> >> feedback
> > >>>> >> >> >> >> >> >> in
> > >>>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
> > >>>> detailed
> > >>>> >> >> >> >> description
> > >>>> >> >> >> >> >> (as
> > >>>> >> >> >> >> >> >> I
> > >>>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command
> > and one
> > >>>> >> has
> > >>>> >> >> >> several
> > >>>> >> >> >> >> >> >> >>> examples,
> > >>>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog.
> > I hope
> > >>>> >> these
> > >>>> >> >> >> will
> > >>>> >> >> >> >> >> help
> > >>>> >> >> >> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure.
> > Here are
> > >>>> >> the
> > >>>> >> >> >> links:
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >>
> > https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> > >>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >>
> > https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> > >>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> Some things to note:
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th
> > post,
> > >>>> but a
> > >>>> >> few
> > >>>> >> >> >> >> things
> > >>>> >> >> >> >> >> >> (like
> > >>>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
> > >>>> >> >> posts/emails.
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
> > >>>> brackets
> > >>>> >> to
> > >>>> >> >> >> >> indicate
> > >>>> >> >> >> >> >> it
> > >>>> >> >> >> >> >> >> is
> > >>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it
> > appears
> > >>>> to
> > >>>> >> be
> > >>>> >> >> >> always
> > >>>> >> >> >> >> >> >> >>> necessary.
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall
> > command
> > >>>> >> >> >> structure,
> > >>>> >> >> >> >> it
> > >>>> >> >> >> >> >> >> seemed
> > >>>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output
> file
> > >>>> >> directory)
> > >>>> >> >> >> should
> > >>>> >> >> >> >> >> come
> > >>>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's
> > what I
> > >>>> >> >> assumed.
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type
> as
> > >>>> having
> > >>>> >> a
> > >>>> >> >> >> single
> > >>>> >> >> >> >> >> dash,
> > >>>> >> >> >> >> >> >> but
> > >>>> >> >> >> >> >> >> >>> >> > >> all the other output types have
> > >>>> double-dashes.
> > >>>> >> >> Should
> > >>>> >> >> >> I
> > >>>> >> >> >> >> >> change
> > >>>> >> >> >> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is
> > incorrect
> > >>>> and
> > >>>> >> I
> > >>>> >> >> will
> > >>>> >> >> >> >> >> change
> > >>>> >> >> >> >> >> >> it.
> > >>>> >> >> >> >> >> >> >>> I
> > >>>> >> >> >> >> >> >> >>> >> > >> realize the command structure is
> fluid,
> > and
> > >>>> I'm
> > >>>> >> >> happy
> > >>>> >> >> >> to
> > >>>> >> >> >> >> >> make
> > >>>> >> >> >> >> >> >> any
> > >>>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because
> > it is
> > >>>> >> >> showing
> > >>>> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes,
> > even
> > >>>> when I
> > >>>> >> >> use
> > >>>> >> >> >> the
> > >>>> >> >> >> >> >> >> monospace
> > >>>> >> >> >> >> >> >> >>> >> > >> font-family. Any
> > >>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> Thanks,
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> Gale
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM,
> Menaka
> > >>>> >> Madushanka
> > >>>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> > >>>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
> > >>>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you
> > say the
> > >>>> >> files
> > >>>> >> >> >> will
> > >>>> >> >> >> >> get
> > >>>> >> >> >> >> >> >> saved
> > >>>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated
> the
> > blog.
> > >>>> >> That
> > >>>> >> >> >> >> should be
> > >>>> >> >> >> >> >> >> >>> >> > >> > corrected
> > >>>> >> >> >> >> >> >> >>> >> > as
> > >>>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> > >>>> >> >> >> >> /home/usrname/toConvert/ –>
> > >>>> >> >> >> >> >> >> >>> >> > >> > *Convert
> > >>>> >> >> >> >> >> >> >>> >> > the
> > >>>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
> > >>>> >> …/toConvert/converted/
> > >>>> >> >> >> >> >> directory.
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
> > >>>> >> modifications
> > >>>> >> >> >> etc. So
> > >>>> >> >> >> >> >> with
> > >>>> >> >> >> >> >> >> the
> > >>>> >> >> >> >> >> >> >>> >> > >> > help
> > >>>> >> >> >> >> >> >> >>> >> > of
> > >>>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with
> a
> > much
> > >>>> >> better
> > >>>> >> >> >> >> >> structure.
> > >>>> >> >> >> >> >> >> >>> >> > >> > Cheers
> > >>>> >> >> >> >> >> >> >>> >> > >> > Menaka
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale
> Naylor
> > >>>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> > >>>> >> >> >> >> >> >> >>> >> > >> wrote:
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I
> > understand
> > >>>> the
> > >>>> >> >> >> command
> > >>>> >> >> >> >> >> >> structure
> > >>>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank
> > you for
> > >>>> >> the
> > >>>> >> >> blog
> > >>>> >> >> >> >> >> post; it
> > >>>> >> >> >> >> >> >> >>> was
> > >>>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
> > >>>> recursive
> > >>>> >> >> >> example.
> > >>>> >> >> >> >> Can
> > >>>> >> >> >> >> >> you
> > >>>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean
> > when you
> > >>>> say
> > >>>> >> >> the
> > >>>> >> >> >> >> files
> > >>>> >> >> >> >> >> will
> > >>>> >> >> >> >> >> >> >>> get
> > >>>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because
> > you show
> > >>>> >> the
> > >>>> >> >> >> output
> > >>>> >> >> >> >> >> being
> > >>>> >> >> >> >> >> >> >>> saved
> > >>>> >> >> >> >> >> >> >>> >> > >> >> to:
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> /home/usrname/toConvert/converted/somefile1.json
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
> > >>>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> > >>>> >> >> >> >> /home/usrname/toConvert/ –>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in
> > the C
> > >>>> >> >> directory.
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> Gale
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> B
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM,
> > Menaka
> > >>>> >> >> Madushanka
> > >>>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help.
> > Thank
> > >>>> you
> > >>>> >> >> very
> > >>>> >> >> >> >> much.
> > >>>> >> >> >> >> >> :-)
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic
> > structure of
> > >>>> the
> > >>>> >> >> >> command:
> > >>>> >> >> >> >> >> >> tavlang
> > >>>> >> >> >> >> >> >> >>> >> > convert
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
> > >>>> files>?
> > >>>> >> Am I
> > >>>> >> >> >> >> wrong in
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
> > >>>> >> >> >> >> >> >> >>> >> > that
> > >>>> >> >> >> >> >> >> >>> >> > >> the
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as
> > options?
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference
> > in the
> > >>>> >> >> >> structure of
> > >>>> >> >> >> >> >> >> commands
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > now
> > >>>> >> >> >> >> >> >> >>> >> > and
> > >>>> >> >> >> >> >> >> >>> >> > >> >> then.
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command
> > structure
> > >>>> is
> > >>>> >> >> like
> > >>>> >> >> >> >> this.
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put
> format]
> > >>>> >> [options]
> > >>>> >> >> >> >> >> [arguments]
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
> > >>>> independently?
> > >>>> >> If
> > >>>> >> >> so,
> > >>>> >> >> >> >> under
> > >>>> >> >> >> >> >> >> what
> > >>>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input
> > will be
> > >>>> a
> > >>>> >> >> >> directory
> > >>>> >> >> >> >> >> >> >>> containing
> > >>>> >> >> >> >> >> >> >>> >> > >> .t2flow of
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir
> is
> > >>>> optional
> > >>>> >> >> for
> > >>>> >> >> >> both
> > >>>> >> >> >> >> >> >> >>> recursive
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > and
> > >>>> >> >> >> >> >> >> >>> >> > non
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the
> > conversion
> > >>>> >> command.
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >>
> > >>>> >>
> > https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> > >>>> >> >> >> >> >> >> >>> >> >
> age-command-line-conversion-documentation/
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions,
> > please
> > >>>> >> inform.
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Regards
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
> > >>>> >> >> >> >> >> >> >>> >> > >> >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > --
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> > >>>> >> >> >> http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> >> >> >>> University
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> > >>>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
> > >>>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >> >> >> >> >>> >> > >> >>
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> >
> > >>>> >> >> >> >> >> >> >>> >> > >> > --
> > >>>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
> > >>>> >> >> http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> >> >> University
> > >>>> >> >> >> >> >> >> >>> of
> > >>>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
> > >>>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
> > >>>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >> >> >> >> >>> >> > >>
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > >
> > >>>> >> >> >> >> >> >> >>> >> > > --
> > >>>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
> > >>>> >> http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> >> University
> > >>>> >> >> >> >> >> >> of
> > >>>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
> > >>>> >> >> >> >> >> >> >>> >> > > LinkedIn <
> > >>>> >> >> http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >> >> >> >> >>> >> >
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >> --
> > >>>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <
> > http://www.pdn.ac.lk/eng
> > >>>> >
> > >>>> >> >> >> >> University of
> > >>>> >> >> >> >> >> >> >>> >> Peradeniyaya.
> > >>>> >> >> >> >> >> >> >>> >> LinkedIn <
> > >>>> >> http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >> >> >> >> >>> >>
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> >
> > >>>> >> >> >> >> >> >> >>> > --
> > >>>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> >>> > Faculty of Engineering, <
> > http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
> > >>>> >> >> >> >> >> >> >>> > LinkedIn <
> > >>>> http://lk.linkedin.com/in/menakajayawardena
> > >>>> >> >
> > >>>> >> >> >> >> >> >> >>>
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >> --
> > >>>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> >> Faculty of Engineering, <
> > http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> >> >> >> University of Peradeniyaya.
> > >>>> >> >> >> >> >> >> >> LinkedIn <
> > http://lk.linkedin.com/in/menakajayawardena
> > >>>> >
> > >>>> >> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >> > --
> > >>>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> >> > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng
> > >
> > >>>> >> >> >> >> >> >> > University of Peradeniyaya.
> > >>>> >> >> >> >> >> >> > LinkedIn <
> > http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >> >> >> >>
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> >
> > >>>> >> >> >> >> >> > --
> > >>>> >> >> >> >> >> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> >> > University of Peradeniyaya.
> > >>>> >> >> >> >> >> > LinkedIn <
> > http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >> >> >>
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> >
> > >>>> >> >> >> >> > --
> > >>>> >> >> >> >> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> >> > University of Peradeniyaya.
> > >>>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena
> >
> > >>>> >> >> >> >>
> > >>>> >> >> >> >
> > >>>> >> >> >> >
> > >>>> >> >> >> >
> > >>>> >> >> >> > --
> > >>>> >> >> >> > Menaka Madushanka Jayawardena
> > >>>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>>> >> >> >> > University of Peradeniyaya.
> > >>>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >> >>
> > >>>> >> >> >
> > >>>> >> >> >
> > >>>> >> >> >
> > >>>> >> >> > --
> > >>>> >> >> > Menaka Madushanka Jayawardena
> > >>>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>>> >> >> > University of Peradeniyaya.
> > >>>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >> >>
> > >>>> >> >
> > >>>> >> >
> > >>>> >> >
> > >>>> >> > --
> > >>>> >> > Menaka Madushanka Jayawardena
> > >>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>>> >> > University of Peradeniyaya.
> > >>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > >>>> >>
> > >>>> >>
> > >>>> >
> > >>>> >
> > >>>> > --
> > >>>> > Menaka Madushanka Jayawardena
> > >>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>>> > University of Peradeniyaya.
> > >>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > >>>>
> > >>>>
> > >>>
> > >>>
> > >>> --
> > >>> Menaka Madushanka Jayawardena
> > >>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > >>> University of Peradeniyaya.
> > >>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hello Gale,
I really appreciate your grate support.
I learnt a lot from you. Also I edited my blogs.
These are not for any submission but to track the progress and for future
use (completing the full documentation).
But I noticed there were so many errors as I'm new to documentation and
blogging. :-)
However by now I was able to correct those errors with your kind support.
Thank you very much Gale. :-)
I hope that I could write the final documentation more successfully with
the support that you have given me....
Thank you very much for the effort, time and every thing that you spent for
me.....
Have a very nice vacation. :-)
Cheers
Menaka Madushanka
On 1 July 2015 at 07:25, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> You are doing an excellent job on the documentation. I'm sorry for
> bombarding you with feedback, but I wanted to help as much as possible
> before I go on vacation.
>
> As I was reviewing your blog posts, I noticed that not all of the
> words in the titles are capitalized as they should be.
>
> Also, is your initial post part of your deliverable documentation, or
> has it been replaced by your later blog posts?
>
> Just a couple of things in the research object post:
>
> Taverna Language Command line tool – Conversion Documentation – Research
> objects
>
> -- Use "the" in front of "following bundle formats" and use "into"
> instead of "in to": "The Apache Taverna Language is capable of
> converting the following bundle formats into Research Object bundles."
> -- Use "development: instead of "development process": "The
> conversion capability for other formats is still in development."
> -- Use "is" instead of "in": "***The support for recursive
> conversion or selecting the output file directory is not yet
> included."
>
> Thanks!
>
> Gale
>
>
> On Tue, Jun 30, 2015 at 6:08 PM, Gale Naylor
> <ga...@noventussolutions.com> wrote:
> > Hi Menaka,
> >
> > I looked at your validation documentation and I realized I have a
> > question: If the validate command is run with no options, what
> > happens? In other words, if you choose not to write the validation
> > results to a log file, what does the command do? Write the results to
> > the terminal? Does this need to be explained. (I guess I have the same
> > question about the stats command.)
> >
> > Same comment as with stats documentation about adding sections with
> > larger, and bold fonts to help with readability.
> >
> > Here are some additional comments:
> >
> > Apache Taverna Language Command line documentation – Validation
> >
> > -- Use "examining" rather than "examine": "The validation is done
> > by examining the following factors/ problems."
> > -- Use API instead of api, and use "consisting" instead of
> > "consist: "The API returns a validation report consisting of problems
> > that exist in the workflow."
> > -- Instead of "type of the problem" use either "problem category"
> > or "category of problem" and I suggest using "listed" instead of the
> > first "shown": "If there are problems, those problems are listed under
> > the problem category shown above."
> > -- After "The command line tool can execute this validation
> > process" how about saying " and tell the user if the workflow has
> > errors/ problems and what they are." So the complete sentence would
> > be: "The command line tool can execute this validation process and
> > tell the user if the workflow has errors/ problems and what they are."
> > -- Even though you only have one option, I would still put the
> > option on the next line, like you did in the Stats documentation.
> > -- Also, if it's possible it would be good to standardize the
> > documentation to say either "Supported options" or "Options." You can
> > use option(s) -- with the "s" in parentheses -- to mean it could be
> > one option or more than one option.
> > -- In the Usage section, you use [args]: "$tavlang validate
> > [options][args] input_files." In the convert and research objects
> > posts you use [arguments], and in stats you didn't list arguments at
> > all, yet it looks to me like the command structure is similar. It
> > would be good to be consistent and use either [args] or [arguments].
> > -- In the stats post you say "Supported file formats: .t2flow and
> > .wfbundle" using "and" and in the validate post you say "Supported
> > input file formats:- .t2flow/ .wfbundle" using "/". Would it be
> > possible to make these the same?
> > -- At the end of your "example with options", how about this
> > instead: "The output file contains the detailed report, including a
> > list of the workflow problems."
> >
> > Good job on all the documentation!
> >
> > Gale
> >
> > On Tue, Jun 30, 2015 at 5:25 PM, Gale Naylor
> > <ga...@noventussolutions.com> wrote:
> >> Hi Menaka,
> >>
> >> I read your stats blog post; it looks good. I am not very familiar
> >> with workflows, so I'm not sure I can comment a lot on your examples,
> >> but I did list some things that appeared to me to be inconsistent.
> >>
> >> Also, I think it would be good to make at least a couple of different
> >> sections and identify them with a larger, bold font, like you did in
> >> the Convert command blog post. In the taverna-sculf2-api Readme file
> >> (on github), they show "Usage" as a section:
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api
> .
> >> That might be a good idea. Then, if you use a smaller (but still bold)
> >> font for the Verbose Mode sub-section and Normal Mode sub-section,
> >> that will help the reader navigate your documentation. You could then
> >> take out the second instance of "Verbose Mode" (between the two
> >> verbose examples) like you did in the Normal Mode examples. Then, I
> >> would also create a third sub-section called "Save Results to a Log
> >> File" and below that put your example. The formatting you used in your
> >> Convert command blog post worked well.
> >>
> >> A few other things:
> >>
> >> Apache Taverna Language Command line tool – Workflow Statistics
> >>
> >> -- Capitalize the first "API," hyphenate "scufl2-api" to match the
> >> module name, and write "whatever" as one word: "The Taverna Language
> >> API (sculf2-api) has several methods to set and retrieve those
> >> resources whenever needed."
> >> -- Instead of " The command line tool is capable of listing those
> >> resources which a workflow file has." How about "The command line tool
> >> is also capable of listing workflow file resources."
> >> -- In the options section, you say "Save results in a log file"
> >> (using "in") and in your example you say "Save results to a log file"
> >> (using "to"). You might consider making those consistent.
> >> -- In your verbose Hello World example, near the end did you mean
> >> to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
> >> rather than "Output Ports"?
> >> -- In your verbose Workflow1 example, in your Data Links section,
> >> you say " |--> DataLink parameters=>input" and then " |--> DataLink
> >> output=>parameters." Should these statements both be formatted the
> >> same and match the last item? Specifically, should they all end in
> >> "==>input"? Or is there a reason for them to be different?
> >>
> >> That's all I can see!
> >>
> >> Gale
> >>
> >> On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >>> Hello Gale,
> >>> Great feed back. :-)
> >>> I did the modifications and now it looks great and clean....
> >>>
> >>> In statistics blog I did not add explanations much but examples. So
> that it
> >>> will be easy for you. :-)
> >>> Thank you very much for the great help you are giving me.....!!!
> >>> Please let me know if there anything that I could do and/ or need some
> >>> clarifications.
> >>>
> >>> Thank you very much
> >>> Menaka
> >>>
> >>> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >>>
> >>>> Hi Menaka,
> >>>>
> >>>> The changes look great! But I missed one: You should add a "The" in
> >>>> front of the inspection, validation, and statistics sentence, so it
> >>>> reads: "The following file types are supported for inspection,
> >>>> validation and statistics." (with a period at the end.) :-)
> >>>>
> >>>> I will take a look at your statistics blog post. Meanwhile, below are
> >>>> some comments for the Conversion Documentation blog post. Of course,
> >>>> let me know if I misunderstood anything you are trying to say.
> >>>>
> >>>> Apache Taverna Language Command line - Conversion Documentation
> >>>>
> >>>> Paragraph 1
> >>>> -- Use "provides" instead of "gives" and "converting and
> >>>> managing" instead of "convert and manage": "The Apache Taverna
> >>>> Language provides a set of APIs for converting and managing workflow
> >>>> bundles and Research Object bundles."
> >>>>
> >>>> Paragraph 3
> >>>> -- Add "are:": "The basic functionalities of the tool are:"
> >>>>
> >>>> In the Conversion section
> >>>> -- Use "also has" instead of "is also have": "The tool also
> >>>> has the capability of converting bundles of several formats into
> >>>> Research Object bundles."
> >>>> -- Use "Refer to" instead of "Refer": " Refer to the
> >>>> following blog for more information about converting bundle formats."
> >>>>
> >>>> In the Example usage section
> >>>> -- Use "The user" instead of "User": "The user can specify
> >>>> the way that the conversion should be done."
> >>>>
> >>>> In the Recursive conversion section
> >>>> -- Use "the tool" and "the specified output format": " In
> >>>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
> >>>> files in the given directory into the specified output format."
> >>>> -- I think you may have a typographical error: "out put"
> >>>> instead of "output" -- it should be "The output will be...
> >>>> /home/username/ ..."
> >>>>
> >>>> In the Non-recursive conversion section
> >>>> -- Use "The user" instead of "User" and "need" instead of
> >>>> "needed": "The user can use this mode to convert a specific workflow
> >>>> into the format they need." (Or, even better would be to say, "The
> >>>> user can use this mode to convert a specific work flow into the
> >>>> required format."
> >>>> -- Instead of "Here all the files that want to be converted
> >>>> must specify separately as space separated values." I think it would
> >>>> be better to say: "All files to be converted must be listed as
> >>>> space-separated values."
> >>>> -- The sentence that describes where files will be saved if
> >>>> there is no specified output directory is a difficult one to write. I
> >>>> had to think about it. Rather than saying "The converted files will be
> >>>> saved in converted folder in each parent folder which contain the
> >>>> input file." What if you said "The converted files will be saved in
> >>>> the /converted folder in the input file's parent directory."? (And use
> >>>> the "/" in front of converted to stress that it is a folder name?)
> >>>> -- You need a comma after "Also." And use "are to be saved"
> >>>> instead of "to be saved": "Also, users can specify the directory where
> >>>> the converted files are to be saved."
> >>>> -- In your footnote, "out put" should be one word: "output":
> >>>> "*The tool can only manage one output file format at a time."
> >>>>
> >>>> Happy documenting!
> >>>>
> >>>> Gale
> >>>>
> >>>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
> >>>> <me...@gmail.com> wrote:
> >>>> > Thank you very much Gale.
> >>>> > I did the modifications. :-)
> >>>> > Actually, unless you give me this feedback, it would mislead the
> readers.
> >>>> > I'm very grateful for correcting me. :-)
> >>>> >
> >>>> > I just wrote the documentation for statistics.
> >>>> >
> >>>>
> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
> >>>> >
> >>>> > Cheers
> >>>> > Menaka
> >>>> >
> >>>> > On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com>
> >>>> wrote:
> >>>> >
> >>>> >> Hi Menaka,
> >>>> >>
> >>>> >> I'm so glad I could help. You've done a nice job on your blog
> posts.
> >>>> >> If you don't mind, I can suggest some slight wording changes that I
> >>>> >> believe will make your meanings more clear. For example:
> >>>> >>
> >>>> >> Apache Taverna Language Command Line Tool – Supported functions
> and file
> >>>> >> types
> >>>> >> Paragraph 1
> >>>> >> -- Capitalize Taverna and Language: "The Apache Taverna
> >>>> >> Language is still …"
> >>>> >> -- Use "Currently" instead of "By now": "Currently the
> tool
> >>>> >> supports…"
> >>>> >> Paragraph 2
> >>>> >> -- Add "The" to the beginning of the sentence: "The
> >>>> >> following file types are supported..."
> >>>> >> -- I noticed you use .scufl2 in this blogpost, but
> .t2flow
> >>>> >> in the next blogpost.
> >>>> >>
> >>>> >> Please let me know if this kind of feedback would be helpful.
> >>>> >>
> >>>> >> Thanks,
> >>>> >>
> >>>> >> Gale
> >>>> >>
> >>>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
> >>>> >> <me...@gmail.com> wrote:
> >>>> >> > Yes Gale,
> >>>> >> > I'm thinking on taking them as a reference. For the best, I have
> some
> >>>> >> much
> >>>> >> > better doc from you. :-) :-)
> >>>> >> >
> >>>> >> > Thank you very much.
> >>>> >> > Menaka
> >>>> >> >
> >>>> >> > On 30 June 2015 at 20:09, Gale Naylor <
> galen@noventussolutions.com>
> >>>> >> wrote:
> >>>> >> >
> >>>> >> >> Hi Menaka,
> >>>> >> >>
> >>>> >> >> Sounds great! Do you plan to use your blog to prepare the
> >>>> documentation?
> >>>> >> >>
> >>>> >> >> Feel free to use anything I've prepared if it helps. And if I
> can do
> >>>> >> >> any more before I go on vacation, I will let you know.
> >>>> >> >>
> >>>> >> >> Thanks,
> >>>> >> >>
> >>>> >> >> Gale
> >>>> >> >>
> >>>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
> >>>> >> >> <me...@gmail.com> wrote:
> >>>> >> >> > Hi Gale,
> >>>> >> >> >
> >>>> >> >> > The tool is almost done I think. The functionalities,
> >>>> >> >> > conversion,
> >>>> >> >> > validation,
> >>>> >> >> > inspection and
> >>>> >> >> > statistics
> >>>> >> >> >
> >>>> >> >> > are done.
> >>>> >> >> >
> >>>> >> >> > So what remaining is, completing the documentation.
> >>>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
> >>>> >> >> >
> >>>> >> >> >
> >>>> >> >> >
> >>>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <
> galen@noventussolutions.com
> >>>> >
> >>>> >> >> wrote:
> >>>> >> >> >
> >>>> >> >> >> Hi Menaka,
> >>>> >> >> >>
> >>>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
> >>>> however I
> >>>> >> >> can.
> >>>> >> >> >>
> >>>> >> >> >> When do you expect to finish your project and documentation?
> >>>> >> >> >>
> >>>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll
> try to
> >>>> >> stay in
> >>>> >> >> >> touch.
> >>>> >> >> >>
> >>>> >> >> >> Thanks,
> >>>> >> >> >>
> >>>> >> >> >> Gale
> >>>> >> >> >>
> >>>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> >>>> >> >> >> <me...@gmail.com> wrote:
> >>>> >> >> >> > Hello Gale,
> >>>> >> >> >> > Great work. :-)
> >>>> >> >> >> >
> >>>> >> >> >> > I did notice the mygrid pages said the information was out
> of
> >>>> date.
> >>>> >> >> >> >>
> >>>> >> >> >> > Yes. I also faced the same condition when I was starting
> the
> >>>> >> project.
> >>>> >> >> The
> >>>> >> >> >> > documentation will be updated very soon as the project
> releases.
> >>>> >> :-)
> >>>> >> >> >> >
> >>>> >> >> >> > I am to write the full complete documentation for the
> command
> >>>> line
> >>>> >> >> tool.
> >>>> >> >> >> > I'll appreciate your support for it. :-)
> >>>> >> >> >> >
> >>>> >> >> >> > Cheers.
> >>>> >> >> >> > Menaka
> >>>> >> >> >> >
> >>>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
> >>>> galen@noventussolutions.com
> >>>> >> >
> >>>> >> >> >> wrote:
> >>>> >> >> >> >
> >>>> >> >> >> >> Hi Menaka,
> >>>> >> >> >> >>
> >>>> >> >> >> >> >I found this doc in
> >>>> >> >> >> >> >
> http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >>>> >> >> >> >>
> >>>> >> >> >> >> Thanks for the link. I also found this mygrid link:
> >>>> >> >> >> >>
> >>>> >> >>
> >>>>
> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> >>>> >> >> >> ,
> >>>> >> >> >> >> which is very clear about the .wfbundle file extension.
> >>>> >> >> >> >>
> >>>> >> >> >> >> I did notice the mygrid pages said the information was
> out of
> >>>> >> date.
> >>>> >> >> >> >> So, I also looked at the taverna incubator documentation,
> and
> >>>> the
> >>>> >> >> >> >> incubator SCUFL API page pointed me to a github page for
> the
> >>>> >> latest
> >>>> >> >> >> >> information. I found the github SCUFL examples to be
> helpful:
> >>>> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> >>>> >> >> >> >> .
> >>>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes
> the
> >>>> >> >> conversion
> >>>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
> >>>> >> >> >> >>
> >>>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
> >>>> >> >> >> >> (
> >>>> >> >>
> >>>> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> >>>> >> >> >> >> ), most of the references indicate the correct file
> extension
> >>>> is
> >>>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my
> mapping
> >>>> >> >> table.
> >>>> >> >> >> >> Please let me know if I missed something here.
> >>>> >> >> >> >>
> >>>> >> >> >> >> I also updated the table to reflect the .wfbundle -->
> .json and
> >>>> >> >> >> >> .wfbundle --> .iwir mappings.
> >>>> >> >> >> >>
> >>>> >> >> >> >> Thanks!
> >>>> >> >> >> >>
> >>>> >> >> >> >> Gale
> >>>> >> >> >> >>
> >>>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> >>>> >> >> >> >> <me...@gmail.com> wrote:
> >>>> >> >> >> >> > Hi Gale,
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir
> formats as
> >>>> >> well
> >>>> >> >> as
> >>>> >> >> >> >> >> .structure?
> >>>> >> >> >> >> >
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > Yes.
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of
> Taverna 3
> >>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
> >>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >>>> >> >> >> (taverna-scufl2-api)?
> >>>> >> >> >> >> >
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > I found this doc in
> >>>> >> >> >> >> >
> http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > Cheers
> >>>> >> >> >> >> > Menaka
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
> >>>> >> galen@noventussolutions.com
> >>>> >> >> >
> >>>> >> >> >> >> wrote:
> >>>> >> >> >> >> >
> >>>> >> >> >> >> >> Hi Menaka,
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
> >>>> >> >> experimental
> >>>> >> >> >> >> >> module.
> >>>> >> >> >> >> >> > So It has not added to the tool yet.
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
> >>>> visual
> >>>> >> >> person,
> >>>> >> >> >> >> >> I took the Taverna
> >>>> >> >> >> >> >> Language Module information and created a diagram:
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
> >>>> >> workflows
> >>>> >> >> >> into
> >>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into
> formats
> >>>> >> except
> >>>> >> >> >> >> .t2flow.
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir
> formats
> >>>> as
> >>>> >> >> well as
> >>>> >> >> >> >> >> .structure?
> >>>> >> >> >> >> >> If so, I will update my table.
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is
> the
> >>>> >> format
> >>>> >> >> of
> >>>> >> >> >> >> >> Taverna
> >>>> >> >> >> >> >> > 3)
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of
> Taverna
> >>>> 3
> >>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
> >>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >>>> >> >> >> (taverna-scufl2-api)?
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> > Input file type detection was done to avoid any
> exceptions
> >>>> >> when
> >>>> >> >> >> >> reading
> >>>> >> >> >> >> >> the
> >>>> >> >> >> >> >> > wokflow file. ...
> >>>> >> >> >> >> >> > In new_features2, I removed it because I have
> entered the
> >>>> >> wrong
> >>>> >> >> >> >> logic. I
> >>>> >> >> >> >> >> > restored it.
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> Okay, understood.
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> Thank you!
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> Gale
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >>>> >> >> >> >> >> <me...@gmail.com> wrote:
> >>>> >> >> >> >> >> > Hi Gale,
> >>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
> >>>> >> >> experimental
> >>>> >> >> >> >> >> module.
> >>>> >> >> >> >> >> > So It has not added to the tool yet.
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted
> to the
> >>>> >> same
> >>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not
> correct,
> >>>> >> let me
> >>>> >> >> >> know
> >>>> >> >> >> >> >> >> and I'll fix it.
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
> >>>> >> workflows
> >>>> >> >> >> into
> >>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into
> formats
> >>>> >> except
> >>>> >> >> >> >> .t2flow.
> >>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is
> the
> >>>> >> format
> >>>> >> >> of
> >>>> >> >> >> >> >> Taverna
> >>>> >> >> >> >> >> > 3)
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > Also, I was wondering about something you said in
> one of
> >>>> your
> >>>> >> >> June
> >>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language
> pull
> >>>> >> request:
> >>>> >> >> New
> >>>> >> >> >> >> >> >> features2).
> >>>> >> >> >> >> >> >> You said "File type detection removed."
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> Which file type detection is this? Is this related
> to
> >>>> >> Stain's
> >>>> >> >> June
> >>>> >> >> >> >> 4th
> >>>> >> >> >> >> >> >> email, in which he said the input format is
> auto-guessed
> >>>> by
> >>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my
> blog I
> >>>> >> included
> >>>> >> >> >> this
> >>>> >> >> >> >> >> >> comment and I wanted to make sure it is still
> accurate.
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > Input file type detection was done to avoid any
> exceptions
> >>>> >> when
> >>>> >> >> >> >> reading
> >>>> >> >> >> >> >> the
> >>>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the
> media
> >>>> type
> >>>> >> and
> >>>> >> >> >> read
> >>>> >> >> >> >> the
> >>>> >> >> >> >> >> > bundle but, the input format could be wrongly
> entered by
> >>>> the
> >>>> >> >> user.
> >>>> >> >> >> We
> >>>> >> >> >> >> >> can't
> >>>> >> >> >> >> >> > promise that the user could always do the correct
> thing.
> >>>> >> Also in
> >>>> >> >> >> >> >> recursive
> >>>> >> >> >> >> >> > conversion, there could be other files also.
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > In new_features2, I removed it because I have
> entered the
> >>>> >> wrong
> >>>> >> >> >> >> logic. I
> >>>> >> >> >> >> >> > restored it.
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > Thank you
> >>>> >> >> >> >> >> > Menaka
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
> >>>> >> >> galen@noventussolutions.com
> >>>> >> >> >> >
> >>>> >> >> >> >> >> wrote:
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> >> Hi Menaka,
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> A couple more things.
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> I am trying to organize my understanding of how the
> >>>> >> conversions
> >>>> >> >> >> work,
> >>>> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be converted
> to
> >>>> the
> >>>> >> same
> >>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not
> correct,
> >>>> >> let me
> >>>> >> >> >> know
> >>>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats
> also
> >>>> be
> >>>> >> >> listed?
> >>>> >> >> >> >> The
> >>>> >> >> >> >> >> >> table is my best guess from reading all of the
> emails, so
> >>>> >> >> please
> >>>> >> >> >> let
> >>>> >> >> >> >> >> >> me know if anything is wrong, or if I missed
> something.
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> Also, I was wondering about something you said in
> one of
> >>>> >> your
> >>>> >> >> June
> >>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language
> pull
> >>>> >> request:
> >>>> >> >> New
> >>>> >> >> >> >> >> >> features2).
> >>>> >> >> >> >> >> >> You said "File type detection removed."
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> Which file type detection is this? Is this related
> to
> >>>> >> Stain's
> >>>> >> >> June
> >>>> >> >> >> >> 4th
> >>>> >> >> >> >> >> >> email, in which he said the input format is
> auto-guessed
> >>>> by
> >>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my
> blog I
> >>>> >> included
> >>>> >> >> >> this
> >>>> >> >> >> >> >> >> comment and I wanted to make sure it is still
> accurate.
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> Thanks!
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> Gale
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >>>> >> >> >> >> >> >> <me...@gmail.com> wrote:
> >>>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
> >>>> >> >> >> >> >> >> >
> >>>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> >>>> >> >> >> menaka12350@gmail.com
> >>>> >> >> >> >> >
> >>>> >> >> >> >> >> >> wrote:
> >>>> >> >> >> >> >> >> >
> >>>> >> >> >> >> >> >> >> Hi Gale,
> >>>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs.
> I'm
> >>>> very
> >>>> >> >> new
> >>>> >> >> >> and
> >>>> >> >> >> >> >> there
> >>>> >> >> >> >> >> >> >> could be some flows. Thank you very much for
> showing
> >>>> >> them.
> >>>> >> >> :-)
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
> >>>> converted
> >>>> >> >> are
> >>>> >> >> >> >> listed
> >>>> >> >> >> >> >> in
> >>>> >> >> >> >> >> >> >> this blog.
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >>>> >> >> >> >> >> >> >> The bundles are not workflows.
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it
> somewhat
> >>>> >> >> >> >> misleading.....
> >>>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those
> are
> >>>> two
> >>>> >> >> >> different
> >>>> >> >> >> >> >> APIs.
> >>>> >> >> >> >> >> >> >> I'll update the blog. :-)
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
> >>>> could be
> >>>> >> >> >> >> converted
> >>>> >> >> >> >> >> into
> >>>> >> >> >> >> >> >> >> robundle.
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done.
> Other
> >>>> >> wise
> >>>> >> >> it
> >>>> >> >> >> >> looks
> >>>> >> >> >> >> >> like
> >>>> >> >> >> >> >> >> >> any format could be converted into Robundle. I'll
> >>>> update
> >>>> >> my
> >>>> >> >> >> blog
> >>>> >> >> >> >> too.
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> Are there any more facts that need clarification
> about
> >>>> >> the
> >>>> >> >> >> blogs
> >>>> >> >> >> >> >> please
> >>>> >> >> >> >> >> >> >> ask me. :)
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> Thank you very much Gale.
> >>>> >> >> >> >> >> >> >> Menaka
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> >>>> >> >> >> >> galen@noventussolutions.com>
> >>>> >> >> >> >> >> >> wrote:
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >>> Hi Menaka,
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> I've been reading and learning more about
> research
> >>>> >> objects,
> >>>> >> >> >> and I
> >>>> >> >> >> >> >> >> >>> think I understand better what is going on, but
> I
> >>>> still
> >>>> >> >> have
> >>>> >> >> >> some
> >>>> >> >> >> >> >> >> >>> questions.
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
> >>>> >> converted
> >>>> >> >> to
> >>>> >> >> >> >> >> .robundle
> >>>> >> >> >> >> >> >> >>> format? (I must have missed something because I
> >>>> thought
> >>>> >> >> >> .t2flow
> >>>> >> >> >> >> and
> >>>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file
> types.)
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see
> you
> >>>> say
> >>>> >> >> that
> >>>> >> >> >> the
> >>>> >> >> >> >> >> >> >>> command line tool is for converting and managing
> >>>> >> workflow
> >>>> >> >> >> >> "bundles"
> >>>> >> >> >> >> >> as
> >>>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow
> files
> >>>> >> "workflow
> >>>> >> >> >> >> bundles"
> >>>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
> >>>> >> >> difference?
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
> >>>> conversions
> >>>> >> >> are
> >>>> >> >> >> >> valid.
> >>>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your
> June
> >>>> 18th
> >>>> >> >> blog
> >>>> >> >> >> post
> >>>> >> >> >> >> >> you
> >>>> >> >> >> >> >> >> >>> say:
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> "The conversion function supports converting
> .t2flow
> >>>> and
> >>>> >> >> >> >> .wfbundle
> >>>> >> >> >> >> >> >> >>> formats into following formats:
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> .structure
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> .json
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> .iwir
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> .wfbundle
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> To me, reading this looks like all combinations
> are
> >>>> >> valid.
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle
> files
> >>>> be
> >>>> >> >> >> converted
> >>>> >> >> >> >> to
> >>>> >> >> >> >> >> >> >>> all file types *except* robundle?
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post.
> Should I
> >>>> also
> >>>> >> >> change
> >>>> >> >> >> >> the
> >>>> >> >> >> >> >> >> >>> --robundle option description to say "Output
> bundle
> >>>> as
> >>>> >> >> >> .robundle"
> >>>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ?
> (Same for
> >>>> >> >> >> .wfbundle
> >>>> >> >> >> >> >> >> >>> option.)
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link to
> the
> >>>> >> >> example!
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> Have a nice weekend.
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> Gale
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
> Madushanka
> >>>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
> >>>> >> >> >> >> >> >> >>> > Hi Gale,
> >>>> >> >> >> >> >> >> >>> > Use this link
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> > Cheers
> >>>> >> >> >> >> >> >> >>> > Menaka
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >>>> >> >> >> >> >> galen@noventussolutions.com>
> >>>> >> >> >> >> >> >> >>> wrote:
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> >> Hi Menaka,
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
> >>>> >> information.
> >>>> >> >> >> Sorry
> >>>> >> >> >> >> not
> >>>> >> >> >> >> >> to
> >>>> >> >> >> >> >> >> >>> respond
> >>>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and
> >>>> reading
> >>>> >> >> the
> >>>> >> >> >> link
> >>>> >> >> >> >> >> you
> >>>> >> >> >> >> >> >> >>> sent.
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
> >>>> example
> >>>> >> in
> >>>> >> >> the
> >>>> >> >> >> >> >> Examples
> >>>> >> >> >> >> >> >> >>> of Use
> >>>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
> >>>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so
> far:
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is
> not
> >>>> the
> >>>> >> web
> >>>> >> >> >> page
> >>>> >> >> >> >> you
> >>>> >> >> >> >> >> are
> >>>> >> >> >> >> >> >> >>> >> looking
> >>>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >>>> >> >> >> >> >> >> >>> >> )
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> - Entering
> >>>> "org.apache.taverna.robundle.TestExample"
> >>>> >> >> also
> >>>> >> >> >> >> doesn't
> >>>> >> >> >> >> >> >> work
> >>>> >> >> >> >> >> >> >>> for
> >>>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried
> anyway.
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle
> TestExample" on
> >>>> the
> >>>> >> >> main
> >>>> >> >> >> >> >> >> Apache.com
> >>>> >> >> >> >> >> >> >>> page
> >>>> >> >> >> >> >> >> >>> >> yields no results.
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> I will continue to read and understand the RO
> >>>> Bundle
> >>>> >> API
> >>>> >> >> >> page,
> >>>> >> >> >> >> >> but I
> >>>> >> >> >> >> >> >> >>> would
> >>>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if
> possible.
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> Thanks!
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> Gale
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> -----Original Message-----
> >>>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
> >>>> >> menaka12350@gmail.com]
> >>>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >>>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >>>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line
> tool -
> >>>> >> >> convert
> >>>> >> >> >> >> command
> >>>> >> >> >> >> >> >> doc
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
> >>>> >> >> >> >> >> >> >>> >> Correction:
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple
> input
> >>>> >> files, no
> >>>> >> >> >> >> options
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle
> /someFile1.wfbundle
> >>>> >> >> >> >> >> >> /someFile2.wfbundle
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
> >>>> >> >> */someFile2.wfbundle*
> >>>> >> >> >> >> into
> >>>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output
> files to
> >>>> >> the
> >>>> >> >> >> >> >> */converted*
> >>>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
> >>>> .wfbundles/.t2flow
> >>>> >> >> into
> >>>> >> >> >> >> >> robundle
> >>>> >> >> >> >> >> >> >>> format.
> >>>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go
> >>>> through
> >>>> >> >> this
> >>>> >> >> >> doc
> >>>> >> >> >> >> >> for
> >>>> >> >> >> >> >> >> more
> >>>> >> >> >> >> >> >> >>> >> info.
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >>
> >>>> >> >> >>
> >>>> >> >>
> >>>> >>
> >>>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> cheers.
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >>>> >> >> >> >> >> galen@noventussolutions.com>
> >>>> >> >> >> >> >> >> >>> wrote:
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I
> have
> >>>> >> >> changed
> >>>> >> >> >> the
> >>>> >> >> >> >> two
> >>>> >> >> >> >> >> >> blog
> >>>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks
> great.
> >>>> I
> >>>> >> also
> >>>> >> >> >> made
> >>>> >> >> >> >> a
> >>>> >> >> >> >> >> few
> >>>> >> >> >> >> >> >> >>> >> > refinements.
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>> >> > Thanks,
> >>>> >> >> >> >> >> >> >>> >> > Gale
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
> >>>> Madushanka
> >>>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
> >>>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > I showed the output-format without
> brackets to
> >>>> >> >> indicate
> >>>> >> >> >> >> it is
> >>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it
> appears
> >>>> to
> >>>> >> be
> >>>> >> >> >> always
> >>>> >> >> >> >> >> >> >>> necessary
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm
> very
> >>>> new
> >>>> >> >> for
> >>>> >> >> >> >> >> >> >>> documentation.
> >>>> >> >> >> >> >> >> >>> >> > Thank
> >>>> >> >> >> >> >> >> >>> >> > > you very much.
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as
> having a
> >>>> >> >> single
> >>>> >> >> >> >> dash,
> >>>> >> >> >> >> >> but
> >>>> >> >> >> >> >> >> all
> >>>> >> >> >> >> >> >> >>> >> > >> the other output types have
> double-dashes.
> >>>> >> Should I
> >>>> >> >> >> >> change
> >>>> >> >> >> >> >> the
> >>>> >> >> >> >> >> >> >>> json
> >>>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email that
> was a
> >>>> >> >> >> mistake. So
> >>>> >> >> >> >> >> you
> >>>> >> >> >> >> >> >> can
> >>>> >> >> >> >> >> >> >>> >> > > use
> >>>> >> >> >> >> >> >> >>> >> > --.
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because
> it is
> >>>> >> showing
> >>>> >> >> >> the
> >>>> >> >> >> >> >> >> >>> >> > > double-dashes
> >>>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use
> the
> >>>> >> >> monospace
> >>>> >> >> >> >> >> >> font-family.
> >>>> >> >> >> >> >> >> >>> >> > >> Any
> >>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but
> not us.
> >>>> >> :-)
> >>>> >> >> Use
> >>>> >> >> >> >> >> >> >>> preformatted.
> >>>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I
> updated
> >>>> my
> >>>> >> >> blog.
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >>
> >>>> >> >> >>
> >>>> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > Thank you very much.
> >>>> >> >> >> >> >> >> >>> >> > > Menaka
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >>>> >> >> >> >> >> >> galen@noventussolutions.com
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> >> > wrote:
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have
> some
> >>>> >> >> additional
> >>>> >> >> >> >> >> feedback
> >>>> >> >> >> >> >> >> in
> >>>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
> >>>> detailed
> >>>> >> >> >> >> description
> >>>> >> >> >> >> >> (as
> >>>> >> >> >> >> >> >> I
> >>>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command
> and one
> >>>> >> has
> >>>> >> >> >> several
> >>>> >> >> >> >> >> >> >>> examples,
> >>>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog.
> I hope
> >>>> >> these
> >>>> >> >> >> will
> >>>> >> >> >> >> >> help
> >>>> >> >> >> >> >> >> the
> >>>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure.
> Here are
> >>>> >> the
> >>>> >> >> >> links:
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >>
> >>>> >> >> >>
> >>>> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >>
> >>>> >> >> >>
> >>>> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> Some things to note:
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th
> post,
> >>>> but a
> >>>> >> few
> >>>> >> >> >> >> things
> >>>> >> >> >> >> >> >> (like
> >>>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
> >>>> >> >> posts/emails.
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
> >>>> brackets
> >>>> >> to
> >>>> >> >> >> >> indicate
> >>>> >> >> >> >> >> it
> >>>> >> >> >> >> >> >> is
> >>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it
> appears
> >>>> to
> >>>> >> be
> >>>> >> >> >> always
> >>>> >> >> >> >> >> >> >>> necessary.
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall
> command
> >>>> >> >> >> structure,
> >>>> >> >> >> >> it
> >>>> >> >> >> >> >> >> seemed
> >>>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
> >>>> >> directory)
> >>>> >> >> >> should
> >>>> >> >> >> >> >> come
> >>>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's
> what I
> >>>> >> >> assumed.
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as
> >>>> having
> >>>> >> a
> >>>> >> >> >> single
> >>>> >> >> >> >> >> dash,
> >>>> >> >> >> >> >> >> but
> >>>> >> >> >> >> >> >> >>> >> > >> all the other output types have
> >>>> double-dashes.
> >>>> >> >> Should
> >>>> >> >> >> I
> >>>> >> >> >> >> >> change
> >>>> >> >> >> >> >> >> the
> >>>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is
> incorrect
> >>>> and
> >>>> >> I
> >>>> >> >> will
> >>>> >> >> >> >> >> change
> >>>> >> >> >> >> >> >> it.
> >>>> >> >> >> >> >> >> >>> I
> >>>> >> >> >> >> >> >> >>> >> > >> realize the command structure is fluid,
> and
> >>>> I'm
> >>>> >> >> happy
> >>>> >> >> >> to
> >>>> >> >> >> >> >> make
> >>>> >> >> >> >> >> >> any
> >>>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because
> it is
> >>>> >> >> showing
> >>>> >> >> >> the
> >>>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes,
> even
> >>>> when I
> >>>> >> >> use
> >>>> >> >> >> the
> >>>> >> >> >> >> >> >> monospace
> >>>> >> >> >> >> >> >> >>> >> > >> font-family. Any
> >>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> Thanks,
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> Gale
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
> >>>> >> Madushanka
> >>>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >>>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
> >>>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you
> say the
> >>>> >> files
> >>>> >> >> >> will
> >>>> >> >> >> >> get
> >>>> >> >> >> >> >> >> saved
> >>>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the
> blog.
> >>>> >> That
> >>>> >> >> >> >> should be
> >>>> >> >> >> >> >> >> >>> >> > >> > corrected
> >>>> >> >> >> >> >> >> >>> >> > as
> >>>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> >>>> >> >> >> >> /home/usrname/toConvert/ –>
> >>>> >> >> >> >> >> >> >>> >> > >> > *Convert
> >>>> >> >> >> >> >> >> >>> >> > the
> >>>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
> >>>> >> …/toConvert/converted/
> >>>> >> >> >> >> >> directory.
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
> >>>> >> modifications
> >>>> >> >> >> etc. So
> >>>> >> >> >> >> >> with
> >>>> >> >> >> >> >> >> the
> >>>> >> >> >> >> >> >> >>> >> > >> > help
> >>>> >> >> >> >> >> >> >>> >> > of
> >>>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with a
> much
> >>>> >> better
> >>>> >> >> >> >> >> structure.
> >>>> >> >> >> >> >> >> >>> >> > >> > Cheers
> >>>> >> >> >> >> >> >> >>> >> > >> > Menaka
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >>>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >>>> >> >> >> >> >> >> >>> >> > >> wrote:
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I
> understand
> >>>> the
> >>>> >> >> >> command
> >>>> >> >> >> >> >> >> structure
> >>>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank
> you for
> >>>> >> the
> >>>> >> >> blog
> >>>> >> >> >> >> >> post; it
> >>>> >> >> >> >> >> >> >>> was
> >>>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
> >>>> recursive
> >>>> >> >> >> example.
> >>>> >> >> >> >> Can
> >>>> >> >> >> >> >> you
> >>>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean
> when you
> >>>> say
> >>>> >> >> the
> >>>> >> >> >> >> files
> >>>> >> >> >> >> >> will
> >>>> >> >> >> >> >> >> >>> get
> >>>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because
> you show
> >>>> >> the
> >>>> >> >> >> output
> >>>> >> >> >> >> >> being
> >>>> >> >> >> >> >> >> >>> saved
> >>>> >> >> >> >> >> >> >>> >> > >> >> to:
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> /home/usrname/toConvert/converted/somefile1.json
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
> >>>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> >>>> >> >> >> >> /home/usrname/toConvert/ –>
> >>>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in
> the C
> >>>> >> >> directory.
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> Gale
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> B
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM,
> Menaka
> >>>> >> >> Madushanka
> >>>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
> >>>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help.
> Thank
> >>>> you
> >>>> >> >> very
> >>>> >> >> >> >> much.
> >>>> >> >> >> >> >> :-)
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic
> structure of
> >>>> the
> >>>> >> >> >> command:
> >>>> >> >> >> >> >> >> tavlang
> >>>> >> >> >> >> >> >> >>> >> > convert
> >>>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
> >>>> files>?
> >>>> >> Am I
> >>>> >> >> >> >> wrong in
> >>>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
> >>>> >> >> >> >> >> >> >>> >> > that
> >>>> >> >> >> >> >> >> >>> >> > >> the
> >>>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as
> options?
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference
> in the
> >>>> >> >> >> structure of
> >>>> >> >> >> >> >> >> commands
> >>>> >> >> >> >> >> >> >>> >> > >> >> > now
> >>>> >> >> >> >> >> >> >>> >> > and
> >>>> >> >> >> >> >> >> >>> >> > >> >> then.
> >>>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command
> structure
> >>>> is
> >>>> >> >> like
> >>>> >> >> >> >> this.
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
> >>>> >> [options]
> >>>> >> >> >> >> >> [arguments]
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
> >>>> independently?
> >>>> >> If
> >>>> >> >> so,
> >>>> >> >> >> >> under
> >>>> >> >> >> >> >> >> what
> >>>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input
> will be
> >>>> a
> >>>> >> >> >> directory
> >>>> >> >> >> >> >> >> >>> containing
> >>>> >> >> >> >> >> >> >>> >> > >> .t2flow of
> >>>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
> >>>> optional
> >>>> >> >> for
> >>>> >> >> >> both
> >>>> >> >> >> >> >> >> >>> recursive
> >>>> >> >> >> >> >> >> >>> >> > >> >> > and
> >>>> >> >> >> >> >> >> >>> >> > non
> >>>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the
> conversion
> >>>> >> command.
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >>
> >>>> >> >> >>
> >>>> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions,
> please
> >>>> >> inform.
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Regards
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
> >>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >> > --
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> >>>> >> >> >> http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> >> >> >>> University
> >>>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> >>>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
> >>>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> >
> >>>> >> >> >> >> >> >> >>> >> > >> > --
> >>>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
> >>>> >> >> http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> >> >> University
> >>>> >> >> >> >> >> >> >>> of
> >>>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
> >>>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
> >>>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >> >> >> >>> >> > >>
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > >
> >>>> >> >> >> >> >> >> >>> >> > > --
> >>>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
> >>>> >> http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> >> University
> >>>> >> >> >> >> >> >> of
> >>>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
> >>>> >> >> >> >> >> >> >>> >> > > LinkedIn <
> >>>> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >> >> >> >>> >> >
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >> --
> >>>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <
> http://www.pdn.ac.lk/eng
> >>>> >
> >>>> >> >> >> >> University of
> >>>> >> >> >> >> >> >> >>> >> Peradeniyaya.
> >>>> >> >> >> >> >> >> >>> >> LinkedIn <
> >>>> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >> >> >> >>> >>
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> >
> >>>> >> >> >> >> >> >> >>> > --
> >>>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> >>> > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
> >>>> >> >> >> >> >> >> >>> > LinkedIn <
> >>>> http://lk.linkedin.com/in/menakajayawardena
> >>>> >> >
> >>>> >> >> >> >> >> >> >>>
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >> --
> >>>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> >> Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> >> >> >> University of Peradeniyaya.
> >>>> >> >> >> >> >> >> >> LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena
> >>>> >
> >>>> >> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >> >
> >>>> >> >> >> >> >> >> >
> >>>> >> >> >> >> >> >> >
> >>>> >> >> >> >> >> >> > --
> >>>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng
> >
> >>>> >> >> >> >> >> >> > University of Peradeniyaya.
> >>>> >> >> >> >> >> >> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >> >> >>
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> >
> >>>> >> >> >> >> >> > --
> >>>> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> >> > University of Peradeniyaya.
> >>>> >> >> >> >> >> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >> >>
> >>>> >> >> >> >> >
> >>>> >> >> >> >> >
> >>>> >> >> >> >> >
> >>>> >> >> >> >> > --
> >>>> >> >> >> >> > Menaka Madushanka Jayawardena
> >>>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> >> >> >> >> > University of Peradeniyaya.
> >>>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >> >>
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > --
> >>>> >> >> >> > Menaka Madushanka Jayawardena
> >>>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> >> >> >> > University of Peradeniyaya.
> >>>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >> >>
> >>>> >> >> >
> >>>> >> >> >
> >>>> >> >> >
> >>>> >> >> > --
> >>>> >> >> > Menaka Madushanka Jayawardena
> >>>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> >> >> > University of Peradeniyaya.
> >>>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>> >> >>
> >>>> >> >
> >>>> >> >
> >>>> >> >
> >>>> >> > --
> >>>> >> > Menaka Madushanka Jayawardena
> >>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> >> > University of Peradeniyaya.
> >>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>> >>
> >>>> >>
> >>>> >
> >>>> >
> >>>> > --
> >>>> > Menaka Madushanka Jayawardena
> >>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> > University of Peradeniyaya.
> >>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Menaka Madushanka Jayawardena
> >>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> University of Peradeniyaya.
> >>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
It's been my pleasure to help, Stian. I will be happy to provide feedback
on the Taverna pages and README files. Thank you for the links. I will read
them more carefully when I get home from vacation (July10-11).
Gale
On Jul 2, 2015 5:08 PM, "Stian Soiland-Reyes" <st...@apache.org> wrote:
> Thank you Gale, for all your brilliant feedback and helping Menaka!
> This is true community effort!
>
> Good documentation can is more important than good code - specially to
> help newcomers to a project.
>
> So any feedback about any of the Taverna pages or README files are
> appreciated; feel free to suggest an edit of web pages [1], or raise a
> bug [2].
>
>
>
> [1] http://taverna.incubator.apache.org/community/edit
> [2] https://issues.apache.org/jira/browse/TAVERNA/component/12326819
>
>
> On 1 July 2015 at 02:55, Gale Naylor <ga...@noventussolutions.com> wrote:
> > Hi Menaka,
> >
> > You are doing an excellent job on the documentation. I'm sorry for
> > bombarding you with feedback, but I wanted to help as much as possible
> > before I go on vacation.
> >
> > As I was reviewing your blog posts, I noticed that not all of the
> > words in the titles are capitalized as they should be.
> >
> > Also, is your initial post part of your deliverable documentation, or
> > has it been replaced by your later blog posts?
> >
> > Just a couple of things in the research object post:
> >
> > Taverna Language Command line tool – Conversion Documentation – Research
> objects
> >
> > -- Use "the" in front of "following bundle formats" and use "into"
> > instead of "in to": "The Apache Taverna Language is capable of
> > converting the following bundle formats into Research Object bundles."
> > -- Use "development: instead of "development process": "The
> > conversion capability for other formats is still in development."
> > -- Use "is" instead of "in": "***The support for recursive
> > conversion or selecting the output file directory is not yet
> > included."
> >
> > Thanks!
> >
> > Gale
> >
> >
> > On Tue, Jun 30, 2015 at 6:08 PM, Gale Naylor
> > <ga...@noventussolutions.com> wrote:
> >> Hi Menaka,
> >>
> >> I looked at your validation documentation and I realized I have a
> >> question: If the validate command is run with no options, what
> >> happens? In other words, if you choose not to write the validation
> >> results to a log file, what does the command do? Write the results to
> >> the terminal? Does this need to be explained. (I guess I have the same
> >> question about the stats command.)
> >>
> >> Same comment as with stats documentation about adding sections with
> >> larger, and bold fonts to help with readability.
> >>
> >> Here are some additional comments:
> >>
> >> Apache Taverna Language Command line documentation – Validation
> >>
> >> -- Use "examining" rather than "examine": "The validation is done
> >> by examining the following factors/ problems."
> >> -- Use API instead of api, and use "consisting" instead of
> >> "consist: "The API returns a validation report consisting of problems
> >> that exist in the workflow."
> >> -- Instead of "type of the problem" use either "problem category"
> >> or "category of problem" and I suggest using "listed" instead of the
> >> first "shown": "If there are problems, those problems are listed under
> >> the problem category shown above."
> >> -- After "The command line tool can execute this validation
> >> process" how about saying " and tell the user if the workflow has
> >> errors/ problems and what they are." So the complete sentence would
> >> be: "The command line tool can execute this validation process and
> >> tell the user if the workflow has errors/ problems and what they are."
> >> -- Even though you only have one option, I would still put the
> >> option on the next line, like you did in the Stats documentation.
> >> -- Also, if it's possible it would be good to standardize the
> >> documentation to say either "Supported options" or "Options." You can
> >> use option(s) -- with the "s" in parentheses -- to mean it could be
> >> one option or more than one option.
> >> -- In the Usage section, you use [args]: "$tavlang validate
> >> [options][args] input_files." In the convert and research objects
> >> posts you use [arguments], and in stats you didn't list arguments at
> >> all, yet it looks to me like the command structure is similar. It
> >> would be good to be consistent and use either [args] or [arguments].
> >> -- In the stats post you say "Supported file formats: .t2flow and
> >> .wfbundle" using "and" and in the validate post you say "Supported
> >> input file formats:- .t2flow/ .wfbundle" using "/". Would it be
> >> possible to make these the same?
> >> -- At the end of your "example with options", how about this
> >> instead: "The output file contains the detailed report, including a
> >> list of the workflow problems."
> >>
> >> Good job on all the documentation!
> >>
> >> Gale
> >>
> >> On Tue, Jun 30, 2015 at 5:25 PM, Gale Naylor
> >> <ga...@noventussolutions.com> wrote:
> >>> Hi Menaka,
> >>>
> >>> I read your stats blog post; it looks good. I am not very familiar
> >>> with workflows, so I'm not sure I can comment a lot on your examples,
> >>> but I did list some things that appeared to me to be inconsistent.
> >>>
> >>> Also, I think it would be good to make at least a couple of different
> >>> sections and identify them with a larger, bold font, like you did in
> >>> the Convert command blog post. In the taverna-sculf2-api Readme file
> >>> (on github), they show "Usage" as a section:
> >>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api
> .
> >>> That might be a good idea. Then, if you use a smaller (but still bold)
> >>> font for the Verbose Mode sub-section and Normal Mode sub-section,
> >>> that will help the reader navigate your documentation. You could then
> >>> take out the second instance of "Verbose Mode" (between the two
> >>> verbose examples) like you did in the Normal Mode examples. Then, I
> >>> would also create a third sub-section called "Save Results to a Log
> >>> File" and below that put your example. The formatting you used in your
> >>> Convert command blog post worked well.
> >>>
> >>> A few other things:
> >>>
> >>> Apache Taverna Language Command line tool – Workflow Statistics
> >>>
> >>> -- Capitalize the first "API," hyphenate "scufl2-api" to match the
> >>> module name, and write "whatever" as one word: "The Taverna Language
> >>> API (sculf2-api) has several methods to set and retrieve those
> >>> resources whenever needed."
> >>> -- Instead of " The command line tool is capable of listing those
> >>> resources which a workflow file has." How about "The command line tool
> >>> is also capable of listing workflow file resources."
> >>> -- In the options section, you say "Save results in a log file"
> >>> (using "in") and in your example you say "Save results to a log file"
> >>> (using "to"). You might consider making those consistent.
> >>> -- In your verbose Hello World example, near the end did you mean
> >>> to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
> >>> rather than "Output Ports"?
> >>> -- In your verbose Workflow1 example, in your Data Links section,
> >>> you say " |--> DataLink parameters=>input" and then " |--> DataLink
> >>> output=>parameters." Should these statements both be formatted the
> >>> same and match the last item? Specifically, should they all end in
> >>> "==>input"? Or is there a reason for them to be different?
> >>>
> >>> That's all I can see!
> >>>
> >>> Gale
> >>>
> >>> On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
> >>> <me...@gmail.com> wrote:
> >>>> Hello Gale,
> >>>> Great feed back. :-)
> >>>> I did the modifications and now it looks great and clean....
> >>>>
> >>>> In statistics blog I did not add explanations much but examples. So
> that it
> >>>> will be easy for you. :-)
> >>>> Thank you very much for the great help you are giving me.....!!!
> >>>> Please let me know if there anything that I could do and/ or need some
> >>>> clarifications.
> >>>>
> >>>> Thank you very much
> >>>> Menaka
> >>>>
> >>>> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >>>>
> >>>>> Hi Menaka,
> >>>>>
> >>>>> The changes look great! But I missed one: You should add a "The" in
> >>>>> front of the inspection, validation, and statistics sentence, so it
> >>>>> reads: "The following file types are supported for inspection,
> >>>>> validation and statistics." (with a period at the end.) :-)
> >>>>>
> >>>>> I will take a look at your statistics blog post. Meanwhile, below are
> >>>>> some comments for the Conversion Documentation blog post. Of course,
> >>>>> let me know if I misunderstood anything you are trying to say.
> >>>>>
> >>>>> Apache Taverna Language Command line - Conversion Documentation
> >>>>>
> >>>>> Paragraph 1
> >>>>> -- Use "provides" instead of "gives" and "converting and
> >>>>> managing" instead of "convert and manage": "The Apache Taverna
> >>>>> Language provides a set of APIs for converting and managing workflow
> >>>>> bundles and Research Object bundles."
> >>>>>
> >>>>> Paragraph 3
> >>>>> -- Add "are:": "The basic functionalities of the tool are:"
> >>>>>
> >>>>> In the Conversion section
> >>>>> -- Use "also has" instead of "is also have": "The tool
> also
> >>>>> has the capability of converting bundles of several formats into
> >>>>> Research Object bundles."
> >>>>> -- Use "Refer to" instead of "Refer": " Refer to the
> >>>>> following blog for more information about converting bundle formats."
> >>>>>
> >>>>> In the Example usage section
> >>>>> -- Use "The user" instead of "User": "The user can specify
> >>>>> the way that the conversion should be done."
> >>>>>
> >>>>> In the Recursive conversion section
> >>>>> -- Use "the tool" and "the specified output format": " In
> >>>>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
> >>>>> files in the given directory into the specified output format."
> >>>>> -- I think you may have a typographical error: "out put"
> >>>>> instead of "output" -- it should be "The output will be...
> >>>>> /home/username/ ..."
> >>>>>
> >>>>> In the Non-recursive conversion section
> >>>>> -- Use "The user" instead of "User" and "need" instead of
> >>>>> "needed": "The user can use this mode to convert a specific workflow
> >>>>> into the format they need." (Or, even better would be to say, "The
> >>>>> user can use this mode to convert a specific work flow into the
> >>>>> required format."
> >>>>> -- Instead of "Here all the files that want to be
> converted
> >>>>> must specify separately as space separated values." I think it would
> >>>>> be better to say: "All files to be converted must be listed as
> >>>>> space-separated values."
> >>>>> -- The sentence that describes where files will be saved if
> >>>>> there is no specified output directory is a difficult one to write. I
> >>>>> had to think about it. Rather than saying "The converted files will
> be
> >>>>> saved in converted folder in each parent folder which contain the
> >>>>> input file." What if you said "The converted files will be saved in
> >>>>> the /converted folder in the input file's parent directory."? (And
> use
> >>>>> the "/" in front of converted to stress that it is a folder name?)
> >>>>> -- You need a comma after "Also." And use "are to be saved"
> >>>>> instead of "to be saved": "Also, users can specify the directory
> where
> >>>>> the converted files are to be saved."
> >>>>> -- In your footnote, "out put" should be one word:
> "output":
> >>>>> "*The tool can only manage one output file format at a time."
> >>>>>
> >>>>> Happy documenting!
> >>>>>
> >>>>> Gale
> >>>>>
> >>>>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
> >>>>> <me...@gmail.com> wrote:
> >>>>> > Thank you very much Gale.
> >>>>> > I did the modifications. :-)
> >>>>> > Actually, unless you give me this feedback, it would mislead the
> readers.
> >>>>> > I'm very grateful for correcting me. :-)
> >>>>> >
> >>>>> > I just wrote the documentation for statistics.
> >>>>> >
> >>>>>
> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
> >>>>> >
> >>>>> > Cheers
> >>>>> > Menaka
> >>>>> >
> >>>>> > On 30 June 2015 at 20:53, Gale Naylor <galen@noventussolutions.com
> >
> >>>>> wrote:
> >>>>> >
> >>>>> >> Hi Menaka,
> >>>>> >>
> >>>>> >> I'm so glad I could help. You've done a nice job on your blog
> posts.
> >>>>> >> If you don't mind, I can suggest some slight wording changes that
> I
> >>>>> >> believe will make your meanings more clear. For example:
> >>>>> >>
> >>>>> >> Apache Taverna Language Command Line Tool – Supported functions
> and file
> >>>>> >> types
> >>>>> >> Paragraph 1
> >>>>> >> -- Capitalize Taverna and Language: "The Apache Taverna
> >>>>> >> Language is still …"
> >>>>> >> -- Use "Currently" instead of "By now": "Currently the
> tool
> >>>>> >> supports…"
> >>>>> >> Paragraph 2
> >>>>> >> -- Add "The" to the beginning of the sentence: "The
> >>>>> >> following file types are supported..."
> >>>>> >> -- I noticed you use .scufl2 in this blogpost, but
> .t2flow
> >>>>> >> in the next blogpost.
> >>>>> >>
> >>>>> >> Please let me know if this kind of feedback would be helpful.
> >>>>> >>
> >>>>> >> Thanks,
> >>>>> >>
> >>>>> >> Gale
> >>>>> >>
> >>>>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
> >>>>> >> <me...@gmail.com> wrote:
> >>>>> >> > Yes Gale,
> >>>>> >> > I'm thinking on taking them as a reference. For the best, I
> have some
> >>>>> >> much
> >>>>> >> > better doc from you. :-) :-)
> >>>>> >> >
> >>>>> >> > Thank you very much.
> >>>>> >> > Menaka
> >>>>> >> >
> >>>>> >> > On 30 June 2015 at 20:09, Gale Naylor <
> galen@noventussolutions.com>
> >>>>> >> wrote:
> >>>>> >> >
> >>>>> >> >> Hi Menaka,
> >>>>> >> >>
> >>>>> >> >> Sounds great! Do you plan to use your blog to prepare the
> >>>>> documentation?
> >>>>> >> >>
> >>>>> >> >> Feel free to use anything I've prepared if it helps. And if I
> can do
> >>>>> >> >> any more before I go on vacation, I will let you know.
> >>>>> >> >>
> >>>>> >> >> Thanks,
> >>>>> >> >>
> >>>>> >> >> Gale
> >>>>> >> >>
> >>>>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
> >>>>> >> >> <me...@gmail.com> wrote:
> >>>>> >> >> > Hi Gale,
> >>>>> >> >> >
> >>>>> >> >> > The tool is almost done I think. The functionalities,
> >>>>> >> >> > conversion,
> >>>>> >> >> > validation,
> >>>>> >> >> > inspection and
> >>>>> >> >> > statistics
> >>>>> >> >> >
> >>>>> >> >> > are done.
> >>>>> >> >> >
> >>>>> >> >> > So what remaining is, completing the documentation.
> >>>>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
> >>>>> >> >> >
> >>>>> >> >> >
> >>>>> >> >> >
> >>>>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <
> galen@noventussolutions.com
> >>>>> >
> >>>>> >> >> wrote:
> >>>>> >> >> >
> >>>>> >> >> >> Hi Menaka,
> >>>>> >> >> >>
> >>>>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
> >>>>> however I
> >>>>> >> >> can.
> >>>>> >> >> >>
> >>>>> >> >> >> When do you expect to finish your project and documentation?
> >>>>> >> >> >>
> >>>>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll
> try to
> >>>>> >> stay in
> >>>>> >> >> >> touch.
> >>>>> >> >> >>
> >>>>> >> >> >> Thanks,
> >>>>> >> >> >>
> >>>>> >> >> >> Gale
> >>>>> >> >> >>
> >>>>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> >>>>> >> >> >> <me...@gmail.com> wrote:
> >>>>> >> >> >> > Hello Gale,
> >>>>> >> >> >> > Great work. :-)
> >>>>> >> >> >> >
> >>>>> >> >> >> > I did notice the mygrid pages said the information was
> out of
> >>>>> date.
> >>>>> >> >> >> >>
> >>>>> >> >> >> > Yes. I also faced the same condition when I was starting
> the
> >>>>> >> project.
> >>>>> >> >> The
> >>>>> >> >> >> > documentation will be updated very soon as the project
> releases.
> >>>>> >> :-)
> >>>>> >> >> >> >
> >>>>> >> >> >> > I am to write the full complete documentation for the
> command
> >>>>> line
> >>>>> >> >> tool.
> >>>>> >> >> >> > I'll appreciate your support for it. :-)
> >>>>> >> >> >> >
> >>>>> >> >> >> > Cheers.
> >>>>> >> >> >> > Menaka
> >>>>> >> >> >> >
> >>>>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
> >>>>> galen@noventussolutions.com
> >>>>> >> >
> >>>>> >> >> >> wrote:
> >>>>> >> >> >> >
> >>>>> >> >> >> >> Hi Menaka,
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> >I found this doc in
> >>>>> >> >> >> >> >
> http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> Thanks for the link. I also found this mygrid link:
> >>>>> >> >> >> >>
> >>>>> >> >>
> >>>>>
> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> >>>>> >> >> >> ,
> >>>>> >> >> >> >> which is very clear about the .wfbundle file extension.
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> I did notice the mygrid pages said the information was
> out of
> >>>>> >> date.
> >>>>> >> >> >> >> So, I also looked at the taverna incubator
> documentation, and
> >>>>> the
> >>>>> >> >> >> >> incubator SCUFL API page pointed me to a github page for
> the
> >>>>> >> latest
> >>>>> >> >> >> >> information. I found the github SCUFL examples to be
> helpful:
> >>>>> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> >>>>> >> >> >> >> .
> >>>>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes
> the
> >>>>> >> >> conversion
> >>>>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
> >>>>> >> >> >> >> (
> >>>>> >> >>
> >>>>>
> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> >>>>> >> >> >> >> ), most of the references indicate the correct file
> extension
> >>>>> is
> >>>>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my
> mapping
> >>>>> >> >> table.
> >>>>> >> >> >> >> Please let me know if I missed something here.
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> I also updated the table to reflect the .wfbundle -->
> .json and
> >>>>> >> >> >> >> .wfbundle --> .iwir mappings.
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> Thanks!
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> Gale
> >>>>> >> >> >> >>
> >>>>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> >>>>> >> >> >> >> <me...@gmail.com> wrote:
> >>>>> >> >> >> >> > Hi Gale,
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir
> formats as
> >>>>> >> well
> >>>>> >> >> as
> >>>>> >> >> >> >> >> .structure?
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > Yes.
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of
> Taverna 3
> >>>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
> >>>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >>>>> >> >> >> (taverna-scufl2-api)?
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > I found this doc in
> >>>>> >> >> >> >> >
> http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > Cheers
> >>>>> >> >> >> >> > Menaka
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
> >>>>> >> galen@noventussolutions.com
> >>>>> >> >> >
> >>>>> >> >> >> >> wrote:
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> >> Hi Menaka,
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> > According to the documentations provided, SCUFL is
> an
> >>>>> >> >> experimental
> >>>>> >> >> >> >> >> module.
> >>>>> >> >> >> >> >> > So It has not added to the tool yet.
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
> >>>>> visual
> >>>>> >> >> person,
> >>>>> >> >> >> >> >> I took the Taverna
> >>>>> >> >> >> >> >> Language Module information and created a diagram:
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> > The taverna language is capable of converting
> .t2flow
> >>>>> >> workflows
> >>>>> >> >> >> into
> >>>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into
> formats
> >>>>> >> except
> >>>>> >> >> >> >> .t2flow.
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir
> formats
> >>>>> as
> >>>>> >> >> well as
> >>>>> >> >> >> >> >> .structure?
> >>>>> >> >> >> >> >> If so, I will update my table.
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle
> is the
> >>>>> >> format
> >>>>> >> >> of
> >>>>> >> >> >> >> >> Taverna
> >>>>> >> >> >> >> >> > 3)
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of
> Taverna
> >>>>> 3
> >>>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
> >>>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >>>>> >> >> >> (taverna-scufl2-api)?
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> > Input file type detection was done to avoid any
> exceptions
> >>>>> >> when
> >>>>> >> >> >> >> reading
> >>>>> >> >> >> >> >> the
> >>>>> >> >> >> >> >> > wokflow file. ...
> >>>>> >> >> >> >> >> > In new_features2, I removed it because I have
> entered the
> >>>>> >> wrong
> >>>>> >> >> >> >> logic. I
> >>>>> >> >> >> >> >> > restored it.
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> Okay, understood.
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> Thank you!
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> Gale
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >>>>> >> >> >> >> >> <me...@gmail.com> wrote:
> >>>>> >> >> >> >> >> > Hi Gale,
> >>>>> >> >> >> >> >> > According to the documentations provided, SCUFL is
> an
> >>>>> >> >> experimental
> >>>>> >> >> >> >> >> module.
> >>>>> >> >> >> >> >> > So It has not added to the tool yet.
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted
> to the
> >>>>> >> same
> >>>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not
> correct,
> >>>>> >> let me
> >>>>> >> >> >> know
> >>>>> >> >> >> >> >> >> and I'll fix it.
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > The taverna language is capable of converting
> .t2flow
> >>>>> >> workflows
> >>>>> >> >> >> into
> >>>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into
> formats
> >>>>> >> except
> >>>>> >> >> >> >> .t2flow.
> >>>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle
> is the
> >>>>> >> format
> >>>>> >> >> of
> >>>>> >> >> >> >> >> Taverna
> >>>>> >> >> >> >> >> > 3)
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > Also, I was wondering about something you said in
> one of
> >>>>> your
> >>>>> >> >> June
> >>>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language
> pull
> >>>>> >> request:
> >>>>> >> >> New
> >>>>> >> >> >> >> >> >> features2).
> >>>>> >> >> >> >> >> >> You said "File type detection removed."
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> Which file type detection is this? Is this related
> to
> >>>>> >> Stain's
> >>>>> >> >> June
> >>>>> >> >> >> >> 4th
> >>>>> >> >> >> >> >> >> email, in which he said the input format is
> auto-guessed
> >>>>> by
> >>>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my
> blog I
> >>>>> >> included
> >>>>> >> >> >> this
> >>>>> >> >> >> >> >> >> comment and I wanted to make sure it is still
> accurate.
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > Input file type detection was done to avoid any
> exceptions
> >>>>> >> when
> >>>>> >> >> >> >> reading
> >>>>> >> >> >> >> >> the
> >>>>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the
> media
> >>>>> type
> >>>>> >> and
> >>>>> >> >> >> read
> >>>>> >> >> >> >> the
> >>>>> >> >> >> >> >> > bundle but, the input format could be wrongly
> entered by
> >>>>> the
> >>>>> >> >> user.
> >>>>> >> >> >> We
> >>>>> >> >> >> >> >> can't
> >>>>> >> >> >> >> >> > promise that the user could always do the correct
> thing.
> >>>>> >> Also in
> >>>>> >> >> >> >> >> recursive
> >>>>> >> >> >> >> >> > conversion, there could be other files also.
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > In new_features2, I removed it because I have
> entered the
> >>>>> >> wrong
> >>>>> >> >> >> >> logic. I
> >>>>> >> >> >> >> >> > restored it.
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > Thank you
> >>>>> >> >> >> >> >> > Menaka
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
> >>>>> >> >> galen@noventussolutions.com
> >>>>> >> >> >> >
> >>>>> >> >> >> >> >> wrote:
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >> Hi Menaka,
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> A couple more things.
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> I am trying to organize my understanding of how the
> >>>>> >> conversions
> >>>>> >> >> >> work,
> >>>>> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be
> converted to
> >>>>> the
> >>>>> >> same
> >>>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not
> correct,
> >>>>> >> let me
> >>>>> >> >> >> know
> >>>>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats
> also
> >>>>> be
> >>>>> >> >> listed?
> >>>>> >> >> >> >> The
> >>>>> >> >> >> >> >> >> table is my best guess from reading all of the
> emails, so
> >>>>> >> >> please
> >>>>> >> >> >> let
> >>>>> >> >> >> >> >> >> me know if anything is wrong, or if I missed
> something.
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> Also, I was wondering about something you said in
> one of
> >>>>> >> your
> >>>>> >> >> June
> >>>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language
> pull
> >>>>> >> request:
> >>>>> >> >> New
> >>>>> >> >> >> >> >> >> features2).
> >>>>> >> >> >> >> >> >> You said "File type detection removed."
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> Which file type detection is this? Is this related
> to
> >>>>> >> Stain's
> >>>>> >> >> June
> >>>>> >> >> >> >> 4th
> >>>>> >> >> >> >> >> >> email, in which he said the input format is
> auto-guessed
> >>>>> by
> >>>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my
> blog I
> >>>>> >> included
> >>>>> >> >> >> this
> >>>>> >> >> >> >> >> >> comment and I wanted to make sure it is still
> accurate.
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> Thanks!
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> Gale
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >>>>> >> >> >> >> >> >> <me...@gmail.com> wrote:
> >>>>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
> >>>>> >> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> >>>>> >> >> >> menaka12350@gmail.com
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> >> >> wrote:
> >>>>> >> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >> >> Hi Gale,
> >>>>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my
> blogs. I'm
> >>>>> very
> >>>>> >> >> new
> >>>>> >> >> >> and
> >>>>> >> >> >> >> >> there
> >>>>> >> >> >> >> >> >> >> could be some flows. Thank you very much for
> showing
> >>>>> >> them.
> >>>>> >> >> :-)
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
> >>>>> converted
> >>>>> >> >> are
> >>>>> >> >> >> >> listed
> >>>>> >> >> >> >> >> in
> >>>>> >> >> >> >> >> >> >> this blog.
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >>>>> >> >> >> >> >> >> >> The bundles are not workflows.
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it
> somewhat
> >>>>> >> >> >> >> misleading.....
> >>>>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles.
> Those are
> >>>>> two
> >>>>> >> >> >> different
> >>>>> >> >> >> >> >> APIs.
> >>>>> >> >> >> >> >> >> >> I'll update the blog. :-)
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
> >>>>> could be
> >>>>> >> >> >> >> converted
> >>>>> >> >> >> >> >> into
> >>>>> >> >> >> >> >> >> >> robundle.
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done.
> Other
> >>>>> >> wise
> >>>>> >> >> it
> >>>>> >> >> >> >> looks
> >>>>> >> >> >> >> >> like
> >>>>> >> >> >> >> >> >> >> any format could be converted into Robundle.
> I'll
> >>>>> update
> >>>>> >> my
> >>>>> >> >> >> blog
> >>>>> >> >> >> >> too.
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> Are there any more facts that need
> clarification about
> >>>>> >> the
> >>>>> >> >> >> blogs
> >>>>> >> >> >> >> >> please
> >>>>> >> >> >> >> >> >> >> ask me. :)
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> Thank you very much Gale.
> >>>>> >> >> >> >> >> >> >> Menaka
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> >>>>> >> >> >> >> galen@noventussolutions.com>
> >>>>> >> >> >> >> >> >> wrote:
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >>> Hi Menaka,
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> I've been reading and learning more about
> research
> >>>>> >> objects,
> >>>>> >> >> >> and I
> >>>>> >> >> >> >> >> >> >>> think I understand better what is going on,
> but I
> >>>>> still
> >>>>> >> >> have
> >>>>> >> >> >> some
> >>>>> >> >> >> >> >> >> >>> questions.
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
> >>>>> >> converted
> >>>>> >> >> to
> >>>>> >> >> >> >> >> .robundle
> >>>>> >> >> >> >> >> >> >>> format? (I must have missed something because I
> >>>>> thought
> >>>>> >> >> >> .t2flow
> >>>>> >> >> >> >> and
> >>>>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file
> types.)
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I
> see you
> >>>>> say
> >>>>> >> >> that
> >>>>> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> command line tool is for converting and
> managing
> >>>>> >> workflow
> >>>>> >> >> >> >> "bundles"
> >>>>> >> >> >> >> >> as
> >>>>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow
> files
> >>>>> >> "workflow
> >>>>> >> >> >> >> bundles"
> >>>>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a
> practical
> >>>>> >> >> difference?
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
> >>>>> conversions
> >>>>> >> >> are
> >>>>> >> >> >> >> valid.
> >>>>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your
> June
> >>>>> 18th
> >>>>> >> >> blog
> >>>>> >> >> >> post
> >>>>> >> >> >> >> >> you
> >>>>> >> >> >> >> >> >> >>> say:
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> "The conversion function supports converting
> .t2flow
> >>>>> and
> >>>>> >> >> >> >> .wfbundle
> >>>>> >> >> >> >> >> >> >>> formats into following formats:
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> .structure
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> .json
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> .iwir
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> .wfbundle
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> To me, reading this looks like all
> combinations are
> >>>>> >> valid.
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle
> files
> >>>>> be
> >>>>> >> >> >> converted
> >>>>> >> >> >> >> to
> >>>>> >> >> >> >> >> >> >>> all file types *except* robundle?
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post.
> Should I
> >>>>> also
> >>>>> >> >> change
> >>>>> >> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> --robundle option description to say "Output
> bundle
> >>>>> as
> >>>>> >> >> >> .robundle"
> >>>>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ?
> (Same for
> >>>>> >> >> >> .wfbundle
> >>>>> >> >> >> >> >> >> >>> option.)
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link
> to the
> >>>>> >> >> example!
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> Have a nice weekend.
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> Gale
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka
> Madushanka
> >>>>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
> >>>>> >> >> >> >> >> >> >>> > Hi Gale,
> >>>>> >> >> >> >> >> >> >>> > Use this link
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> > Cheers
> >>>>> >> >> >> >> >> >> >>> > Menaka
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >>>>> >> >> >> >> >> galen@noventussolutions.com>
> >>>>> >> >> >> >> >> >> >>> wrote:
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> >> Hi Menaka,
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
> >>>>> >> information.
> >>>>> >> >> >> Sorry
> >>>>> >> >> >> >> not
> >>>>> >> >> >> >> >> to
> >>>>> >> >> >> >> >> >> >>> respond
> >>>>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc.
> and
> >>>>> reading
> >>>>> >> >> the
> >>>>> >> >> >> link
> >>>>> >> >> >> >> >> you
> >>>>> >> >> >> >> >> >> >>> sent.
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
> >>>>> example
> >>>>> >> in
> >>>>> >> >> the
> >>>>> >> >> >> >> >> Examples
> >>>>> >> >> >> >> >> >> >>> of Use
> >>>>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
> >>>>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so
> far:
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is
> not
> >>>>> the
> >>>>> >> web
> >>>>> >> >> >> page
> >>>>> >> >> >> >> you
> >>>>> >> >> >> >> >> are
> >>>>> >> >> >> >> >> >> >>> >> looking
> >>>>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >>>>> >> >> >> >> >> >> >>> >> )
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> - Entering
> >>>>> "org.apache.taverna.robundle.TestExample"
> >>>>> >> >> also
> >>>>> >> >> >> >> doesn't
> >>>>> >> >> >> >> >> >> work
> >>>>> >> >> >> >> >> >> >>> for
> >>>>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried
> anyway.
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle
> TestExample" on
> >>>>> the
> >>>>> >> >> main
> >>>>> >> >> >> >> >> >> Apache.com
> >>>>> >> >> >> >> >> >> >>> page
> >>>>> >> >> >> >> >> >> >>> >> yields no results.
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> I will continue to read and understand the
> RO
> >>>>> Bundle
> >>>>> >> API
> >>>>> >> >> >> page,
> >>>>> >> >> >> >> >> but I
> >>>>> >> >> >> >> >> >> >>> would
> >>>>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if
> possible.
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> Thanks!
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> Gale
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> -----Original Message-----
> >>>>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
> >>>>> >> menaka12350@gmail.com]
> >>>>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >>>>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >>>>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line
> tool -
> >>>>> >> >> convert
> >>>>> >> >> >> >> command
> >>>>> >> >> >> >> >> >> doc
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
> >>>>> >> >> >> >> >> >> >>> >> Correction:
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple
> input
> >>>>> >> files, no
> >>>>> >> >> >> >> options
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle
> /someFile1.wfbundle
> >>>>> >> >> >> >> >> >> /someFile2.wfbundle
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
> >>>>> >> >> */someFile2.wfbundle*
> >>>>> >> >> >> >> into
> >>>>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output
> files to
> >>>>> >> the
> >>>>> >> >> >> >> >> */converted*
> >>>>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
> >>>>> .wfbundles/.t2flow
> >>>>> >> >> into
> >>>>> >> >> >> >> >> robundle
> >>>>> >> >> >> >> >> >> >>> format.
> >>>>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats.
> Go
> >>>>> through
> >>>>> >> >> this
> >>>>> >> >> >> doc
> >>>>> >> >> >> >> >> for
> >>>>> >> >> >> >> >> >> more
> >>>>> >> >> >> >> >> >> >>> >> info.
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >> >>
> >>>>> >>
> >>>>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> cheers.
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >>>>> >> >> >> >> >> galen@noventussolutions.com>
> >>>>> >> >> >> >> >> >> >>> wrote:
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka!
> I have
> >>>>> >> >> changed
> >>>>> >> >> >> the
> >>>>> >> >> >> >> two
> >>>>> >> >> >> >> >> >> blog
> >>>>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks
> great.
> >>>>> I
> >>>>> >> also
> >>>>> >> >> >> made
> >>>>> >> >> >> >> a
> >>>>> >> >> >> >> >> few
> >>>>> >> >> >> >> >> >> >>> >> > refinements.
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>> >> > Thanks,
> >>>>> >> >> >> >> >> >> >>> >> > Gale
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
> >>>>> Madushanka
> >>>>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
> >>>>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > I showed the output-format without
> brackets to
> >>>>> >> >> indicate
> >>>>> >> >> >> >> it is
> >>>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it
> appears
> >>>>> to
> >>>>> >> be
> >>>>> >> >> >> always
> >>>>> >> >> >> >> >> >> >>> necessary
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think.
> I'm very
> >>>>> new
> >>>>> >> >> for
> >>>>> >> >> >> >> >> >> >>> documentation.
> >>>>> >> >> >> >> >> >> >>> >> > Thank
> >>>>> >> >> >> >> >> >> >>> >> > > you very much.
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as
> having a
> >>>>> >> >> single
> >>>>> >> >> >> >> dash,
> >>>>> >> >> >> >> >> but
> >>>>> >> >> >> >> >> >> all
> >>>>> >> >> >> >> >> >> >>> >> > >> the other output types have
> double-dashes.
> >>>>> >> Should I
> >>>>> >> >> >> >> change
> >>>>> >> >> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> json
> >>>>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email
> that was a
> >>>>> >> >> >> mistake. So
> >>>>> >> >> >> >> >> you
> >>>>> >> >> >> >> >> >> can
> >>>>> >> >> >> >> >> >> >>> >> > > use
> >>>>> >> >> >> >> >> >> >>> >> > --.
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because
> it is
> >>>>> >> showing
> >>>>> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> >> > > double-dashes
> >>>>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use
> the
> >>>>> >> >> monospace
> >>>>> >> >> >> >> >> >> font-family.
> >>>>> >> >> >> >> >> >> >>> >> > >> Any
> >>>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but
> not us.
> >>>>> >> :-)
> >>>>> >> >> Use
> >>>>> >> >> >> >> >> >> >>> preformatted.
> >>>>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I
> updated
> >>>>> my
> >>>>> >> >> blog.
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > Thank you very much.
> >>>>> >> >> >> >> >> >> >>> >> > > Menaka
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >>>>> >> >> >> >> >> >> galen@noventussolutions.com
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> >> > wrote:
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have
> some
> >>>>> >> >> additional
> >>>>> >> >> >> >> >> feedback
> >>>>> >> >> >> >> >> >> in
> >>>>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
> >>>>> detailed
> >>>>> >> >> >> >> description
> >>>>> >> >> >> >> >> (as
> >>>>> >> >> >> >> >> >> I
> >>>>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command
> and one
> >>>>> >> has
> >>>>> >> >> >> several
> >>>>> >> >> >> >> >> >> >>> examples,
> >>>>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog.
> I hope
> >>>>> >> these
> >>>>> >> >> >> will
> >>>>> >> >> >> >> >> help
> >>>>> >> >> >> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure.
> Here are
> >>>>> >> the
> >>>>> >> >> >> links:
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> Some things to note:
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th
> post,
> >>>>> but a
> >>>>> >> few
> >>>>> >> >> >> >> things
> >>>>> >> >> >> >> >> >> (like
> >>>>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
> >>>>> >> >> posts/emails.
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
> >>>>> brackets
> >>>>> >> to
> >>>>> >> >> >> >> indicate
> >>>>> >> >> >> >> >> it
> >>>>> >> >> >> >> >> >> is
> >>>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it
> appears
> >>>>> to
> >>>>> >> be
> >>>>> >> >> >> always
> >>>>> >> >> >> >> >> >> >>> necessary.
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall
> command
> >>>>> >> >> >> structure,
> >>>>> >> >> >> >> it
> >>>>> >> >> >> >> >> >> seemed
> >>>>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
> >>>>> >> directory)
> >>>>> >> >> >> should
> >>>>> >> >> >> >> >> come
> >>>>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's
> what I
> >>>>> >> >> assumed.
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type
> as
> >>>>> having
> >>>>> >> a
> >>>>> >> >> >> single
> >>>>> >> >> >> >> >> dash,
> >>>>> >> >> >> >> >> >> but
> >>>>> >> >> >> >> >> >> >>> >> > >> all the other output types have
> >>>>> double-dashes.
> >>>>> >> >> Should
> >>>>> >> >> >> I
> >>>>> >> >> >> >> >> change
> >>>>> >> >> >> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is
> incorrect
> >>>>> and
> >>>>> >> I
> >>>>> >> >> will
> >>>>> >> >> >> >> >> change
> >>>>> >> >> >> >> >> >> it.
> >>>>> >> >> >> >> >> >> >>> I
> >>>>> >> >> >> >> >> >> >>> >> > >> realize the command structure is
> fluid, and
> >>>>> I'm
> >>>>> >> >> happy
> >>>>> >> >> >> to
> >>>>> >> >> >> >> >> make
> >>>>> >> >> >> >> >> >> any
> >>>>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because
> it is
> >>>>> >> >> showing
> >>>>> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes,
> even
> >>>>> when I
> >>>>> >> >> use
> >>>>> >> >> >> the
> >>>>> >> >> >> >> >> >> monospace
> >>>>> >> >> >> >> >> >> >>> >> > >> font-family. Any
> >>>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> Thanks,
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> Gale
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM,
> Menaka
> >>>>> >> Madushanka
> >>>>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >>>>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
> >>>>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you
> say the
> >>>>> >> files
> >>>>> >> >> >> will
> >>>>> >> >> >> >> get
> >>>>> >> >> >> >> >> >> saved
> >>>>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated
> the blog.
> >>>>> >> That
> >>>>> >> >> >> >> should be
> >>>>> >> >> >> >> >> >> >>> >> > >> > corrected
> >>>>> >> >> >> >> >> >> >>> >> > as
> >>>>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> >>>>> >> >> >> >> /home/usrname/toConvert/ –>
> >>>>> >> >> >> >> >> >> >>> >> > >> > *Convert
> >>>>> >> >> >> >> >> >> >>> >> > the
> >>>>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
> >>>>> >> …/toConvert/converted/
> >>>>> >> >> >> >> >> directory.
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
> >>>>> >> modifications
> >>>>> >> >> >> etc. So
> >>>>> >> >> >> >> >> with
> >>>>> >> >> >> >> >> >> the
> >>>>> >> >> >> >> >> >> >>> >> > >> > help
> >>>>> >> >> >> >> >> >> >>> >> > of
> >>>>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with
> a much
> >>>>> >> better
> >>>>> >> >> >> >> >> structure.
> >>>>> >> >> >> >> >> >> >>> >> > >> > Cheers
> >>>>> >> >> >> >> >> >> >>> >> > >> > Menaka
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >>>>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >>>>> >> >> >> >> >> >> >>> >> > >> wrote:
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I
> understand
> >>>>> the
> >>>>> >> >> >> command
> >>>>> >> >> >> >> >> >> structure
> >>>>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank
> you for
> >>>>> >> the
> >>>>> >> >> blog
> >>>>> >> >> >> >> >> post; it
> >>>>> >> >> >> >> >> >> >>> was
> >>>>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
> >>>>> recursive
> >>>>> >> >> >> example.
> >>>>> >> >> >> >> Can
> >>>>> >> >> >> >> >> you
> >>>>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean
> when you
> >>>>> say
> >>>>> >> >> the
> >>>>> >> >> >> >> files
> >>>>> >> >> >> >> >> will
> >>>>> >> >> >> >> >> >> >>> get
> >>>>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because
> you show
> >>>>> >> the
> >>>>> >> >> >> output
> >>>>> >> >> >> >> >> being
> >>>>> >> >> >> >> >> >> >>> saved
> >>>>> >> >> >> >> >> >> >>> >> > >> >> to:
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> /home/usrname/toConvert/converted/somefile1.json
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
> >>>>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> >>>>> >> >> >> >> /home/usrname/toConvert/ –>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in
> the C
> >>>>> >> >> directory.
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> Gale
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> B
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM,
> Menaka
> >>>>> >> >> Madushanka
> >>>>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help.
> Thank
> >>>>> you
> >>>>> >> >> very
> >>>>> >> >> >> >> much.
> >>>>> >> >> >> >> >> :-)
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic
> structure of
> >>>>> the
> >>>>> >> >> >> command:
> >>>>> >> >> >> >> >> >> tavlang
> >>>>> >> >> >> >> >> >> >>> >> > convert
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
> >>>>> files>?
> >>>>> >> Am I
> >>>>> >> >> >> >> wrong in
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
> >>>>> >> >> >> >> >> >> >>> >> > that
> >>>>> >> >> >> >> >> >> >>> >> > >> the
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as
> options?
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference
> in the
> >>>>> >> >> >> structure of
> >>>>> >> >> >> >> >> >> commands
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > now
> >>>>> >> >> >> >> >> >> >>> >> > and
> >>>>> >> >> >> >> >> >> >>> >> > >> >> then.
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command
> structure
> >>>>> is
> >>>>> >> >> like
> >>>>> >> >> >> >> this.
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put
> format]
> >>>>> >> [options]
> >>>>> >> >> >> >> >> [arguments]
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
> >>>>> independently?
> >>>>> >> If
> >>>>> >> >> so,
> >>>>> >> >> >> >> under
> >>>>> >> >> >> >> >> >> what
> >>>>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input
> will be
> >>>>> a
> >>>>> >> >> >> directory
> >>>>> >> >> >> >> >> >> >>> containing
> >>>>> >> >> >> >> >> >> >>> >> > >> .t2flow of
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
> >>>>> optional
> >>>>> >> >> for
> >>>>> >> >> >> both
> >>>>> >> >> >> >> >> >> >>> recursive
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > and
> >>>>> >> >> >> >> >> >> >>> >> > non
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the
> conversion
> >>>>> >> command.
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >>
> >>>>> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions,
> please
> >>>>> >> inform.
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Regards
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
> >>>>> >> >> >> >> >> >> >>> >> > >> >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > --
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> >>>>> >> >> >> http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> >> >>> University
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> >>>>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
> >>>>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >> >> >> >>> >> > >> >>
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> >
> >>>>> >> >> >> >> >> >> >>> >> > >> > --
> >>>>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
> >>>>> >> >> http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> >> University
> >>>>> >> >> >> >> >> >> >>> of
> >>>>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
> >>>>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
> >>>>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >> >> >> >>> >> > >>
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > >
> >>>>> >> >> >> >> >> >> >>> >> > > --
> >>>>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
> >>>>> >> http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> University
> >>>>> >> >> >> >> >> >> of
> >>>>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
> >>>>> >> >> >> >> >> >> >>> >> > > LinkedIn <
> >>>>> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >> >> >> >>> >> >
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >> --
> >>>>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <
> http://www.pdn.ac.lk/eng
> >>>>> >
> >>>>> >> >> >> >> University of
> >>>>> >> >> >> >> >> >> >>> >> Peradeniyaya.
> >>>>> >> >> >> >> >> >> >>> >> LinkedIn <
> >>>>> >> http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >> >> >> >>> >>
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> >
> >>>>> >> >> >> >> >> >> >>> > --
> >>>>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> >>> > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
> >>>>> >> >> >> >> >> >> >>> > LinkedIn <
> >>>>> http://lk.linkedin.com/in/menakajayawardena
> >>>>> >> >
> >>>>> >> >> >> >> >> >> >>>
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >> --
> >>>>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> >> Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> >> >> University of Peradeniyaya.
> >>>>> >> >> >> >> >> >> >> LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena
> >>>>> >
> >>>>> >> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >> > --
> >>>>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> >> > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> >> > University of Peradeniyaya.
> >>>>> >> >> >> >> >> >> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >> >> >>
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> >
> >>>>> >> >> >> >> >> > --
> >>>>> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> >> > University of Peradeniyaya.
> >>>>> >> >> >> >> >> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >> >>
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> >
> >>>>> >> >> >> >> > --
> >>>>> >> >> >> >> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> >> > University of Peradeniyaya.
> >>>>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >> >>
> >>>>> >> >> >> >
> >>>>> >> >> >> >
> >>>>> >> >> >> >
> >>>>> >> >> >> > --
> >>>>> >> >> >> > Menaka Madushanka Jayawardena
> >>>>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>>> >> >> >> > University of Peradeniyaya.
> >>>>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >> >>
> >>>>> >> >> >
> >>>>> >> >> >
> >>>>> >> >> >
> >>>>> >> >> > --
> >>>>> >> >> > Menaka Madushanka Jayawardena
> >>>>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>>> >> >> > University of Peradeniyaya.
> >>>>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >> >>
> >>>>> >> >
> >>>>> >> >
> >>>>> >> >
> >>>>> >> > --
> >>>>> >> > Menaka Madushanka Jayawardena
> >>>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>>> >> > University of Peradeniyaya.
> >>>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>>> >>
> >>>>> >>
> >>>>> >
> >>>>> >
> >>>>> > --
> >>>>> > Menaka Madushanka Jayawardena
> >>>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>>> > University of Peradeniyaya.
> >>>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> --
> >>>> Menaka Madushanka Jayawardena
> >>>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>>> University of Peradeniyaya.
> >>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons RDF (incubating)
> http://orcid.org/0000-0001-9842-9718
>
Re: Taverna Language Command Line tool - convert command doc
Posted by Stian Soiland-Reyes <st...@apache.org>.
Thank you Gale, for all your brilliant feedback and helping Menaka!
This is true community effort!
Good documentation can is more important than good code - specially to
help newcomers to a project.
So any feedback about any of the Taverna pages or README files are
appreciated; feel free to suggest an edit of web pages [1], or raise a
bug [2].
[1] http://taverna.incubator.apache.org/community/edit
[2] https://issues.apache.org/jira/browse/TAVERNA/component/12326819
On 1 July 2015 at 02:55, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> You are doing an excellent job on the documentation. I'm sorry for
> bombarding you with feedback, but I wanted to help as much as possible
> before I go on vacation.
>
> As I was reviewing your blog posts, I noticed that not all of the
> words in the titles are capitalized as they should be.
>
> Also, is your initial post part of your deliverable documentation, or
> has it been replaced by your later blog posts?
>
> Just a couple of things in the research object post:
>
> Taverna Language Command line tool – Conversion Documentation – Research objects
>
> -- Use "the" in front of "following bundle formats" and use "into"
> instead of "in to": "The Apache Taverna Language is capable of
> converting the following bundle formats into Research Object bundles."
> -- Use "development: instead of "development process": "The
> conversion capability for other formats is still in development."
> -- Use "is" instead of "in": "***The support for recursive
> conversion or selecting the output file directory is not yet
> included."
>
> Thanks!
>
> Gale
>
>
> On Tue, Jun 30, 2015 at 6:08 PM, Gale Naylor
> <ga...@noventussolutions.com> wrote:
>> Hi Menaka,
>>
>> I looked at your validation documentation and I realized I have a
>> question: If the validate command is run with no options, what
>> happens? In other words, if you choose not to write the validation
>> results to a log file, what does the command do? Write the results to
>> the terminal? Does this need to be explained. (I guess I have the same
>> question about the stats command.)
>>
>> Same comment as with stats documentation about adding sections with
>> larger, and bold fonts to help with readability.
>>
>> Here are some additional comments:
>>
>> Apache Taverna Language Command line documentation – Validation
>>
>> -- Use "examining" rather than "examine": "The validation is done
>> by examining the following factors/ problems."
>> -- Use API instead of api, and use "consisting" instead of
>> "consist: "The API returns a validation report consisting of problems
>> that exist in the workflow."
>> -- Instead of "type of the problem" use either "problem category"
>> or "category of problem" and I suggest using "listed" instead of the
>> first "shown": "If there are problems, those problems are listed under
>> the problem category shown above."
>> -- After "The command line tool can execute this validation
>> process" how about saying " and tell the user if the workflow has
>> errors/ problems and what they are." So the complete sentence would
>> be: "The command line tool can execute this validation process and
>> tell the user if the workflow has errors/ problems and what they are."
>> -- Even though you only have one option, I would still put the
>> option on the next line, like you did in the Stats documentation.
>> -- Also, if it's possible it would be good to standardize the
>> documentation to say either "Supported options" or "Options." You can
>> use option(s) -- with the "s" in parentheses -- to mean it could be
>> one option or more than one option.
>> -- In the Usage section, you use [args]: "$tavlang validate
>> [options][args] input_files." In the convert and research objects
>> posts you use [arguments], and in stats you didn't list arguments at
>> all, yet it looks to me like the command structure is similar. It
>> would be good to be consistent and use either [args] or [arguments].
>> -- In the stats post you say "Supported file formats: .t2flow and
>> .wfbundle" using "and" and in the validate post you say "Supported
>> input file formats:- .t2flow/ .wfbundle" using "/". Would it be
>> possible to make these the same?
>> -- At the end of your "example with options", how about this
>> instead: "The output file contains the detailed report, including a
>> list of the workflow problems."
>>
>> Good job on all the documentation!
>>
>> Gale
>>
>> On Tue, Jun 30, 2015 at 5:25 PM, Gale Naylor
>> <ga...@noventussolutions.com> wrote:
>>> Hi Menaka,
>>>
>>> I read your stats blog post; it looks good. I am not very familiar
>>> with workflows, so I'm not sure I can comment a lot on your examples,
>>> but I did list some things that appeared to me to be inconsistent.
>>>
>>> Also, I think it would be good to make at least a couple of different
>>> sections and identify them with a larger, bold font, like you did in
>>> the Convert command blog post. In the taverna-sculf2-api Readme file
>>> (on github), they show "Usage" as a section:
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api.
>>> That might be a good idea. Then, if you use a smaller (but still bold)
>>> font for the Verbose Mode sub-section and Normal Mode sub-section,
>>> that will help the reader navigate your documentation. You could then
>>> take out the second instance of "Verbose Mode" (between the two
>>> verbose examples) like you did in the Normal Mode examples. Then, I
>>> would also create a third sub-section called "Save Results to a Log
>>> File" and below that put your example. The formatting you used in your
>>> Convert command blog post worked well.
>>>
>>> A few other things:
>>>
>>> Apache Taverna Language Command line tool – Workflow Statistics
>>>
>>> -- Capitalize the first "API," hyphenate "scufl2-api" to match the
>>> module name, and write "whatever" as one word: "The Taverna Language
>>> API (sculf2-api) has several methods to set and retrieve those
>>> resources whenever needed."
>>> -- Instead of " The command line tool is capable of listing those
>>> resources which a workflow file has." How about "The command line tool
>>> is also capable of listing workflow file resources."
>>> -- In the options section, you say "Save results in a log file"
>>> (using "in") and in your example you say "Save results to a log file"
>>> (using "to"). You might consider making those consistent.
>>> -- In your verbose Hello World example, near the end did you mean
>>> to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
>>> rather than "Output Ports"?
>>> -- In your verbose Workflow1 example, in your Data Links section,
>>> you say " |--> DataLink parameters=>input" and then " |--> DataLink
>>> output=>parameters." Should these statements both be formatted the
>>> same and match the last item? Specifically, should they all end in
>>> "==>input"? Or is there a reason for them to be different?
>>>
>>> That's all I can see!
>>>
>>> Gale
>>>
>>> On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>>> Hello Gale,
>>>> Great feed back. :-)
>>>> I did the modifications and now it looks great and clean....
>>>>
>>>> In statistics blog I did not add explanations much but examples. So that it
>>>> will be easy for you. :-)
>>>> Thank you very much for the great help you are giving me.....!!!
>>>> Please let me know if there anything that I could do and/ or need some
>>>> clarifications.
>>>>
>>>> Thank you very much
>>>> Menaka
>>>>
>>>> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
>>>>
>>>>> Hi Menaka,
>>>>>
>>>>> The changes look great! But I missed one: You should add a "The" in
>>>>> front of the inspection, validation, and statistics sentence, so it
>>>>> reads: "The following file types are supported for inspection,
>>>>> validation and statistics." (with a period at the end.) :-)
>>>>>
>>>>> I will take a look at your statistics blog post. Meanwhile, below are
>>>>> some comments for the Conversion Documentation blog post. Of course,
>>>>> let me know if I misunderstood anything you are trying to say.
>>>>>
>>>>> Apache Taverna Language Command line - Conversion Documentation
>>>>>
>>>>> Paragraph 1
>>>>> -- Use "provides" instead of "gives" and "converting and
>>>>> managing" instead of "convert and manage": "The Apache Taverna
>>>>> Language provides a set of APIs for converting and managing workflow
>>>>> bundles and Research Object bundles."
>>>>>
>>>>> Paragraph 3
>>>>> -- Add "are:": "The basic functionalities of the tool are:"
>>>>>
>>>>> In the Conversion section
>>>>> -- Use "also has" instead of "is also have": "The tool also
>>>>> has the capability of converting bundles of several formats into
>>>>> Research Object bundles."
>>>>> -- Use "Refer to" instead of "Refer": " Refer to the
>>>>> following blog for more information about converting bundle formats."
>>>>>
>>>>> In the Example usage section
>>>>> -- Use "The user" instead of "User": "The user can specify
>>>>> the way that the conversion should be done."
>>>>>
>>>>> In the Recursive conversion section
>>>>> -- Use "the tool" and "the specified output format": " In
>>>>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
>>>>> files in the given directory into the specified output format."
>>>>> -- I think you may have a typographical error: "out put"
>>>>> instead of "output" -- it should be "The output will be...
>>>>> /home/username/ ..."
>>>>>
>>>>> In the Non-recursive conversion section
>>>>> -- Use "The user" instead of "User" and "need" instead of
>>>>> "needed": "The user can use this mode to convert a specific workflow
>>>>> into the format they need." (Or, even better would be to say, "The
>>>>> user can use this mode to convert a specific work flow into the
>>>>> required format."
>>>>> -- Instead of "Here all the files that want to be converted
>>>>> must specify separately as space separated values." I think it would
>>>>> be better to say: "All files to be converted must be listed as
>>>>> space-separated values."
>>>>> -- The sentence that describes where files will be saved if
>>>>> there is no specified output directory is a difficult one to write. I
>>>>> had to think about it. Rather than saying "The converted files will be
>>>>> saved in converted folder in each parent folder which contain the
>>>>> input file." What if you said "The converted files will be saved in
>>>>> the /converted folder in the input file's parent directory."? (And use
>>>>> the "/" in front of converted to stress that it is a folder name?)
>>>>> -- You need a comma after "Also." And use "are to be saved"
>>>>> instead of "to be saved": "Also, users can specify the directory where
>>>>> the converted files are to be saved."
>>>>> -- In your footnote, "out put" should be one word: "output":
>>>>> "*The tool can only manage one output file format at a time."
>>>>>
>>>>> Happy documenting!
>>>>>
>>>>> Gale
>>>>>
>>>>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
>>>>> <me...@gmail.com> wrote:
>>>>> > Thank you very much Gale.
>>>>> > I did the modifications. :-)
>>>>> > Actually, unless you give me this feedback, it would mislead the readers.
>>>>> > I'm very grateful for correcting me. :-)
>>>>> >
>>>>> > I just wrote the documentation for statistics.
>>>>> >
>>>>> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
>>>>> >
>>>>> > Cheers
>>>>> > Menaka
>>>>> >
>>>>> > On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com>
>>>>> wrote:
>>>>> >
>>>>> >> Hi Menaka,
>>>>> >>
>>>>> >> I'm so glad I could help. You've done a nice job on your blog posts.
>>>>> >> If you don't mind, I can suggest some slight wording changes that I
>>>>> >> believe will make your meanings more clear. For example:
>>>>> >>
>>>>> >> Apache Taverna Language Command Line Tool – Supported functions and file
>>>>> >> types
>>>>> >> Paragraph 1
>>>>> >> -- Capitalize Taverna and Language: "The Apache Taverna
>>>>> >> Language is still …"
>>>>> >> -- Use "Currently" instead of "By now": "Currently the tool
>>>>> >> supports…"
>>>>> >> Paragraph 2
>>>>> >> -- Add "The" to the beginning of the sentence: "The
>>>>> >> following file types are supported..."
>>>>> >> -- I noticed you use .scufl2 in this blogpost, but .t2flow
>>>>> >> in the next blogpost.
>>>>> >>
>>>>> >> Please let me know if this kind of feedback would be helpful.
>>>>> >>
>>>>> >> Thanks,
>>>>> >>
>>>>> >> Gale
>>>>> >>
>>>>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
>>>>> >> <me...@gmail.com> wrote:
>>>>> >> > Yes Gale,
>>>>> >> > I'm thinking on taking them as a reference. For the best, I have some
>>>>> >> much
>>>>> >> > better doc from you. :-) :-)
>>>>> >> >
>>>>> >> > Thank you very much.
>>>>> >> > Menaka
>>>>> >> >
>>>>> >> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
>>>>> >> wrote:
>>>>> >> >
>>>>> >> >> Hi Menaka,
>>>>> >> >>
>>>>> >> >> Sounds great! Do you plan to use your blog to prepare the
>>>>> documentation?
>>>>> >> >>
>>>>> >> >> Feel free to use anything I've prepared if it helps. And if I can do
>>>>> >> >> any more before I go on vacation, I will let you know.
>>>>> >> >>
>>>>> >> >> Thanks,
>>>>> >> >>
>>>>> >> >> Gale
>>>>> >> >>
>>>>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
>>>>> >> >> <me...@gmail.com> wrote:
>>>>> >> >> > Hi Gale,
>>>>> >> >> >
>>>>> >> >> > The tool is almost done I think. The functionalities,
>>>>> >> >> > conversion,
>>>>> >> >> > validation,
>>>>> >> >> > inspection and
>>>>> >> >> > statistics
>>>>> >> >> >
>>>>> >> >> > are done.
>>>>> >> >> >
>>>>> >> >> > So what remaining is, completing the documentation.
>>>>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <galen@noventussolutions.com
>>>>> >
>>>>> >> >> wrote:
>>>>> >> >> >
>>>>> >> >> >> Hi Menaka,
>>>>> >> >> >>
>>>>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
>>>>> however I
>>>>> >> >> can.
>>>>> >> >> >>
>>>>> >> >> >> When do you expect to finish your project and documentation?
>>>>> >> >> >>
>>>>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
>>>>> >> stay in
>>>>> >> >> >> touch.
>>>>> >> >> >>
>>>>> >> >> >> Thanks,
>>>>> >> >> >>
>>>>> >> >> >> Gale
>>>>> >> >> >>
>>>>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>>>>> >> >> >> <me...@gmail.com> wrote:
>>>>> >> >> >> > Hello Gale,
>>>>> >> >> >> > Great work. :-)
>>>>> >> >> >> >
>>>>> >> >> >> > I did notice the mygrid pages said the information was out of
>>>>> date.
>>>>> >> >> >> >>
>>>>> >> >> >> > Yes. I also faced the same condition when I was starting the
>>>>> >> project.
>>>>> >> >> The
>>>>> >> >> >> > documentation will be updated very soon as the project releases.
>>>>> >> :-)
>>>>> >> >> >> >
>>>>> >> >> >> > I am to write the full complete documentation for the command
>>>>> line
>>>>> >> >> tool.
>>>>> >> >> >> > I'll appreciate your support for it. :-)
>>>>> >> >> >> >
>>>>> >> >> >> > Cheers.
>>>>> >> >> >> > Menaka
>>>>> >> >> >> >
>>>>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
>>>>> galen@noventussolutions.com
>>>>> >> >
>>>>> >> >> >> wrote:
>>>>> >> >> >> >
>>>>> >> >> >> >> Hi Menaka,
>>>>> >> >> >> >>
>>>>> >> >> >> >> >I found this doc in
>>>>> >> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>>>> >> >> >> >>
>>>>> >> >> >> >> Thanks for the link. I also found this mygrid link:
>>>>> >> >> >> >>
>>>>> >> >>
>>>>> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>>>>> >> >> >> ,
>>>>> >> >> >> >> which is very clear about the .wfbundle file extension.
>>>>> >> >> >> >>
>>>>> >> >> >> >> I did notice the mygrid pages said the information was out of
>>>>> >> date.
>>>>> >> >> >> >> So, I also looked at the taverna incubator documentation, and
>>>>> the
>>>>> >> >> >> >> incubator SCUFL API page pointed me to a github page for the
>>>>> >> latest
>>>>> >> >> >> >> information. I found the github SCUFL examples to be helpful:
>>>>> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>>>>> >> >> >> >> .
>>>>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
>>>>> >> >> conversion
>>>>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
>>>>> >> >> >> >>
>>>>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
>>>>> >> >> >> >> (
>>>>> >> >>
>>>>> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>>>>> >> >> >> >> ), most of the references indicate the correct file extension
>>>>> is
>>>>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
>>>>> >> >> table.
>>>>> >> >> >> >> Please let me know if I missed something here.
>>>>> >> >> >> >>
>>>>> >> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
>>>>> >> >> >> >> .wfbundle --> .iwir mappings.
>>>>> >> >> >> >>
>>>>> >> >> >> >> Thanks!
>>>>> >> >> >> >>
>>>>> >> >> >> >> Gale
>>>>> >> >> >> >>
>>>>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>>>>> >> >> >> >> <me...@gmail.com> wrote:
>>>>> >> >> >> >> > Hi Gale,
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
>>>>> >> well
>>>>> >> >> as
>>>>> >> >> >> >> >> .structure?
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > Yes.
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>>>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>>>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>>>>> >> >> >> (taverna-scufl2-api)?
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > I found this doc in
>>>>> >> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > Cheers
>>>>> >> >> >> >> > Menaka
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
>>>>> >> galen@noventussolutions.com
>>>>> >> >> >
>>>>> >> >> >> >> wrote:
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >> Hi Menaka,
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>>>>> >> >> experimental
>>>>> >> >> >> >> >> module.
>>>>> >> >> >> >> >> > So It has not added to the tool yet.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
>>>>> visual
>>>>> >> >> person,
>>>>> >> >> >> >> >> I took the Taverna
>>>>> >> >> >> >> >> Language Module information and created a diagram:
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>>>>> >> workflows
>>>>> >> >> >> into
>>>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>>>>> >> except
>>>>> >> >> >> >> .t2flow.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats
>>>>> as
>>>>> >> >> well as
>>>>> >> >> >> >> >> .structure?
>>>>> >> >> >> >> >> If so, I will update my table.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>>>>> >> format
>>>>> >> >> of
>>>>> >> >> >> >> >> Taverna
>>>>> >> >> >> >> >> > 3)
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna
>>>>> 3
>>>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>>>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>>>>> >> >> >> (taverna-scufl2-api)?
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>>>>> >> when
>>>>> >> >> >> >> reading
>>>>> >> >> >> >> >> the
>>>>> >> >> >> >> >> > wokflow file. ...
>>>>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>>>>> >> wrong
>>>>> >> >> >> >> logic. I
>>>>> >> >> >> >> >> > restored it.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Okay, understood.
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Thank you!
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> Gale
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>>>>> >> >> >> >> >> <me...@gmail.com> wrote:
>>>>> >> >> >> >> >> > Hi Gale,
>>>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>>>>> >> >> experimental
>>>>> >> >> >> >> >> module.
>>>>> >> >> >> >> >> > So It has not added to the tool yet.
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
>>>>> >> same
>>>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>>>>> >> let me
>>>>> >> >> >> know
>>>>> >> >> >> >> >> >> and I'll fix it.
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>>>>> >> workflows
>>>>> >> >> >> into
>>>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>>>>> >> except
>>>>> >> >> >> >> .t2flow.
>>>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>>>>> >> format
>>>>> >> >> of
>>>>> >> >> >> >> >> Taverna
>>>>> >> >> >> >> >> > 3)
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > Also, I was wondering about something you said in one of
>>>>> your
>>>>> >> >> June
>>>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>>>>> >> request:
>>>>> >> >> New
>>>>> >> >> >> >> >> >> features2).
>>>>> >> >> >> >> >> >> You said "File type detection removed."
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>>>>> >> Stain's
>>>>> >> >> June
>>>>> >> >> >> >> 4th
>>>>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>>>>> by
>>>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>>>>> >> included
>>>>> >> >> >> this
>>>>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>>>>> >> when
>>>>> >> >> >> >> reading
>>>>> >> >> >> >> >> the
>>>>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media
>>>>> type
>>>>> >> and
>>>>> >> >> >> read
>>>>> >> >> >> >> the
>>>>> >> >> >> >> >> > bundle but, the input format could be wrongly entered by
>>>>> the
>>>>> >> >> user.
>>>>> >> >> >> We
>>>>> >> >> >> >> >> can't
>>>>> >> >> >> >> >> > promise that the user could always do the correct thing.
>>>>> >> Also in
>>>>> >> >> >> >> >> recursive
>>>>> >> >> >> >> >> > conversion, there could be other files also.
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>>>>> >> wrong
>>>>> >> >> >> >> logic. I
>>>>> >> >> >> >> >> > restored it.
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > Thank you
>>>>> >> >> >> >> >> > Menaka
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
>>>>> >> >> galen@noventussolutions.com
>>>>> >> >> >> >
>>>>> >> >> >> >> >> wrote:
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> >> Hi Menaka,
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> A couple more things.
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> I am trying to organize my understanding of how the
>>>>> >> conversions
>>>>> >> >> >> work,
>>>>> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to
>>>>> the
>>>>> >> same
>>>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>>>>> >> let me
>>>>> >> >> >> know
>>>>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also
>>>>> be
>>>>> >> >> listed?
>>>>> >> >> >> >> The
>>>>> >> >> >> >> >> >> table is my best guess from reading all of the emails, so
>>>>> >> >> please
>>>>> >> >> >> let
>>>>> >> >> >> >> >> >> me know if anything is wrong, or if I missed something.
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> Also, I was wondering about something you said in one of
>>>>> >> your
>>>>> >> >> June
>>>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>>>>> >> request:
>>>>> >> >> New
>>>>> >> >> >> >> >> >> features2).
>>>>> >> >> >> >> >> >> You said "File type detection removed."
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>>>>> >> Stain's
>>>>> >> >> June
>>>>> >> >> >> >> 4th
>>>>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>>>>> by
>>>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>>>>> >> included
>>>>> >> >> >> this
>>>>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> Thanks!
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> Gale
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>>>>> >> >> >> >> >> >> <me...@gmail.com> wrote:
>>>>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
>>>>> >> >> >> >> >> >> >
>>>>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>>>>> >> >> >> menaka12350@gmail.com
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >> >> wrote:
>>>>> >> >> >> >> >> >> >
>>>>> >> >> >> >> >> >> >> Hi Gale,
>>>>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm
>>>>> very
>>>>> >> >> new
>>>>> >> >> >> and
>>>>> >> >> >> >> >> there
>>>>> >> >> >> >> >> >> >> could be some flows. Thank you very much for showing
>>>>> >> them.
>>>>> >> >> :-)
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
>>>>> converted
>>>>> >> >> are
>>>>> >> >> >> >> listed
>>>>> >> >> >> >> >> in
>>>>> >> >> >> >> >> >> >> this blog.
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>>>> >> >> >> >> >> >> >> The bundles are not workflows.
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>>>>> >> >> >> >> misleading.....
>>>>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are
>>>>> two
>>>>> >> >> >> different
>>>>> >> >> >> >> >> APIs.
>>>>> >> >> >> >> >> >> >> I'll update the blog. :-)
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>>>>> could be
>>>>> >> >> >> >> converted
>>>>> >> >> >> >> >> into
>>>>> >> >> >> >> >> >> >> robundle.
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
>>>>> >> wise
>>>>> >> >> it
>>>>> >> >> >> >> looks
>>>>> >> >> >> >> >> like
>>>>> >> >> >> >> >> >> >> any format could be converted into Robundle. I'll
>>>>> update
>>>>> >> my
>>>>> >> >> >> blog
>>>>> >> >> >> >> too.
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> Are there any more facts that need clarification about
>>>>> >> the
>>>>> >> >> >> blogs
>>>>> >> >> >> >> >> please
>>>>> >> >> >> >> >> >> >> ask me. :)
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> Thank you very much Gale.
>>>>> >> >> >> >> >> >> >> Menaka
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>>>>> >> >> >> >> galen@noventussolutions.com>
>>>>> >> >> >> >> >> >> wrote:
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >>> Hi Menaka,
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> I've been reading and learning more about research
>>>>> >> objects,
>>>>> >> >> >> and I
>>>>> >> >> >> >> >> >> >>> think I understand better what is going on, but I
>>>>> still
>>>>> >> >> have
>>>>> >> >> >> some
>>>>> >> >> >> >> >> >> >>> questions.
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
>>>>> >> converted
>>>>> >> >> to
>>>>> >> >> >> >> >> .robundle
>>>>> >> >> >> >> >> >> >>> format? (I must have missed something because I
>>>>> thought
>>>>> >> >> >> .t2flow
>>>>> >> >> >> >> and
>>>>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you
>>>>> say
>>>>> >> >> that
>>>>> >> >> >> the
>>>>> >> >> >> >> >> >> >>> command line tool is for converting and managing
>>>>> >> workflow
>>>>> >> >> >> >> "bundles"
>>>>> >> >> >> >> >> as
>>>>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
>>>>> >> "workflow
>>>>> >> >> >> >> bundles"
>>>>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
>>>>> >> >> difference?
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
>>>>> conversions
>>>>> >> >> are
>>>>> >> >> >> >> valid.
>>>>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your June
>>>>> 18th
>>>>> >> >> blog
>>>>> >> >> >> post
>>>>> >> >> >> >> >> you
>>>>> >> >> >> >> >> >> >>> say:
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> "The conversion function supports converting .t2flow
>>>>> and
>>>>> >> >> >> >> .wfbundle
>>>>> >> >> >> >> >> >> >>> formats into following formats:
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> .structure
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> .json
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> .iwir
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> .wfbundle
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> To me, reading this looks like all combinations are
>>>>> >> valid.
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files
>>>>> be
>>>>> >> >> >> converted
>>>>> >> >> >> >> to
>>>>> >> >> >> >> >> >> >>> all file types *except* robundle?
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I
>>>>> also
>>>>> >> >> change
>>>>> >> >> >> >> the
>>>>> >> >> >> >> >> >> >>> --robundle option description to say "Output bundle
>>>>> as
>>>>> >> >> >> .robundle"
>>>>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>>>>> >> >> >> .wfbundle
>>>>> >> >> >> >> >> >> >>> option.)
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
>>>>> >> >> example!
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> Have a nice weekend.
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> Gale
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
>>>>> >> >> >> >> >> >> >>> > Hi Gale,
>>>>> >> >> >> >> >> >> >>> > Use this link
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> > Cheers
>>>>> >> >> >> >> >> >> >>> > Menaka
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>>>>> >> >> >> >> >> galen@noventussolutions.com>
>>>>> >> >> >> >> >> >> >>> wrote:
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> >> Hi Menaka,
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
>>>>> >> information.
>>>>> >> >> >> Sorry
>>>>> >> >> >> >> not
>>>>> >> >> >> >> >> to
>>>>> >> >> >> >> >> >> >>> respond
>>>>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and
>>>>> reading
>>>>> >> >> the
>>>>> >> >> >> link
>>>>> >> >> >> >> >> you
>>>>> >> >> >> >> >> >> >>> sent.
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
>>>>> example
>>>>> >> in
>>>>> >> >> the
>>>>> >> >> >> >> >> Examples
>>>>> >> >> >> >> >> >> >>> of Use
>>>>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
>>>>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not
>>>>> the
>>>>> >> web
>>>>> >> >> >> page
>>>>> >> >> >> >> you
>>>>> >> >> >> >> >> are
>>>>> >> >> >> >> >> >> >>> >> looking
>>>>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>>> >> >> >> >> >> >> >>> >> )
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> - Entering
>>>>> "org.apache.taverna.robundle.TestExample"
>>>>> >> >> also
>>>>> >> >> >> >> doesn't
>>>>> >> >> >> >> >> >> work
>>>>> >> >> >> >> >> >> >>> for
>>>>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on
>>>>> the
>>>>> >> >> main
>>>>> >> >> >> >> >> >> Apache.com
>>>>> >> >> >> >> >> >> >>> page
>>>>> >> >> >> >> >> >> >>> >> yields no results.
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> I will continue to read and understand the RO
>>>>> Bundle
>>>>> >> API
>>>>> >> >> >> page,
>>>>> >> >> >> >> >> but I
>>>>> >> >> >> >> >> >> >>> would
>>>>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> Thanks!
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> Gale
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> -----Original Message-----
>>>>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
>>>>> >> menaka12350@gmail.com]
>>>>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>>>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>>>>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
>>>>> >> >> convert
>>>>> >> >> >> >> command
>>>>> >> >> >> >> >> >> doc
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
>>>>> >> >> >> >> >> >> >>> >> Correction:
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
>>>>> >> files, no
>>>>> >> >> >> >> options
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>>>>> >> >> >> >> >> >> /someFile2.wfbundle
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
>>>>> >> >> */someFile2.wfbundle*
>>>>> >> >> >> >> into
>>>>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
>>>>> >> the
>>>>> >> >> >> >> >> */converted*
>>>>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
>>>>> .wfbundles/.t2flow
>>>>> >> >> into
>>>>> >> >> >> >> >> robundle
>>>>> >> >> >> >> >> >> >>> format.
>>>>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go
>>>>> through
>>>>> >> >> this
>>>>> >> >> >> doc
>>>>> >> >> >> >> >> for
>>>>> >> >> >> >> >> >> more
>>>>> >> >> >> >> >> >> >>> >> info.
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >>
>>>>> >> >> >>
>>>>> >> >>
>>>>> >>
>>>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> cheers.
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>>>>> >> >> >> >> >> galen@noventussolutions.com>
>>>>> >> >> >> >> >> >> >>> wrote:
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
>>>>> >> >> changed
>>>>> >> >> >> the
>>>>> >> >> >> >> two
>>>>> >> >> >> >> >> >> blog
>>>>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great.
>>>>> I
>>>>> >> also
>>>>> >> >> >> made
>>>>> >> >> >> >> a
>>>>> >> >> >> >> >> few
>>>>> >> >> >> >> >> >> >>> >> > refinements.
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>> >> > Thanks,
>>>>> >> >> >> >> >> >> >>> >> > Gale
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>>> Madushanka
>>>>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
>>>>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
>>>>> >> >> indicate
>>>>> >> >> >> >> it is
>>>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>>>>> to
>>>>> >> be
>>>>> >> >> >> always
>>>>> >> >> >> >> >> >> >>> necessary
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very
>>>>> new
>>>>> >> >> for
>>>>> >> >> >> >> >> >> >>> documentation.
>>>>> >> >> >> >> >> >> >>> >> > Thank
>>>>> >> >> >> >> >> >> >>> >> > > you very much.
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
>>>>> >> >> single
>>>>> >> >> >> >> dash,
>>>>> >> >> >> >> >> but
>>>>> >> >> >> >> >> >> all
>>>>> >> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
>>>>> >> Should I
>>>>> >> >> >> >> change
>>>>> >> >> >> >> >> the
>>>>> >> >> >> >> >> >> >>> json
>>>>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
>>>>> >> >> >> mistake. So
>>>>> >> >> >> >> >> you
>>>>> >> >> >> >> >> >> can
>>>>> >> >> >> >> >> >> >>> >> > > use
>>>>> >> >> >> >> >> >> >>> >> > --.
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
>>>>> >> showing
>>>>> >> >> >> the
>>>>> >> >> >> >> >> >> >>> >> > > double-dashes
>>>>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
>>>>> >> >> monospace
>>>>> >> >> >> >> >> >> font-family.
>>>>> >> >> >> >> >> >> >>> >> > >> Any
>>>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
>>>>> >> :-)
>>>>> >> >> Use
>>>>> >> >> >> >> >> >> >>> preformatted.
>>>>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated
>>>>> my
>>>>> >> >> blog.
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >>
>>>>> >> >> >>
>>>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > Thank you very much.
>>>>> >> >> >> >> >> >> >>> >> > > Menaka
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>>>>> >> >> >> >> >> >> galen@noventussolutions.com
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> >> > wrote:
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
>>>>> >> >> additional
>>>>> >> >> >> >> >> feedback
>>>>> >> >> >> >> >> >> in
>>>>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
>>>>> detailed
>>>>> >> >> >> >> description
>>>>> >> >> >> >> >> (as
>>>>> >> >> >> >> >> >> I
>>>>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
>>>>> >> has
>>>>> >> >> >> several
>>>>> >> >> >> >> >> >> >>> examples,
>>>>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
>>>>> >> these
>>>>> >> >> >> will
>>>>> >> >> >> >> >> help
>>>>> >> >> >> >> >> >> the
>>>>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
>>>>> >> the
>>>>> >> >> >> links:
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >>
>>>>> >> >> >>
>>>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >>
>>>>> >> >> >>
>>>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> Some things to note:
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post,
>>>>> but a
>>>>> >> few
>>>>> >> >> >> >> things
>>>>> >> >> >> >> >> >> (like
>>>>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
>>>>> >> >> posts/emails.
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
>>>>> brackets
>>>>> >> to
>>>>> >> >> >> >> indicate
>>>>> >> >> >> >> >> it
>>>>> >> >> >> >> >> >> is
>>>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>>>>> to
>>>>> >> be
>>>>> >> >> >> always
>>>>> >> >> >> >> >> >> >>> necessary.
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
>>>>> >> >> >> structure,
>>>>> >> >> >> >> it
>>>>> >> >> >> >> >> >> seemed
>>>>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
>>>>> >> directory)
>>>>> >> >> >> should
>>>>> >> >> >> >> >> come
>>>>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
>>>>> >> >> assumed.
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as
>>>>> having
>>>>> >> a
>>>>> >> >> >> single
>>>>> >> >> >> >> >> dash,
>>>>> >> >> >> >> >> >> but
>>>>> >> >> >> >> >> >> >>> >> > >> all the other output types have
>>>>> double-dashes.
>>>>> >> >> Should
>>>>> >> >> >> I
>>>>> >> >> >> >> >> change
>>>>> >> >> >> >> >> >> the
>>>>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect
>>>>> and
>>>>> >> I
>>>>> >> >> will
>>>>> >> >> >> >> >> change
>>>>> >> >> >> >> >> >> it.
>>>>> >> >> >> >> >> >> >>> I
>>>>> >> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and
>>>>> I'm
>>>>> >> >> happy
>>>>> >> >> >> to
>>>>> >> >> >> >> >> make
>>>>> >> >> >> >> >> >> any
>>>>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
>>>>> >> >> showing
>>>>> >> >> >> the
>>>>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even
>>>>> when I
>>>>> >> >> use
>>>>> >> >> >> the
>>>>> >> >> >> >> >> >> monospace
>>>>> >> >> >> >> >> >> >>> >> > >> font-family. Any
>>>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> Thanks,
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> Gale
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>>> >> Madushanka
>>>>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>>>>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
>>>>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
>>>>> >> files
>>>>> >> >> >> will
>>>>> >> >> >> >> get
>>>>> >> >> >> >> >> >> saved
>>>>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
>>>>> >> That
>>>>> >> >> >> >> should be
>>>>> >> >> >> >> >> >> >>> >> > >> > corrected
>>>>> >> >> >> >> >> >> >>> >> > as
>>>>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>>>>> >> >> >> >> /home/usrname/toConvert/ –>
>>>>> >> >> >> >> >> >> >>> >> > >> > *Convert
>>>>> >> >> >> >> >> >> >>> >> > the
>>>>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
>>>>> >> …/toConvert/converted/
>>>>> >> >> >> >> >> directory.
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
>>>>> >> modifications
>>>>> >> >> >> etc. So
>>>>> >> >> >> >> >> with
>>>>> >> >> >> >> >> >> the
>>>>> >> >> >> >> >> >> >>> >> > >> > help
>>>>> >> >> >> >> >> >> >>> >> > of
>>>>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
>>>>> >> better
>>>>> >> >> >> >> >> structure.
>>>>> >> >> >> >> >> >> >>> >> > >> > Cheers
>>>>> >> >> >> >> >> >> >>> >> > >> > Menaka
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>>>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>>>>> >> >> >> >> >> >> >>> >> > >> wrote:
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand
>>>>> the
>>>>> >> >> >> command
>>>>> >> >> >> >> >> >> structure
>>>>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
>>>>> >> the
>>>>> >> >> blog
>>>>> >> >> >> >> >> post; it
>>>>> >> >> >> >> >> >> >>> was
>>>>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
>>>>> recursive
>>>>> >> >> >> example.
>>>>> >> >> >> >> Can
>>>>> >> >> >> >> >> you
>>>>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you
>>>>> say
>>>>> >> >> the
>>>>> >> >> >> >> files
>>>>> >> >> >> >> >> will
>>>>> >> >> >> >> >> >> >>> get
>>>>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
>>>>> >> the
>>>>> >> >> >> output
>>>>> >> >> >> >> >> being
>>>>> >> >> >> >> >> >> >>> saved
>>>>> >> >> >> >> >> >> >>> >> > >> >> to:
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> /home/usrname/toConvert/converted/somefile1.json
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
>>>>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>>>>> >> >> >> >> /home/usrname/toConvert/ –>
>>>>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
>>>>> >> >> directory.
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> Gale
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> B
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>>>> >> >> Madushanka
>>>>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
>>>>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank
>>>>> you
>>>>> >> >> very
>>>>> >> >> >> >> much.
>>>>> >> >> >> >> >> :-)
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of
>>>>> the
>>>>> >> >> >> command:
>>>>> >> >> >> >> >> >> tavlang
>>>>> >> >> >> >> >> >> >>> >> > convert
>>>>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
>>>>> files>?
>>>>> >> Am I
>>>>> >> >> >> >> wrong in
>>>>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
>>>>> >> >> >> >> >> >> >>> >> > that
>>>>> >> >> >> >> >> >> >>> >> > >> the
>>>>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>>>>> >> >> >> structure of
>>>>> >> >> >> >> >> >> commands
>>>>> >> >> >> >> >> >> >>> >> > >> >> > now
>>>>> >> >> >> >> >> >> >>> >> > and
>>>>> >> >> >> >> >> >> >>> >> > >> >> then.
>>>>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure
>>>>> is
>>>>> >> >> like
>>>>> >> >> >> >> this.
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
>>>>> >> [options]
>>>>> >> >> >> >> >> [arguments]
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
>>>>> independently?
>>>>> >> If
>>>>> >> >> so,
>>>>> >> >> >> >> under
>>>>> >> >> >> >> >> >> what
>>>>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be
>>>>> a
>>>>> >> >> >> directory
>>>>> >> >> >> >> >> >> >>> containing
>>>>> >> >> >> >> >> >> >>> >> > >> .t2flow of
>>>>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
>>>>> optional
>>>>> >> >> for
>>>>> >> >> >> both
>>>>> >> >> >> >> >> >> >>> recursive
>>>>> >> >> >> >> >> >> >>> >> > >> >> > and
>>>>> >> >> >> >> >> >> >>> >> > non
>>>>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
>>>>> >> command.
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >>
>>>>> >> >> >>
>>>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
>>>>> >> inform.
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Regards
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
>>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >> > --
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>>>>> >> >> >> http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> >> >>> University
>>>>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>>>>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
>>>>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> >
>>>>> >> >> >> >> >> >> >>> >> > >> > --
>>>>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
>>>>> >> >> http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> >> University
>>>>> >> >> >> >> >> >> >>> of
>>>>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
>>>>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
>>>>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >> >> >> >>> >> > >>
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > >
>>>>> >> >> >> >> >> >> >>> >> > > --
>>>>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
>>>>> >> http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> University
>>>>> >> >> >> >> >> >> of
>>>>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
>>>>> >> >> >> >> >> >> >>> >> > > LinkedIn <
>>>>> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >> >> >> >>> >> >
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >> --
>>>>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng
>>>>> >
>>>>> >> >> >> >> University of
>>>>> >> >> >> >> >> >> >>> >> Peradeniyaya.
>>>>> >> >> >> >> >> >> >>> >> LinkedIn <
>>>>> >> http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >> >> >> >>> >>
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> >
>>>>> >> >> >> >> >> >> >>> > --
>>>>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
>>>>> >> >> >> >> >> >> >>> > LinkedIn <
>>>>> http://lk.linkedin.com/in/menakajayawardena
>>>>> >> >
>>>>> >> >> >> >> >> >> >>>
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >> --
>>>>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> >> >> University of Peradeniyaya.
>>>>> >> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena
>>>>> >
>>>>> >> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >> >
>>>>> >> >> >> >> >> >> >
>>>>> >> >> >> >> >> >> >
>>>>> >> >> >> >> >> >> > --
>>>>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> >> > University of Peradeniyaya.
>>>>> >> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >> >> >>
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> >
>>>>> >> >> >> >> >> > --
>>>>> >> >> >> >> >> > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> >> > University of Peradeniyaya.
>>>>> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >> >>
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> >
>>>>> >> >> >> >> > --
>>>>> >> >> >> >> > Menaka Madushanka Jayawardena
>>>>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> >> >> > University of Peradeniyaya.
>>>>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >> >>
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> >
>>>>> >> >> >> > --
>>>>> >> >> >> > Menaka Madushanka Jayawardena
>>>>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> >> > University of Peradeniyaya.
>>>>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >> >>
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> > --
>>>>> >> >> > Menaka Madushanka Jayawardena
>>>>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> >> > University of Peradeniyaya.
>>>>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>> >> >>
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > --
>>>>> >> > Menaka Madushanka Jayawardena
>>>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> >> > University of Peradeniyaya.
>>>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Menaka Madushanka Jayawardena
>>>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>>> > University of Peradeniyaya.
>>>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Menaka Madushanka Jayawardena
>>>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> University of Peradeniyaya.
>>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
--
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
You are doing an excellent job on the documentation. I'm sorry for
bombarding you with feedback, but I wanted to help as much as possible
before I go on vacation.
As I was reviewing your blog posts, I noticed that not all of the
words in the titles are capitalized as they should be.
Also, is your initial post part of your deliverable documentation, or
has it been replaced by your later blog posts?
Just a couple of things in the research object post:
Taverna Language Command line tool – Conversion Documentation – Research objects
-- Use "the" in front of "following bundle formats" and use "into"
instead of "in to": "The Apache Taverna Language is capable of
converting the following bundle formats into Research Object bundles."
-- Use "development: instead of "development process": "The
conversion capability for other formats is still in development."
-- Use "is" instead of "in": "***The support for recursive
conversion or selecting the output file directory is not yet
included."
Thanks!
Gale
On Tue, Jun 30, 2015 at 6:08 PM, Gale Naylor
<ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> I looked at your validation documentation and I realized I have a
> question: If the validate command is run with no options, what
> happens? In other words, if you choose not to write the validation
> results to a log file, what does the command do? Write the results to
> the terminal? Does this need to be explained. (I guess I have the same
> question about the stats command.)
>
> Same comment as with stats documentation about adding sections with
> larger, and bold fonts to help with readability.
>
> Here are some additional comments:
>
> Apache Taverna Language Command line documentation – Validation
>
> -- Use "examining" rather than "examine": "The validation is done
> by examining the following factors/ problems."
> -- Use API instead of api, and use "consisting" instead of
> "consist: "The API returns a validation report consisting of problems
> that exist in the workflow."
> -- Instead of "type of the problem" use either "problem category"
> or "category of problem" and I suggest using "listed" instead of the
> first "shown": "If there are problems, those problems are listed under
> the problem category shown above."
> -- After "The command line tool can execute this validation
> process" how about saying " and tell the user if the workflow has
> errors/ problems and what they are." So the complete sentence would
> be: "The command line tool can execute this validation process and
> tell the user if the workflow has errors/ problems and what they are."
> -- Even though you only have one option, I would still put the
> option on the next line, like you did in the Stats documentation.
> -- Also, if it's possible it would be good to standardize the
> documentation to say either "Supported options" or "Options." You can
> use option(s) -- with the "s" in parentheses -- to mean it could be
> one option or more than one option.
> -- In the Usage section, you use [args]: "$tavlang validate
> [options][args] input_files." In the convert and research objects
> posts you use [arguments], and in stats you didn't list arguments at
> all, yet it looks to me like the command structure is similar. It
> would be good to be consistent and use either [args] or [arguments].
> -- In the stats post you say "Supported file formats: .t2flow and
> .wfbundle" using "and" and in the validate post you say "Supported
> input file formats:- .t2flow/ .wfbundle" using "/". Would it be
> possible to make these the same?
> -- At the end of your "example with options", how about this
> instead: "The output file contains the detailed report, including a
> list of the workflow problems."
>
> Good job on all the documentation!
>
> Gale
>
> On Tue, Jun 30, 2015 at 5:25 PM, Gale Naylor
> <ga...@noventussolutions.com> wrote:
>> Hi Menaka,
>>
>> I read your stats blog post; it looks good. I am not very familiar
>> with workflows, so I'm not sure I can comment a lot on your examples,
>> but I did list some things that appeared to me to be inconsistent.
>>
>> Also, I think it would be good to make at least a couple of different
>> sections and identify them with a larger, bold font, like you did in
>> the Convert command blog post. In the taverna-sculf2-api Readme file
>> (on github), they show "Usage" as a section:
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api.
>> That might be a good idea. Then, if you use a smaller (but still bold)
>> font for the Verbose Mode sub-section and Normal Mode sub-section,
>> that will help the reader navigate your documentation. You could then
>> take out the second instance of "Verbose Mode" (between the two
>> verbose examples) like you did in the Normal Mode examples. Then, I
>> would also create a third sub-section called "Save Results to a Log
>> File" and below that put your example. The formatting you used in your
>> Convert command blog post worked well.
>>
>> A few other things:
>>
>> Apache Taverna Language Command line tool – Workflow Statistics
>>
>> -- Capitalize the first "API," hyphenate "scufl2-api" to match the
>> module name, and write "whatever" as one word: "The Taverna Language
>> API (sculf2-api) has several methods to set and retrieve those
>> resources whenever needed."
>> -- Instead of " The command line tool is capable of listing those
>> resources which a workflow file has." How about "The command line tool
>> is also capable of listing workflow file resources."
>> -- In the options section, you say "Save results in a log file"
>> (using "in") and in your example you say "Save results to a log file"
>> (using "to"). You might consider making those consistent.
>> -- In your verbose Hello World example, near the end did you mean
>> to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
>> rather than "Output Ports"?
>> -- In your verbose Workflow1 example, in your Data Links section,
>> you say " |--> DataLink parameters=>input" and then " |--> DataLink
>> output=>parameters." Should these statements both be formatted the
>> same and match the last item? Specifically, should they all end in
>> "==>input"? Or is there a reason for them to be different?
>>
>> That's all I can see!
>>
>> Gale
>>
>> On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>>> Hello Gale,
>>> Great feed back. :-)
>>> I did the modifications and now it looks great and clean....
>>>
>>> In statistics blog I did not add explanations much but examples. So that it
>>> will be easy for you. :-)
>>> Thank you very much for the great help you are giving me.....!!!
>>> Please let me know if there anything that I could do and/ or need some
>>> clarifications.
>>>
>>> Thank you very much
>>> Menaka
>>>
>>> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
>>>
>>>> Hi Menaka,
>>>>
>>>> The changes look great! But I missed one: You should add a "The" in
>>>> front of the inspection, validation, and statistics sentence, so it
>>>> reads: "The following file types are supported for inspection,
>>>> validation and statistics." (with a period at the end.) :-)
>>>>
>>>> I will take a look at your statistics blog post. Meanwhile, below are
>>>> some comments for the Conversion Documentation blog post. Of course,
>>>> let me know if I misunderstood anything you are trying to say.
>>>>
>>>> Apache Taverna Language Command line - Conversion Documentation
>>>>
>>>> Paragraph 1
>>>> -- Use "provides" instead of "gives" and "converting and
>>>> managing" instead of "convert and manage": "The Apache Taverna
>>>> Language provides a set of APIs for converting and managing workflow
>>>> bundles and Research Object bundles."
>>>>
>>>> Paragraph 3
>>>> -- Add "are:": "The basic functionalities of the tool are:"
>>>>
>>>> In the Conversion section
>>>> -- Use "also has" instead of "is also have": "The tool also
>>>> has the capability of converting bundles of several formats into
>>>> Research Object bundles."
>>>> -- Use "Refer to" instead of "Refer": " Refer to the
>>>> following blog for more information about converting bundle formats."
>>>>
>>>> In the Example usage section
>>>> -- Use "The user" instead of "User": "The user can specify
>>>> the way that the conversion should be done."
>>>>
>>>> In the Recursive conversion section
>>>> -- Use "the tool" and "the specified output format": " In
>>>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
>>>> files in the given directory into the specified output format."
>>>> -- I think you may have a typographical error: "out put"
>>>> instead of "output" -- it should be "The output will be...
>>>> /home/username/ ..."
>>>>
>>>> In the Non-recursive conversion section
>>>> -- Use "The user" instead of "User" and "need" instead of
>>>> "needed": "The user can use this mode to convert a specific workflow
>>>> into the format they need." (Or, even better would be to say, "The
>>>> user can use this mode to convert a specific work flow into the
>>>> required format."
>>>> -- Instead of "Here all the files that want to be converted
>>>> must specify separately as space separated values." I think it would
>>>> be better to say: "All files to be converted must be listed as
>>>> space-separated values."
>>>> -- The sentence that describes where files will be saved if
>>>> there is no specified output directory is a difficult one to write. I
>>>> had to think about it. Rather than saying "The converted files will be
>>>> saved in converted folder in each parent folder which contain the
>>>> input file." What if you said "The converted files will be saved in
>>>> the /converted folder in the input file's parent directory."? (And use
>>>> the "/" in front of converted to stress that it is a folder name?)
>>>> -- You need a comma after "Also." And use "are to be saved"
>>>> instead of "to be saved": "Also, users can specify the directory where
>>>> the converted files are to be saved."
>>>> -- In your footnote, "out put" should be one word: "output":
>>>> "*The tool can only manage one output file format at a time."
>>>>
>>>> Happy documenting!
>>>>
>>>> Gale
>>>>
>>>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
>>>> <me...@gmail.com> wrote:
>>>> > Thank you very much Gale.
>>>> > I did the modifications. :-)
>>>> > Actually, unless you give me this feedback, it would mislead the readers.
>>>> > I'm very grateful for correcting me. :-)
>>>> >
>>>> > I just wrote the documentation for statistics.
>>>> >
>>>> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
>>>> >
>>>> > Cheers
>>>> > Menaka
>>>> >
>>>> > On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com>
>>>> wrote:
>>>> >
>>>> >> Hi Menaka,
>>>> >>
>>>> >> I'm so glad I could help. You've done a nice job on your blog posts.
>>>> >> If you don't mind, I can suggest some slight wording changes that I
>>>> >> believe will make your meanings more clear. For example:
>>>> >>
>>>> >> Apache Taverna Language Command Line Tool – Supported functions and file
>>>> >> types
>>>> >> Paragraph 1
>>>> >> -- Capitalize Taverna and Language: "The Apache Taverna
>>>> >> Language is still …"
>>>> >> -- Use "Currently" instead of "By now": "Currently the tool
>>>> >> supports…"
>>>> >> Paragraph 2
>>>> >> -- Add "The" to the beginning of the sentence: "The
>>>> >> following file types are supported..."
>>>> >> -- I noticed you use .scufl2 in this blogpost, but .t2flow
>>>> >> in the next blogpost.
>>>> >>
>>>> >> Please let me know if this kind of feedback would be helpful.
>>>> >>
>>>> >> Thanks,
>>>> >>
>>>> >> Gale
>>>> >>
>>>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
>>>> >> <me...@gmail.com> wrote:
>>>> >> > Yes Gale,
>>>> >> > I'm thinking on taking them as a reference. For the best, I have some
>>>> >> much
>>>> >> > better doc from you. :-) :-)
>>>> >> >
>>>> >> > Thank you very much.
>>>> >> > Menaka
>>>> >> >
>>>> >> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
>>>> >> wrote:
>>>> >> >
>>>> >> >> Hi Menaka,
>>>> >> >>
>>>> >> >> Sounds great! Do you plan to use your blog to prepare the
>>>> documentation?
>>>> >> >>
>>>> >> >> Feel free to use anything I've prepared if it helps. And if I can do
>>>> >> >> any more before I go on vacation, I will let you know.
>>>> >> >>
>>>> >> >> Thanks,
>>>> >> >>
>>>> >> >> Gale
>>>> >> >>
>>>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
>>>> >> >> <me...@gmail.com> wrote:
>>>> >> >> > Hi Gale,
>>>> >> >> >
>>>> >> >> > The tool is almost done I think. The functionalities,
>>>> >> >> > conversion,
>>>> >> >> > validation,
>>>> >> >> > inspection and
>>>> >> >> > statistics
>>>> >> >> >
>>>> >> >> > are done.
>>>> >> >> >
>>>> >> >> > So what remaining is, completing the documentation.
>>>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <galen@noventussolutions.com
>>>> >
>>>> >> >> wrote:
>>>> >> >> >
>>>> >> >> >> Hi Menaka,
>>>> >> >> >>
>>>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
>>>> however I
>>>> >> >> can.
>>>> >> >> >>
>>>> >> >> >> When do you expect to finish your project and documentation?
>>>> >> >> >>
>>>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
>>>> >> stay in
>>>> >> >> >> touch.
>>>> >> >> >>
>>>> >> >> >> Thanks,
>>>> >> >> >>
>>>> >> >> >> Gale
>>>> >> >> >>
>>>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>>>> >> >> >> <me...@gmail.com> wrote:
>>>> >> >> >> > Hello Gale,
>>>> >> >> >> > Great work. :-)
>>>> >> >> >> >
>>>> >> >> >> > I did notice the mygrid pages said the information was out of
>>>> date.
>>>> >> >> >> >>
>>>> >> >> >> > Yes. I also faced the same condition when I was starting the
>>>> >> project.
>>>> >> >> The
>>>> >> >> >> > documentation will be updated very soon as the project releases.
>>>> >> :-)
>>>> >> >> >> >
>>>> >> >> >> > I am to write the full complete documentation for the command
>>>> line
>>>> >> >> tool.
>>>> >> >> >> > I'll appreciate your support for it. :-)
>>>> >> >> >> >
>>>> >> >> >> > Cheers.
>>>> >> >> >> > Menaka
>>>> >> >> >> >
>>>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
>>>> galen@noventussolutions.com
>>>> >> >
>>>> >> >> >> wrote:
>>>> >> >> >> >
>>>> >> >> >> >> Hi Menaka,
>>>> >> >> >> >>
>>>> >> >> >> >> >I found this doc in
>>>> >> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>>> >> >> >> >>
>>>> >> >> >> >> Thanks for the link. I also found this mygrid link:
>>>> >> >> >> >>
>>>> >> >>
>>>> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>>>> >> >> >> ,
>>>> >> >> >> >> which is very clear about the .wfbundle file extension.
>>>> >> >> >> >>
>>>> >> >> >> >> I did notice the mygrid pages said the information was out of
>>>> >> date.
>>>> >> >> >> >> So, I also looked at the taverna incubator documentation, and
>>>> the
>>>> >> >> >> >> incubator SCUFL API page pointed me to a github page for the
>>>> >> latest
>>>> >> >> >> >> information. I found the github SCUFL examples to be helpful:
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>>>> >> >> >> >> .
>>>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
>>>> >> >> conversion
>>>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
>>>> >> >> >> >>
>>>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
>>>> >> >> >> >> (
>>>> >> >>
>>>> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>>>> >> >> >> >> ), most of the references indicate the correct file extension
>>>> is
>>>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
>>>> >> >> table.
>>>> >> >> >> >> Please let me know if I missed something here.
>>>> >> >> >> >>
>>>> >> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
>>>> >> >> >> >> .wfbundle --> .iwir mappings.
>>>> >> >> >> >>
>>>> >> >> >> >> Thanks!
>>>> >> >> >> >>
>>>> >> >> >> >> Gale
>>>> >> >> >> >>
>>>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>>>> >> >> >> >> <me...@gmail.com> wrote:
>>>> >> >> >> >> > Hi Gale,
>>>> >> >> >> >> >
>>>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
>>>> >> well
>>>> >> >> as
>>>> >> >> >> >> >> .structure?
>>>> >> >> >> >> >
>>>> >> >> >> >> >
>>>> >> >> >> >> > Yes.
>>>> >> >> >> >> >
>>>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>>>> >> >> >> (taverna-scufl2-api)?
>>>> >> >> >> >> >
>>>> >> >> >> >> >
>>>> >> >> >> >> > I found this doc in
>>>> >> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>>> >> >> >> >> >
>>>> >> >> >> >> > Cheers
>>>> >> >> >> >> > Menaka
>>>> >> >> >> >> >
>>>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
>>>> >> galen@noventussolutions.com
>>>> >> >> >
>>>> >> >> >> >> wrote:
>>>> >> >> >> >> >
>>>> >> >> >> >> >> Hi Menaka,
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>>>> >> >> experimental
>>>> >> >> >> >> >> module.
>>>> >> >> >> >> >> > So It has not added to the tool yet.
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
>>>> visual
>>>> >> >> person,
>>>> >> >> >> >> >> I took the Taverna
>>>> >> >> >> >> >> Language Module information and created a diagram:
>>>> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>>>> >> workflows
>>>> >> >> >> into
>>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>>>> >> except
>>>> >> >> >> >> .t2flow.
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats
>>>> as
>>>> >> >> well as
>>>> >> >> >> >> >> .structure?
>>>> >> >> >> >> >> If so, I will update my table.
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>>>> >> format
>>>> >> >> of
>>>> >> >> >> >> >> Taverna
>>>> >> >> >> >> >> > 3)
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna
>>>> 3
>>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>>>> >> >> >> (taverna-scufl2-api)?
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>>>> >> when
>>>> >> >> >> >> reading
>>>> >> >> >> >> >> the
>>>> >> >> >> >> >> > wokflow file. ...
>>>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>>>> >> wrong
>>>> >> >> >> >> logic. I
>>>> >> >> >> >> >> > restored it.
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> Okay, understood.
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> Thank you!
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> Gale
>>>> >> >> >> >> >>
>>>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>>>> >> >> >> >> >> <me...@gmail.com> wrote:
>>>> >> >> >> >> >> > Hi Gale,
>>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>>>> >> >> experimental
>>>> >> >> >> >> >> module.
>>>> >> >> >> >> >> > So It has not added to the tool yet.
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
>>>> >> same
>>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>>>> >> let me
>>>> >> >> >> know
>>>> >> >> >> >> >> >> and I'll fix it.
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>>>> >> workflows
>>>> >> >> >> into
>>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>>>> >> except
>>>> >> >> >> >> .t2flow.
>>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>>>> >> format
>>>> >> >> of
>>>> >> >> >> >> >> Taverna
>>>> >> >> >> >> >> > 3)
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > Also, I was wondering about something you said in one of
>>>> your
>>>> >> >> June
>>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>>>> >> request:
>>>> >> >> New
>>>> >> >> >> >> >> >> features2).
>>>> >> >> >> >> >> >> You said "File type detection removed."
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>>>> >> Stain's
>>>> >> >> June
>>>> >> >> >> >> 4th
>>>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>>>> by
>>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>>>> >> included
>>>> >> >> >> this
>>>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>>>> >> when
>>>> >> >> >> >> reading
>>>> >> >> >> >> >> the
>>>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media
>>>> type
>>>> >> and
>>>> >> >> >> read
>>>> >> >> >> >> the
>>>> >> >> >> >> >> > bundle but, the input format could be wrongly entered by
>>>> the
>>>> >> >> user.
>>>> >> >> >> We
>>>> >> >> >> >> >> can't
>>>> >> >> >> >> >> > promise that the user could always do the correct thing.
>>>> >> Also in
>>>> >> >> >> >> >> recursive
>>>> >> >> >> >> >> > conversion, there could be other files also.
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>>>> >> wrong
>>>> >> >> >> >> logic. I
>>>> >> >> >> >> >> > restored it.
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > Thank you
>>>> >> >> >> >> >> > Menaka
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
>>>> >> >> galen@noventussolutions.com
>>>> >> >> >> >
>>>> >> >> >> >> >> wrote:
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> >> Hi Menaka,
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> A couple more things.
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> I am trying to organize my understanding of how the
>>>> >> conversions
>>>> >> >> >> work,
>>>> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to
>>>> the
>>>> >> same
>>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>>>> >> let me
>>>> >> >> >> know
>>>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also
>>>> be
>>>> >> >> listed?
>>>> >> >> >> >> The
>>>> >> >> >> >> >> >> table is my best guess from reading all of the emails, so
>>>> >> >> please
>>>> >> >> >> let
>>>> >> >> >> >> >> >> me know if anything is wrong, or if I missed something.
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> Also, I was wondering about something you said in one of
>>>> >> your
>>>> >> >> June
>>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>>>> >> request:
>>>> >> >> New
>>>> >> >> >> >> >> >> features2).
>>>> >> >> >> >> >> >> You said "File type detection removed."
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>>>> >> Stain's
>>>> >> >> June
>>>> >> >> >> >> 4th
>>>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>>>> by
>>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>>>> >> included
>>>> >> >> >> this
>>>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> Thanks!
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> Gale
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>>>> >> >> >> >> >> >> <me...@gmail.com> wrote:
>>>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
>>>> >> >> >> >> >> >> >
>>>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>>>> >> >> >> menaka12350@gmail.com
>>>> >> >> >> >> >
>>>> >> >> >> >> >> >> wrote:
>>>> >> >> >> >> >> >> >
>>>> >> >> >> >> >> >> >> Hi Gale,
>>>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm
>>>> very
>>>> >> >> new
>>>> >> >> >> and
>>>> >> >> >> >> >> there
>>>> >> >> >> >> >> >> >> could be some flows. Thank you very much for showing
>>>> >> them.
>>>> >> >> :-)
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
>>>> converted
>>>> >> >> are
>>>> >> >> >> >> listed
>>>> >> >> >> >> >> in
>>>> >> >> >> >> >> >> >> this blog.
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>>> >> >> >> >> >> >> >> The bundles are not workflows.
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>>>> >> >> >> >> misleading.....
>>>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are
>>>> two
>>>> >> >> >> different
>>>> >> >> >> >> >> APIs.
>>>> >> >> >> >> >> >> >> I'll update the blog. :-)
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>>>> could be
>>>> >> >> >> >> converted
>>>> >> >> >> >> >> into
>>>> >> >> >> >> >> >> >> robundle.
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
>>>> >> wise
>>>> >> >> it
>>>> >> >> >> >> looks
>>>> >> >> >> >> >> like
>>>> >> >> >> >> >> >> >> any format could be converted into Robundle. I'll
>>>> update
>>>> >> my
>>>> >> >> >> blog
>>>> >> >> >> >> too.
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> Are there any more facts that need clarification about
>>>> >> the
>>>> >> >> >> blogs
>>>> >> >> >> >> >> please
>>>> >> >> >> >> >> >> >> ask me. :)
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> Thank you very much Gale.
>>>> >> >> >> >> >> >> >> Menaka
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>>>> >> >> >> >> galen@noventussolutions.com>
>>>> >> >> >> >> >> >> wrote:
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >>> Hi Menaka,
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> I've been reading and learning more about research
>>>> >> objects,
>>>> >> >> >> and I
>>>> >> >> >> >> >> >> >>> think I understand better what is going on, but I
>>>> still
>>>> >> >> have
>>>> >> >> >> some
>>>> >> >> >> >> >> >> >>> questions.
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
>>>> >> converted
>>>> >> >> to
>>>> >> >> >> >> >> .robundle
>>>> >> >> >> >> >> >> >>> format? (I must have missed something because I
>>>> thought
>>>> >> >> >> .t2flow
>>>> >> >> >> >> and
>>>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you
>>>> say
>>>> >> >> that
>>>> >> >> >> the
>>>> >> >> >> >> >> >> >>> command line tool is for converting and managing
>>>> >> workflow
>>>> >> >> >> >> "bundles"
>>>> >> >> >> >> >> as
>>>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
>>>> >> "workflow
>>>> >> >> >> >> bundles"
>>>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
>>>> >> >> difference?
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
>>>> conversions
>>>> >> >> are
>>>> >> >> >> >> valid.
>>>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your June
>>>> 18th
>>>> >> >> blog
>>>> >> >> >> post
>>>> >> >> >> >> >> you
>>>> >> >> >> >> >> >> >>> say:
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> "The conversion function supports converting .t2flow
>>>> and
>>>> >> >> >> >> .wfbundle
>>>> >> >> >> >> >> >> >>> formats into following formats:
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> .structure
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> .json
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> .iwir
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> .wfbundle
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> To me, reading this looks like all combinations are
>>>> >> valid.
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files
>>>> be
>>>> >> >> >> converted
>>>> >> >> >> >> to
>>>> >> >> >> >> >> >> >>> all file types *except* robundle?
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I
>>>> also
>>>> >> >> change
>>>> >> >> >> >> the
>>>> >> >> >> >> >> >> >>> --robundle option description to say "Output bundle
>>>> as
>>>> >> >> >> .robundle"
>>>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>>>> >> >> >> .wfbundle
>>>> >> >> >> >> >> >> >>> option.)
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
>>>> >> >> example!
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> Have a nice weekend.
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> Gale
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
>>>> >> >> >> >> >> >> >>> > Hi Gale,
>>>> >> >> >> >> >> >> >>> > Use this link
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> > Cheers
>>>> >> >> >> >> >> >> >>> > Menaka
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>>>> >> >> >> >> >> galen@noventussolutions.com>
>>>> >> >> >> >> >> >> >>> wrote:
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> >> Hi Menaka,
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
>>>> >> information.
>>>> >> >> >> Sorry
>>>> >> >> >> >> not
>>>> >> >> >> >> >> to
>>>> >> >> >> >> >> >> >>> respond
>>>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and
>>>> reading
>>>> >> >> the
>>>> >> >> >> link
>>>> >> >> >> >> >> you
>>>> >> >> >> >> >> >> >>> sent.
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
>>>> example
>>>> >> in
>>>> >> >> the
>>>> >> >> >> >> >> Examples
>>>> >> >> >> >> >> >> >>> of Use
>>>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
>>>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not
>>>> the
>>>> >> web
>>>> >> >> >> page
>>>> >> >> >> >> you
>>>> >> >> >> >> >> are
>>>> >> >> >> >> >> >> >>> >> looking
>>>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>>> >> >> >> >> >> >> >>> >> )
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> - Entering
>>>> "org.apache.taverna.robundle.TestExample"
>>>> >> >> also
>>>> >> >> >> >> doesn't
>>>> >> >> >> >> >> >> work
>>>> >> >> >> >> >> >> >>> for
>>>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on
>>>> the
>>>> >> >> main
>>>> >> >> >> >> >> >> Apache.com
>>>> >> >> >> >> >> >> >>> page
>>>> >> >> >> >> >> >> >>> >> yields no results.
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> I will continue to read and understand the RO
>>>> Bundle
>>>> >> API
>>>> >> >> >> page,
>>>> >> >> >> >> >> but I
>>>> >> >> >> >> >> >> >>> would
>>>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> Thanks!
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> Gale
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> -----Original Message-----
>>>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
>>>> >> menaka12350@gmail.com]
>>>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>>>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
>>>> >> >> convert
>>>> >> >> >> >> command
>>>> >> >> >> >> >> >> doc
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
>>>> >> >> >> >> >> >> >>> >> Correction:
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
>>>> >> files, no
>>>> >> >> >> >> options
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>>>> >> >> >> >> >> >> /someFile2.wfbundle
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
>>>> >> >> */someFile2.wfbundle*
>>>> >> >> >> >> into
>>>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
>>>> >> the
>>>> >> >> >> >> >> */converted*
>>>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
>>>> .wfbundles/.t2flow
>>>> >> >> into
>>>> >> >> >> >> >> robundle
>>>> >> >> >> >> >> >> >>> format.
>>>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go
>>>> through
>>>> >> >> this
>>>> >> >> >> doc
>>>> >> >> >> >> >> for
>>>> >> >> >> >> >> >> more
>>>> >> >> >> >> >> >> >>> >> info.
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >>
>>>> >> >>
>>>> >>
>>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> cheers.
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>>>> >> >> >> >> >> galen@noventussolutions.com>
>>>> >> >> >> >> >> >> >>> wrote:
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
>>>> >> >> changed
>>>> >> >> >> the
>>>> >> >> >> >> two
>>>> >> >> >> >> >> >> blog
>>>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great.
>>>> I
>>>> >> also
>>>> >> >> >> made
>>>> >> >> >> >> a
>>>> >> >> >> >> >> few
>>>> >> >> >> >> >> >> >>> >> > refinements.
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>> >> > Thanks,
>>>> >> >> >> >> >> >> >>> >> > Gale
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>>> Madushanka
>>>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
>>>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
>>>> >> >> indicate
>>>> >> >> >> >> it is
>>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>>>> to
>>>> >> be
>>>> >> >> >> always
>>>> >> >> >> >> >> >> >>> necessary
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very
>>>> new
>>>> >> >> for
>>>> >> >> >> >> >> >> >>> documentation.
>>>> >> >> >> >> >> >> >>> >> > Thank
>>>> >> >> >> >> >> >> >>> >> > > you very much.
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
>>>> >> >> single
>>>> >> >> >> >> dash,
>>>> >> >> >> >> >> but
>>>> >> >> >> >> >> >> all
>>>> >> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
>>>> >> Should I
>>>> >> >> >> >> change
>>>> >> >> >> >> >> the
>>>> >> >> >> >> >> >> >>> json
>>>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
>>>> >> >> >> mistake. So
>>>> >> >> >> >> >> you
>>>> >> >> >> >> >> >> can
>>>> >> >> >> >> >> >> >>> >> > > use
>>>> >> >> >> >> >> >> >>> >> > --.
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
>>>> >> showing
>>>> >> >> >> the
>>>> >> >> >> >> >> >> >>> >> > > double-dashes
>>>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
>>>> >> >> monospace
>>>> >> >> >> >> >> >> font-family.
>>>> >> >> >> >> >> >> >>> >> > >> Any
>>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
>>>> >> :-)
>>>> >> >> Use
>>>> >> >> >> >> >> >> >>> preformatted.
>>>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated
>>>> my
>>>> >> >> blog.
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >>
>>>> >> >> >>
>>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > Thank you very much.
>>>> >> >> >> >> >> >> >>> >> > > Menaka
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>>>> >> >> >> >> >> >> galen@noventussolutions.com
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> >> > wrote:
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
>>>> >> >> additional
>>>> >> >> >> >> >> feedback
>>>> >> >> >> >> >> >> in
>>>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
>>>> detailed
>>>> >> >> >> >> description
>>>> >> >> >> >> >> (as
>>>> >> >> >> >> >> >> I
>>>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
>>>> >> has
>>>> >> >> >> several
>>>> >> >> >> >> >> >> >>> examples,
>>>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
>>>> >> these
>>>> >> >> >> will
>>>> >> >> >> >> >> help
>>>> >> >> >> >> >> >> the
>>>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
>>>> >> the
>>>> >> >> >> links:
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >>
>>>> >> >> >>
>>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >>
>>>> >> >> >>
>>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> Some things to note:
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post,
>>>> but a
>>>> >> few
>>>> >> >> >> >> things
>>>> >> >> >> >> >> >> (like
>>>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
>>>> >> >> posts/emails.
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
>>>> brackets
>>>> >> to
>>>> >> >> >> >> indicate
>>>> >> >> >> >> >> it
>>>> >> >> >> >> >> >> is
>>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>>>> to
>>>> >> be
>>>> >> >> >> always
>>>> >> >> >> >> >> >> >>> necessary.
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
>>>> >> >> >> structure,
>>>> >> >> >> >> it
>>>> >> >> >> >> >> >> seemed
>>>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
>>>> >> directory)
>>>> >> >> >> should
>>>> >> >> >> >> >> come
>>>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
>>>> >> >> assumed.
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as
>>>> having
>>>> >> a
>>>> >> >> >> single
>>>> >> >> >> >> >> dash,
>>>> >> >> >> >> >> >> but
>>>> >> >> >> >> >> >> >>> >> > >> all the other output types have
>>>> double-dashes.
>>>> >> >> Should
>>>> >> >> >> I
>>>> >> >> >> >> >> change
>>>> >> >> >> >> >> >> the
>>>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect
>>>> and
>>>> >> I
>>>> >> >> will
>>>> >> >> >> >> >> change
>>>> >> >> >> >> >> >> it.
>>>> >> >> >> >> >> >> >>> I
>>>> >> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and
>>>> I'm
>>>> >> >> happy
>>>> >> >> >> to
>>>> >> >> >> >> >> make
>>>> >> >> >> >> >> >> any
>>>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
>>>> >> >> showing
>>>> >> >> >> the
>>>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even
>>>> when I
>>>> >> >> use
>>>> >> >> >> the
>>>> >> >> >> >> >> >> monospace
>>>> >> >> >> >> >> >> >>> >> > >> font-family. Any
>>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> Thanks,
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> Gale
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>>> >> Madushanka
>>>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>>>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
>>>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
>>>> >> files
>>>> >> >> >> will
>>>> >> >> >> >> get
>>>> >> >> >> >> >> >> saved
>>>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
>>>> >> That
>>>> >> >> >> >> should be
>>>> >> >> >> >> >> >> >>> >> > >> > corrected
>>>> >> >> >> >> >> >> >>> >> > as
>>>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>>>> >> >> >> >> /home/usrname/toConvert/ –>
>>>> >> >> >> >> >> >> >>> >> > >> > *Convert
>>>> >> >> >> >> >> >> >>> >> > the
>>>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
>>>> >> …/toConvert/converted/
>>>> >> >> >> >> >> directory.
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
>>>> >> modifications
>>>> >> >> >> etc. So
>>>> >> >> >> >> >> with
>>>> >> >> >> >> >> >> the
>>>> >> >> >> >> >> >> >>> >> > >> > help
>>>> >> >> >> >> >> >> >>> >> > of
>>>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
>>>> >> better
>>>> >> >> >> >> >> structure.
>>>> >> >> >> >> >> >> >>> >> > >> > Cheers
>>>> >> >> >> >> >> >> >>> >> > >> > Menaka
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>>>> >> >> >> >> >> >> >>> >> > >> wrote:
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand
>>>> the
>>>> >> >> >> command
>>>> >> >> >> >> >> >> structure
>>>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
>>>> >> the
>>>> >> >> blog
>>>> >> >> >> >> >> post; it
>>>> >> >> >> >> >> >> >>> was
>>>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
>>>> recursive
>>>> >> >> >> example.
>>>> >> >> >> >> Can
>>>> >> >> >> >> >> you
>>>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you
>>>> say
>>>> >> >> the
>>>> >> >> >> >> files
>>>> >> >> >> >> >> will
>>>> >> >> >> >> >> >> >>> get
>>>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
>>>> >> the
>>>> >> >> >> output
>>>> >> >> >> >> >> being
>>>> >> >> >> >> >> >> >>> saved
>>>> >> >> >> >> >> >> >>> >> > >> >> to:
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> /home/usrname/toConvert/converted/somefile1.json
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
>>>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>>>> >> >> >> >> /home/usrname/toConvert/ –>
>>>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
>>>> >> >> directory.
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> Gale
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> B
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>>> >> >> Madushanka
>>>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>>>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
>>>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank
>>>> you
>>>> >> >> very
>>>> >> >> >> >> much.
>>>> >> >> >> >> >> :-)
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of
>>>> the
>>>> >> >> >> command:
>>>> >> >> >> >> >> >> tavlang
>>>> >> >> >> >> >> >> >>> >> > convert
>>>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
>>>> files>?
>>>> >> Am I
>>>> >> >> >> >> wrong in
>>>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
>>>> >> >> >> >> >> >> >>> >> > that
>>>> >> >> >> >> >> >> >>> >> > >> the
>>>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>>>> >> >> >> structure of
>>>> >> >> >> >> >> >> commands
>>>> >> >> >> >> >> >> >>> >> > >> >> > now
>>>> >> >> >> >> >> >> >>> >> > and
>>>> >> >> >> >> >> >> >>> >> > >> >> then.
>>>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure
>>>> is
>>>> >> >> like
>>>> >> >> >> >> this.
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
>>>> >> [options]
>>>> >> >> >> >> >> [arguments]
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
>>>> independently?
>>>> >> If
>>>> >> >> so,
>>>> >> >> >> >> under
>>>> >> >> >> >> >> >> what
>>>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be
>>>> a
>>>> >> >> >> directory
>>>> >> >> >> >> >> >> >>> containing
>>>> >> >> >> >> >> >> >>> >> > >> .t2flow of
>>>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
>>>> optional
>>>> >> >> for
>>>> >> >> >> both
>>>> >> >> >> >> >> >> >>> recursive
>>>> >> >> >> >> >> >> >>> >> > >> >> > and
>>>> >> >> >> >> >> >> >>> >> > non
>>>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
>>>> >> command.
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >>
>>>> >> >> >>
>>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
>>>> >> inform.
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > Regards
>>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
>>>> >> >> >> >> >> >> >>> >> > >> >> >
>>>> >> >> >> >> >> >> >>> >> > >> >> > --
>>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>>>> >> >> >> http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> >> >>> University
>>>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>>>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
>>>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >> >> >> >>> >> > >> >>
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> >
>>>> >> >> >> >> >> >> >>> >> > >> > --
>>>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
>>>> >> >> http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> >> University
>>>> >> >> >> >> >> >> >>> of
>>>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
>>>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
>>>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >> >> >> >>> >> > >>
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > >
>>>> >> >> >> >> >> >> >>> >> > > --
>>>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
>>>> >> http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> University
>>>> >> >> >> >> >> >> of
>>>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
>>>> >> >> >> >> >> >> >>> >> > > LinkedIn <
>>>> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >> >> >> >>> >> >
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >> --
>>>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng
>>>> >
>>>> >> >> >> >> University of
>>>> >> >> >> >> >> >> >>> >> Peradeniyaya.
>>>> >> >> >> >> >> >> >>> >> LinkedIn <
>>>> >> http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >> >> >> >>> >>
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> >
>>>> >> >> >> >> >> >> >>> > --
>>>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
>>>> >> >> >> >> >> >> >>> > LinkedIn <
>>>> http://lk.linkedin.com/in/menakajayawardena
>>>> >> >
>>>> >> >> >> >> >> >> >>>
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >> --
>>>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> >> >> University of Peradeniyaya.
>>>> >> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena
>>>> >
>>>> >> >> >> >> >> >> >>
>>>> >> >> >> >> >> >> >
>>>> >> >> >> >> >> >> >
>>>> >> >> >> >> >> >> >
>>>> >> >> >> >> >> >> > --
>>>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> >> > University of Peradeniyaya.
>>>> >> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >> >> >>
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> >
>>>> >> >> >> >> >> > --
>>>> >> >> >> >> >> > Menaka Madushanka Jayawardena
>>>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> >> > University of Peradeniyaya.
>>>> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >> >>
>>>> >> >> >> >> >
>>>> >> >> >> >> >
>>>> >> >> >> >> >
>>>> >> >> >> >> > --
>>>> >> >> >> >> > Menaka Madushanka Jayawardena
>>>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> >> >> > University of Peradeniyaya.
>>>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >> >>
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > --
>>>> >> >> >> > Menaka Madushanka Jayawardena
>>>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> >> > University of Peradeniyaya.
>>>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >> >>
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > --
>>>> >> >> > Menaka Madushanka Jayawardena
>>>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> >> > University of Peradeniyaya.
>>>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > --
>>>> >> > Menaka Madushanka Jayawardena
>>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> >> > University of Peradeniyaya.
>>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> > --
>>>> > Menaka Madushanka Jayawardena
>>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>>> > University of Peradeniyaya.
>>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>>
>>>>
>>>
>>>
>>> --
>>> Menaka Madushanka Jayawardena
>>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University of Peradeniyaya.
>>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
I looked at your validation documentation and I realized I have a
question: If the validate command is run with no options, what
happens? In other words, if you choose not to write the validation
results to a log file, what does the command do? Write the results to
the terminal? Does this need to be explained. (I guess I have the same
question about the stats command.)
Same comment as with stats documentation about adding sections with
larger, and bold fonts to help with readability.
Here are some additional comments:
Apache Taverna Language Command line documentation – Validation
-- Use "examining" rather than "examine": "The validation is done
by examining the following factors/ problems."
-- Use API instead of api, and use "consisting" instead of
"consist: "The API returns a validation report consisting of problems
that exist in the workflow."
-- Instead of "type of the problem" use either "problem category"
or "category of problem" and I suggest using "listed" instead of the
first "shown": "If there are problems, those problems are listed under
the problem category shown above."
-- After "The command line tool can execute this validation
process" how about saying " and tell the user if the workflow has
errors/ problems and what they are." So the complete sentence would
be: "The command line tool can execute this validation process and
tell the user if the workflow has errors/ problems and what they are."
-- Even though you only have one option, I would still put the
option on the next line, like you did in the Stats documentation.
-- Also, if it's possible it would be good to standardize the
documentation to say either "Supported options" or "Options." You can
use option(s) -- with the "s" in parentheses -- to mean it could be
one option or more than one option.
-- In the Usage section, you use [args]: "$tavlang validate
[options][args] input_files." In the convert and research objects
posts you use [arguments], and in stats you didn't list arguments at
all, yet it looks to me like the command structure is similar. It
would be good to be consistent and use either [args] or [arguments].
-- In the stats post you say "Supported file formats: .t2flow and
.wfbundle" using "and" and in the validate post you say "Supported
input file formats:- .t2flow/ .wfbundle" using "/". Would it be
possible to make these the same?
-- At the end of your "example with options", how about this
instead: "The output file contains the detailed report, including a
list of the workflow problems."
Good job on all the documentation!
Gale
On Tue, Jun 30, 2015 at 5:25 PM, Gale Naylor
<ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> I read your stats blog post; it looks good. I am not very familiar
> with workflows, so I'm not sure I can comment a lot on your examples,
> but I did list some things that appeared to me to be inconsistent.
>
> Also, I think it would be good to make at least a couple of different
> sections and identify them with a larger, bold font, like you did in
> the Convert command blog post. In the taverna-sculf2-api Readme file
> (on github), they show "Usage" as a section:
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api.
> That might be a good idea. Then, if you use a smaller (but still bold)
> font for the Verbose Mode sub-section and Normal Mode sub-section,
> that will help the reader navigate your documentation. You could then
> take out the second instance of "Verbose Mode" (between the two
> verbose examples) like you did in the Normal Mode examples. Then, I
> would also create a third sub-section called "Save Results to a Log
> File" and below that put your example. The formatting you used in your
> Convert command blog post worked well.
>
> A few other things:
>
> Apache Taverna Language Command line tool – Workflow Statistics
>
> -- Capitalize the first "API," hyphenate "scufl2-api" to match the
> module name, and write "whatever" as one word: "The Taverna Language
> API (sculf2-api) has several methods to set and retrieve those
> resources whenever needed."
> -- Instead of " The command line tool is capable of listing those
> resources which a workflow file has." How about "The command line tool
> is also capable of listing workflow file resources."
> -- In the options section, you say "Save results in a log file"
> (using "in") and in your example you say "Save results to a log file"
> (using "to"). You might consider making those consistent.
> -- In your verbose Hello World example, near the end did you mean
> to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
> rather than "Output Ports"?
> -- In your verbose Workflow1 example, in your Data Links section,
> you say " |--> DataLink parameters=>input" and then " |--> DataLink
> output=>parameters." Should these statements both be formatted the
> same and match the last item? Specifically, should they all end in
> "==>input"? Or is there a reason for them to be different?
>
> That's all I can see!
>
> Gale
>
> On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
>> Hello Gale,
>> Great feed back. :-)
>> I did the modifications and now it looks great and clean....
>>
>> In statistics blog I did not add explanations much but examples. So that it
>> will be easy for you. :-)
>> Thank you very much for the great help you are giving me.....!!!
>> Please let me know if there anything that I could do and/ or need some
>> clarifications.
>>
>> Thank you very much
>> Menaka
>>
>> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>>> Hi Menaka,
>>>
>>> The changes look great! But I missed one: You should add a "The" in
>>> front of the inspection, validation, and statistics sentence, so it
>>> reads: "The following file types are supported for inspection,
>>> validation and statistics." (with a period at the end.) :-)
>>>
>>> I will take a look at your statistics blog post. Meanwhile, below are
>>> some comments for the Conversion Documentation blog post. Of course,
>>> let me know if I misunderstood anything you are trying to say.
>>>
>>> Apache Taverna Language Command line - Conversion Documentation
>>>
>>> Paragraph 1
>>> -- Use "provides" instead of "gives" and "converting and
>>> managing" instead of "convert and manage": "The Apache Taverna
>>> Language provides a set of APIs for converting and managing workflow
>>> bundles and Research Object bundles."
>>>
>>> Paragraph 3
>>> -- Add "are:": "The basic functionalities of the tool are:"
>>>
>>> In the Conversion section
>>> -- Use "also has" instead of "is also have": "The tool also
>>> has the capability of converting bundles of several formats into
>>> Research Object bundles."
>>> -- Use "Refer to" instead of "Refer": " Refer to the
>>> following blog for more information about converting bundle formats."
>>>
>>> In the Example usage section
>>> -- Use "The user" instead of "User": "The user can specify
>>> the way that the conversion should be done."
>>>
>>> In the Recursive conversion section
>>> -- Use "the tool" and "the specified output format": " In
>>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
>>> files in the given directory into the specified output format."
>>> -- I think you may have a typographical error: "out put"
>>> instead of "output" -- it should be "The output will be...
>>> /home/username/ ..."
>>>
>>> In the Non-recursive conversion section
>>> -- Use "The user" instead of "User" and "need" instead of
>>> "needed": "The user can use this mode to convert a specific workflow
>>> into the format they need." (Or, even better would be to say, "The
>>> user can use this mode to convert a specific work flow into the
>>> required format."
>>> -- Instead of "Here all the files that want to be converted
>>> must specify separately as space separated values." I think it would
>>> be better to say: "All files to be converted must be listed as
>>> space-separated values."
>>> -- The sentence that describes where files will be saved if
>>> there is no specified output directory is a difficult one to write. I
>>> had to think about it. Rather than saying "The converted files will be
>>> saved in converted folder in each parent folder which contain the
>>> input file." What if you said "The converted files will be saved in
>>> the /converted folder in the input file's parent directory."? (And use
>>> the "/" in front of converted to stress that it is a folder name?)
>>> -- You need a comma after "Also." And use "are to be saved"
>>> instead of "to be saved": "Also, users can specify the directory where
>>> the converted files are to be saved."
>>> -- In your footnote, "out put" should be one word: "output":
>>> "*The tool can only manage one output file format at a time."
>>>
>>> Happy documenting!
>>>
>>> Gale
>>>
>>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>> > Thank you very much Gale.
>>> > I did the modifications. :-)
>>> > Actually, unless you give me this feedback, it would mislead the readers.
>>> > I'm very grateful for correcting me. :-)
>>> >
>>> > I just wrote the documentation for statistics.
>>> >
>>> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
>>> >
>>> > Cheers
>>> > Menaka
>>> >
>>> > On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >
>>> >> Hi Menaka,
>>> >>
>>> >> I'm so glad I could help. You've done a nice job on your blog posts.
>>> >> If you don't mind, I can suggest some slight wording changes that I
>>> >> believe will make your meanings more clear. For example:
>>> >>
>>> >> Apache Taverna Language Command Line Tool – Supported functions and file
>>> >> types
>>> >> Paragraph 1
>>> >> -- Capitalize Taverna and Language: "The Apache Taverna
>>> >> Language is still …"
>>> >> -- Use "Currently" instead of "By now": "Currently the tool
>>> >> supports…"
>>> >> Paragraph 2
>>> >> -- Add "The" to the beginning of the sentence: "The
>>> >> following file types are supported..."
>>> >> -- I noticed you use .scufl2 in this blogpost, but .t2flow
>>> >> in the next blogpost.
>>> >>
>>> >> Please let me know if this kind of feedback would be helpful.
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Gale
>>> >>
>>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
>>> >> <me...@gmail.com> wrote:
>>> >> > Yes Gale,
>>> >> > I'm thinking on taking them as a reference. For the best, I have some
>>> >> much
>>> >> > better doc from you. :-) :-)
>>> >> >
>>> >> > Thank you very much.
>>> >> > Menaka
>>> >> >
>>> >> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
>>> >> wrote:
>>> >> >
>>> >> >> Hi Menaka,
>>> >> >>
>>> >> >> Sounds great! Do you plan to use your blog to prepare the
>>> documentation?
>>> >> >>
>>> >> >> Feel free to use anything I've prepared if it helps. And if I can do
>>> >> >> any more before I go on vacation, I will let you know.
>>> >> >>
>>> >> >> Thanks,
>>> >> >>
>>> >> >> Gale
>>> >> >>
>>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
>>> >> >> <me...@gmail.com> wrote:
>>> >> >> > Hi Gale,
>>> >> >> >
>>> >> >> > The tool is almost done I think. The functionalities,
>>> >> >> > conversion,
>>> >> >> > validation,
>>> >> >> > inspection and
>>> >> >> > statistics
>>> >> >> >
>>> >> >> > are done.
>>> >> >> >
>>> >> >> > So what remaining is, completing the documentation.
>>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <galen@noventussolutions.com
>>> >
>>> >> >> wrote:
>>> >> >> >
>>> >> >> >> Hi Menaka,
>>> >> >> >>
>>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
>>> however I
>>> >> >> can.
>>> >> >> >>
>>> >> >> >> When do you expect to finish your project and documentation?
>>> >> >> >>
>>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
>>> >> stay in
>>> >> >> >> touch.
>>> >> >> >>
>>> >> >> >> Thanks,
>>> >> >> >>
>>> >> >> >> Gale
>>> >> >> >>
>>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>>> >> >> >> <me...@gmail.com> wrote:
>>> >> >> >> > Hello Gale,
>>> >> >> >> > Great work. :-)
>>> >> >> >> >
>>> >> >> >> > I did notice the mygrid pages said the information was out of
>>> date.
>>> >> >> >> >>
>>> >> >> >> > Yes. I also faced the same condition when I was starting the
>>> >> project.
>>> >> >> The
>>> >> >> >> > documentation will be updated very soon as the project releases.
>>> >> :-)
>>> >> >> >> >
>>> >> >> >> > I am to write the full complete documentation for the command
>>> line
>>> >> >> tool.
>>> >> >> >> > I'll appreciate your support for it. :-)
>>> >> >> >> >
>>> >> >> >> > Cheers.
>>> >> >> >> > Menaka
>>> >> >> >> >
>>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
>>> galen@noventussolutions.com
>>> >> >
>>> >> >> >> wrote:
>>> >> >> >> >
>>> >> >> >> >> Hi Menaka,
>>> >> >> >> >>
>>> >> >> >> >> >I found this doc in
>>> >> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>> >> >> >> >>
>>> >> >> >> >> Thanks for the link. I also found this mygrid link:
>>> >> >> >> >>
>>> >> >>
>>> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>>> >> >> >> ,
>>> >> >> >> >> which is very clear about the .wfbundle file extension.
>>> >> >> >> >>
>>> >> >> >> >> I did notice the mygrid pages said the information was out of
>>> >> date.
>>> >> >> >> >> So, I also looked at the taverna incubator documentation, and
>>> the
>>> >> >> >> >> incubator SCUFL API page pointed me to a github page for the
>>> >> latest
>>> >> >> >> >> information. I found the github SCUFL examples to be helpful:
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>>> >> >> >> >> .
>>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
>>> >> >> conversion
>>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
>>> >> >> >> >>
>>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
>>> >> >> >> >> (
>>> >> >>
>>> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>>> >> >> >> >> ), most of the references indicate the correct file extension
>>> is
>>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
>>> >> >> table.
>>> >> >> >> >> Please let me know if I missed something here.
>>> >> >> >> >>
>>> >> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
>>> >> >> >> >> .wfbundle --> .iwir mappings.
>>> >> >> >> >>
>>> >> >> >> >> Thanks!
>>> >> >> >> >>
>>> >> >> >> >> Gale
>>> >> >> >> >>
>>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>>> >> >> >> >> <me...@gmail.com> wrote:
>>> >> >> >> >> > Hi Gale,
>>> >> >> >> >> >
>>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
>>> >> well
>>> >> >> as
>>> >> >> >> >> >> .structure?
>>> >> >> >> >> >
>>> >> >> >> >> >
>>> >> >> >> >> > Yes.
>>> >> >> >> >> >
>>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>>> >> >> >> (taverna-scufl2-api)?
>>> >> >> >> >> >
>>> >> >> >> >> >
>>> >> >> >> >> > I found this doc in
>>> >> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>> >> >> >> >> >
>>> >> >> >> >> > Cheers
>>> >> >> >> >> > Menaka
>>> >> >> >> >> >
>>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
>>> >> galen@noventussolutions.com
>>> >> >> >
>>> >> >> >> >> wrote:
>>> >> >> >> >> >
>>> >> >> >> >> >> Hi Menaka,
>>> >> >> >> >> >>
>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>>> >> >> experimental
>>> >> >> >> >> >> module.
>>> >> >> >> >> >> > So It has not added to the tool yet.
>>> >> >> >> >> >>
>>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
>>> visual
>>> >> >> person,
>>> >> >> >> >> >> I took the Taverna
>>> >> >> >> >> >> Language Module information and created a diagram:
>>> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>>> >> >> >> >> >>
>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>>> >> workflows
>>> >> >> >> into
>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>>> >> except
>>> >> >> >> >> .t2flow.
>>> >> >> >> >> >>
>>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats
>>> as
>>> >> >> well as
>>> >> >> >> >> >> .structure?
>>> >> >> >> >> >> If so, I will update my table.
>>> >> >> >> >> >>
>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>>> >> format
>>> >> >> of
>>> >> >> >> >> >> Taverna
>>> >> >> >> >> >> > 3)
>>> >> >> >> >> >>
>>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna
>>> 3
>>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>>> >> >> >> (taverna-scufl2-api)?
>>> >> >> >> >> >>
>>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>>> >> when
>>> >> >> >> >> reading
>>> >> >> >> >> >> the
>>> >> >> >> >> >> > wokflow file. ...
>>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>>> >> wrong
>>> >> >> >> >> logic. I
>>> >> >> >> >> >> > restored it.
>>> >> >> >> >> >>
>>> >> >> >> >> >> Okay, understood.
>>> >> >> >> >> >>
>>> >> >> >> >> >> Thank you!
>>> >> >> >> >> >>
>>> >> >> >> >> >> Gale
>>> >> >> >> >> >>
>>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>>> >> >> >> >> >> <me...@gmail.com> wrote:
>>> >> >> >> >> >> > Hi Gale,
>>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>>> >> >> experimental
>>> >> >> >> >> >> module.
>>> >> >> >> >> >> > So It has not added to the tool yet.
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
>>> >> same
>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>>> >> let me
>>> >> >> >> know
>>> >> >> >> >> >> >> and I'll fix it.
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>>> >> workflows
>>> >> >> >> into
>>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>>> >> except
>>> >> >> >> >> .t2flow.
>>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>>> >> format
>>> >> >> of
>>> >> >> >> >> >> Taverna
>>> >> >> >> >> >> > 3)
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > Also, I was wondering about something you said in one of
>>> your
>>> >> >> June
>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>>> >> request:
>>> >> >> New
>>> >> >> >> >> >> >> features2).
>>> >> >> >> >> >> >> You said "File type detection removed."
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>>> >> Stain's
>>> >> >> June
>>> >> >> >> >> 4th
>>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>>> by
>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>>> >> included
>>> >> >> >> this
>>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>>> >> >> >> >> >> >
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>>> >> when
>>> >> >> >> >> reading
>>> >> >> >> >> >> the
>>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media
>>> type
>>> >> and
>>> >> >> >> read
>>> >> >> >> >> the
>>> >> >> >> >> >> > bundle but, the input format could be wrongly entered by
>>> the
>>> >> >> user.
>>> >> >> >> We
>>> >> >> >> >> >> can't
>>> >> >> >> >> >> > promise that the user could always do the correct thing.
>>> >> Also in
>>> >> >> >> >> >> recursive
>>> >> >> >> >> >> > conversion, there could be other files also.
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>>> >> wrong
>>> >> >> >> >> logic. I
>>> >> >> >> >> >> > restored it.
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > Thank you
>>> >> >> >> >> >> > Menaka
>>> >> >> >> >> >> >
>>> >> >> >> >> >> >
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
>>> >> >> galen@noventussolutions.com
>>> >> >> >> >
>>> >> >> >> >> >> wrote:
>>> >> >> >> >> >> >
>>> >> >> >> >> >> >> Hi Menaka,
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> A couple more things.
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> I am trying to organize my understanding of how the
>>> >> conversions
>>> >> >> >> work,
>>> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to
>>> the
>>> >> same
>>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>>> >> let me
>>> >> >> >> know
>>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also
>>> be
>>> >> >> listed?
>>> >> >> >> >> The
>>> >> >> >> >> >> >> table is my best guess from reading all of the emails, so
>>> >> >> please
>>> >> >> >> let
>>> >> >> >> >> >> >> me know if anything is wrong, or if I missed something.
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> Also, I was wondering about something you said in one of
>>> >> your
>>> >> >> June
>>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>>> >> request:
>>> >> >> New
>>> >> >> >> >> >> >> features2).
>>> >> >> >> >> >> >> You said "File type detection removed."
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>>> >> Stain's
>>> >> >> June
>>> >> >> >> >> 4th
>>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>>> by
>>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>>> >> included
>>> >> >> >> this
>>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> Thanks!
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> Gale
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>>> >> >> >> >> >> >> <me...@gmail.com> wrote:
>>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
>>> >> >> >> >> >> >> >
>>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>>> >> >> >> menaka12350@gmail.com
>>> >> >> >> >> >
>>> >> >> >> >> >> >> wrote:
>>> >> >> >> >> >> >> >
>>> >> >> >> >> >> >> >> Hi Gale,
>>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm
>>> very
>>> >> >> new
>>> >> >> >> and
>>> >> >> >> >> >> there
>>> >> >> >> >> >> >> >> could be some flows. Thank you very much for showing
>>> >> them.
>>> >> >> :-)
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
>>> converted
>>> >> >> are
>>> >> >> >> >> listed
>>> >> >> >> >> >> in
>>> >> >> >> >> >> >> >> this blog.
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>> >> >> >> >> >> >> >> The bundles are not workflows.
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>>> >> >> >> >> misleading.....
>>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are
>>> two
>>> >> >> >> different
>>> >> >> >> >> >> APIs.
>>> >> >> >> >> >> >> >> I'll update the blog. :-)
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>>> could be
>>> >> >> >> >> converted
>>> >> >> >> >> >> into
>>> >> >> >> >> >> >> >> robundle.
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
>>> >> wise
>>> >> >> it
>>> >> >> >> >> looks
>>> >> >> >> >> >> like
>>> >> >> >> >> >> >> >> any format could be converted into Robundle. I'll
>>> update
>>> >> my
>>> >> >> >> blog
>>> >> >> >> >> too.
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> Are there any more facts that need clarification about
>>> >> the
>>> >> >> >> blogs
>>> >> >> >> >> >> please
>>> >> >> >> >> >> >> >> ask me. :)
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> Thank you very much Gale.
>>> >> >> >> >> >> >> >> Menaka
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>>> >> >> >> >> galen@noventussolutions.com>
>>> >> >> >> >> >> >> wrote:
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >>> Hi Menaka,
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> I've been reading and learning more about research
>>> >> objects,
>>> >> >> >> and I
>>> >> >> >> >> >> >> >>> think I understand better what is going on, but I
>>> still
>>> >> >> have
>>> >> >> >> some
>>> >> >> >> >> >> >> >>> questions.
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
>>> >> converted
>>> >> >> to
>>> >> >> >> >> >> .robundle
>>> >> >> >> >> >> >> >>> format? (I must have missed something because I
>>> thought
>>> >> >> >> .t2flow
>>> >> >> >> >> and
>>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you
>>> say
>>> >> >> that
>>> >> >> >> the
>>> >> >> >> >> >> >> >>> command line tool is for converting and managing
>>> >> workflow
>>> >> >> >> >> "bundles"
>>> >> >> >> >> >> as
>>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
>>> >> "workflow
>>> >> >> >> >> bundles"
>>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
>>> >> >> difference?
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
>>> conversions
>>> >> >> are
>>> >> >> >> >> valid.
>>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your June
>>> 18th
>>> >> >> blog
>>> >> >> >> post
>>> >> >> >> >> >> you
>>> >> >> >> >> >> >> >>> say:
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> "The conversion function supports converting .t2flow
>>> and
>>> >> >> >> >> .wfbundle
>>> >> >> >> >> >> >> >>> formats into following formats:
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> .structure
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> .json
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> .iwir
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> .wfbundle
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> To me, reading this looks like all combinations are
>>> >> valid.
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files
>>> be
>>> >> >> >> converted
>>> >> >> >> >> to
>>> >> >> >> >> >> >> >>> all file types *except* robundle?
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I
>>> also
>>> >> >> change
>>> >> >> >> >> the
>>> >> >> >> >> >> >> >>> --robundle option description to say "Output bundle
>>> as
>>> >> >> >> .robundle"
>>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>>> >> >> >> .wfbundle
>>> >> >> >> >> >> >> >>> option.)
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
>>> >> >> example!
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> Have a nice weekend.
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> Gale
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
>>> >> >> >> >> >> >> >>> > Hi Gale,
>>> >> >> >> >> >> >> >>> > Use this link
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> > Cheers
>>> >> >> >> >> >> >> >>> > Menaka
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>>> >> >> >> >> >> galen@noventussolutions.com>
>>> >> >> >> >> >> >> >>> wrote:
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> >> Hi Menaka,
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
>>> >> information.
>>> >> >> >> Sorry
>>> >> >> >> >> not
>>> >> >> >> >> >> to
>>> >> >> >> >> >> >> >>> respond
>>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and
>>> reading
>>> >> >> the
>>> >> >> >> link
>>> >> >> >> >> >> you
>>> >> >> >> >> >> >> >>> sent.
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
>>> example
>>> >> in
>>> >> >> the
>>> >> >> >> >> >> Examples
>>> >> >> >> >> >> >> >>> of Use
>>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
>>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not
>>> the
>>> >> web
>>> >> >> >> page
>>> >> >> >> >> you
>>> >> >> >> >> >> are
>>> >> >> >> >> >> >> >>> >> looking
>>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >> >> >> >> >> >> >>> >> )
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> - Entering
>>> "org.apache.taverna.robundle.TestExample"
>>> >> >> also
>>> >> >> >> >> doesn't
>>> >> >> >> >> >> >> work
>>> >> >> >> >> >> >> >>> for
>>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on
>>> the
>>> >> >> main
>>> >> >> >> >> >> >> Apache.com
>>> >> >> >> >> >> >> >>> page
>>> >> >> >> >> >> >> >>> >> yields no results.
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> I will continue to read and understand the RO
>>> Bundle
>>> >> API
>>> >> >> >> page,
>>> >> >> >> >> >> but I
>>> >> >> >> >> >> >> >>> would
>>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> Thanks!
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> Gale
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> -----Original Message-----
>>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
>>> >> menaka12350@gmail.com]
>>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
>>> >> >> convert
>>> >> >> >> >> command
>>> >> >> >> >> >> >> doc
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
>>> >> >> >> >> >> >> >>> >> Correction:
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
>>> >> files, no
>>> >> >> >> >> options
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>>> >> >> >> >> >> >> /someFile2.wfbundle
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
>>> >> >> */someFile2.wfbundle*
>>> >> >> >> >> into
>>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
>>> >> the
>>> >> >> >> >> >> */converted*
>>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
>>> .wfbundles/.t2flow
>>> >> >> into
>>> >> >> >> >> >> robundle
>>> >> >> >> >> >> >> >>> format.
>>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go
>>> through
>>> >> >> this
>>> >> >> >> doc
>>> >> >> >> >> >> for
>>> >> >> >> >> >> >> more
>>> >> >> >> >> >> >> >>> >> info.
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >>
>>> >> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> cheers.
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>>> >> >> >> >> >> galen@noventussolutions.com>
>>> >> >> >> >> >> >> >>> wrote:
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
>>> >> >> changed
>>> >> >> >> the
>>> >> >> >> >> two
>>> >> >> >> >> >> >> blog
>>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great.
>>> I
>>> >> also
>>> >> >> >> made
>>> >> >> >> >> a
>>> >> >> >> >> >> few
>>> >> >> >> >> >> >> >>> >> > refinements.
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>> >> > Thanks,
>>> >> >> >> >> >> >> >>> >> > Gale
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>>> Madushanka
>>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
>>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
>>> >> >> indicate
>>> >> >> >> >> it is
>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>>> to
>>> >> be
>>> >> >> >> always
>>> >> >> >> >> >> >> >>> necessary
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very
>>> new
>>> >> >> for
>>> >> >> >> >> >> >> >>> documentation.
>>> >> >> >> >> >> >> >>> >> > Thank
>>> >> >> >> >> >> >> >>> >> > > you very much.
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
>>> >> >> single
>>> >> >> >> >> dash,
>>> >> >> >> >> >> but
>>> >> >> >> >> >> >> all
>>> >> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
>>> >> Should I
>>> >> >> >> >> change
>>> >> >> >> >> >> the
>>> >> >> >> >> >> >> >>> json
>>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
>>> >> >> >> mistake. So
>>> >> >> >> >> >> you
>>> >> >> >> >> >> >> can
>>> >> >> >> >> >> >> >>> >> > > use
>>> >> >> >> >> >> >> >>> >> > --.
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
>>> >> showing
>>> >> >> >> the
>>> >> >> >> >> >> >> >>> >> > > double-dashes
>>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
>>> >> >> monospace
>>> >> >> >> >> >> >> font-family.
>>> >> >> >> >> >> >> >>> >> > >> Any
>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
>>> >> :-)
>>> >> >> Use
>>> >> >> >> >> >> >> >>> preformatted.
>>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated
>>> my
>>> >> >> blog.
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >>
>>> >> >> >>
>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > Thank you very much.
>>> >> >> >> >> >> >> >>> >> > > Menaka
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>>> >> >> >> >> >> >> galen@noventussolutions.com
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> >> > wrote:
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
>>> >> >> additional
>>> >> >> >> >> >> feedback
>>> >> >> >> >> >> >> in
>>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
>>> detailed
>>> >> >> >> >> description
>>> >> >> >> >> >> (as
>>> >> >> >> >> >> >> I
>>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
>>> >> has
>>> >> >> >> several
>>> >> >> >> >> >> >> >>> examples,
>>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
>>> >> these
>>> >> >> >> will
>>> >> >> >> >> >> help
>>> >> >> >> >> >> >> the
>>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
>>> >> the
>>> >> >> >> links:
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >>
>>> >> >> >>
>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >>
>>> >> >> >>
>>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> Some things to note:
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post,
>>> but a
>>> >> few
>>> >> >> >> >> things
>>> >> >> >> >> >> >> (like
>>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
>>> >> >> posts/emails.
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
>>> brackets
>>> >> to
>>> >> >> >> >> indicate
>>> >> >> >> >> >> it
>>> >> >> >> >> >> >> is
>>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>>> to
>>> >> be
>>> >> >> >> always
>>> >> >> >> >> >> >> >>> necessary.
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
>>> >> >> >> structure,
>>> >> >> >> >> it
>>> >> >> >> >> >> >> seemed
>>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
>>> >> directory)
>>> >> >> >> should
>>> >> >> >> >> >> come
>>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
>>> >> >> assumed.
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as
>>> having
>>> >> a
>>> >> >> >> single
>>> >> >> >> >> >> dash,
>>> >> >> >> >> >> >> but
>>> >> >> >> >> >> >> >>> >> > >> all the other output types have
>>> double-dashes.
>>> >> >> Should
>>> >> >> >> I
>>> >> >> >> >> >> change
>>> >> >> >> >> >> >> the
>>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect
>>> and
>>> >> I
>>> >> >> will
>>> >> >> >> >> >> change
>>> >> >> >> >> >> >> it.
>>> >> >> >> >> >> >> >>> I
>>> >> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and
>>> I'm
>>> >> >> happy
>>> >> >> >> to
>>> >> >> >> >> >> make
>>> >> >> >> >> >> >> any
>>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
>>> >> >> showing
>>> >> >> >> the
>>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even
>>> when I
>>> >> >> use
>>> >> >> >> the
>>> >> >> >> >> >> >> monospace
>>> >> >> >> >> >> >> >>> >> > >> font-family. Any
>>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> Thanks,
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> Gale
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>>> >> Madushanka
>>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
>>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
>>> >> files
>>> >> >> >> will
>>> >> >> >> >> get
>>> >> >> >> >> >> >> saved
>>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
>>> >> That
>>> >> >> >> >> should be
>>> >> >> >> >> >> >> >>> >> > >> > corrected
>>> >> >> >> >> >> >> >>> >> > as
>>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>>> >> >> >> >> /home/usrname/toConvert/ –>
>>> >> >> >> >> >> >> >>> >> > >> > *Convert
>>> >> >> >> >> >> >> >>> >> > the
>>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
>>> >> …/toConvert/converted/
>>> >> >> >> >> >> directory.
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
>>> >> modifications
>>> >> >> >> etc. So
>>> >> >> >> >> >> with
>>> >> >> >> >> >> >> the
>>> >> >> >> >> >> >> >>> >> > >> > help
>>> >> >> >> >> >> >> >>> >> > of
>>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
>>> >> better
>>> >> >> >> >> >> structure.
>>> >> >> >> >> >> >> >>> >> > >> > Cheers
>>> >> >> >> >> >> >> >>> >> > >> > Menaka
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>>> >> >> >> >> >> >> >>> >> > >> wrote:
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand
>>> the
>>> >> >> >> command
>>> >> >> >> >> >> >> structure
>>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
>>> >> the
>>> >> >> blog
>>> >> >> >> >> >> post; it
>>> >> >> >> >> >> >> >>> was
>>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
>>> recursive
>>> >> >> >> example.
>>> >> >> >> >> Can
>>> >> >> >> >> >> you
>>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you
>>> say
>>> >> >> the
>>> >> >> >> >> files
>>> >> >> >> >> >> will
>>> >> >> >> >> >> >> >>> get
>>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
>>> >> the
>>> >> >> >> output
>>> >> >> >> >> >> being
>>> >> >> >> >> >> >> >>> saved
>>> >> >> >> >> >> >> >>> >> > >> >> to:
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> /home/usrname/toConvert/converted/somefile1.json
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
>>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>>> >> >> >> >> /home/usrname/toConvert/ –>
>>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
>>> >> >> directory.
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> Gale
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> B
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>>> >> >> Madushanka
>>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
>>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank
>>> you
>>> >> >> very
>>> >> >> >> >> much.
>>> >> >> >> >> >> :-)
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of
>>> the
>>> >> >> >> command:
>>> >> >> >> >> >> >> tavlang
>>> >> >> >> >> >> >> >>> >> > convert
>>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
>>> files>?
>>> >> Am I
>>> >> >> >> >> wrong in
>>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
>>> >> >> >> >> >> >> >>> >> > that
>>> >> >> >> >> >> >> >>> >> > >> the
>>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>>> >> >> >> structure of
>>> >> >> >> >> >> >> commands
>>> >> >> >> >> >> >> >>> >> > >> >> > now
>>> >> >> >> >> >> >> >>> >> > and
>>> >> >> >> >> >> >> >>> >> > >> >> then.
>>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure
>>> is
>>> >> >> like
>>> >> >> >> >> this.
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
>>> >> [options]
>>> >> >> >> >> >> [arguments]
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
>>> independently?
>>> >> If
>>> >> >> so,
>>> >> >> >> >> under
>>> >> >> >> >> >> >> what
>>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be
>>> a
>>> >> >> >> directory
>>> >> >> >> >> >> >> >>> containing
>>> >> >> >> >> >> >> >>> >> > >> .t2flow of
>>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
>>> optional
>>> >> >> for
>>> >> >> >> both
>>> >> >> >> >> >> >> >>> recursive
>>> >> >> >> >> >> >> >>> >> > >> >> > and
>>> >> >> >> >> >> >> >>> >> > non
>>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
>>> >> command.
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >>
>>> >> >> >>
>>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
>>> >> inform.
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > Regards
>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
>>> >> >> >> >> >> >> >>> >> > >> >> >
>>> >> >> >> >> >> >> >>> >> > >> >> > --
>>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>>> >> >> >> http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> >> >>> University
>>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
>>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >> >> >> >>> >> > >> >>
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> >
>>> >> >> >> >> >> >> >>> >> > >> > --
>>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
>>> >> >> http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> >> University
>>> >> >> >> >> >> >> >>> of
>>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
>>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
>>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >> >> >> >>> >> > >>
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > >
>>> >> >> >> >> >> >> >>> >> > > --
>>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
>>> >> http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> University
>>> >> >> >> >> >> >> of
>>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
>>> >> >> >> >> >> >> >>> >> > > LinkedIn <
>>> >> >> http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >> >> >> >>> >> >
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >> --
>>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng
>>> >
>>> >> >> >> >> University of
>>> >> >> >> >> >> >> >>> >> Peradeniyaya.
>>> >> >> >> >> >> >> >>> >> LinkedIn <
>>> >> http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >> >> >> >>> >>
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> >
>>> >> >> >> >> >> >> >>> > --
>>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
>>> >> >> >> >> >> >> >>> > LinkedIn <
>>> http://lk.linkedin.com/in/menakajayawardena
>>> >> >
>>> >> >> >> >> >> >> >>>
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >> --
>>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> >> >> University of Peradeniyaya.
>>> >> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena
>>> >
>>> >> >> >> >> >> >> >>
>>> >> >> >> >> >> >> >
>>> >> >> >> >> >> >> >
>>> >> >> >> >> >> >> >
>>> >> >> >> >> >> >> > --
>>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
>>> >> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> >> > University of Peradeniyaya.
>>> >> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >> >> >>
>>> >> >> >> >> >> >
>>> >> >> >> >> >> >
>>> >> >> >> >> >> >
>>> >> >> >> >> >> > --
>>> >> >> >> >> >> > Menaka Madushanka Jayawardena
>>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> >> >> >> > University of Peradeniyaya.
>>> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >> >>
>>> >> >> >> >> >
>>> >> >> >> >> >
>>> >> >> >> >> >
>>> >> >> >> >> > --
>>> >> >> >> >> > Menaka Madushanka Jayawardena
>>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> >> >> > University of Peradeniyaya.
>>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >> >>
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > --
>>> >> >> >> > Menaka Madushanka Jayawardena
>>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> >> > University of Peradeniyaya.
>>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >> >>
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > --
>>> >> >> > Menaka Madushanka Jayawardena
>>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> > University of Peradeniyaya.
>>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Menaka Madushanka Jayawardena
>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> > University of Peradeniyaya.
>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
I read your stats blog post; it looks good. I am not very familiar
with workflows, so I'm not sure I can comment a lot on your examples,
but I did list some things that appeared to me to be inconsistent.
Also, I think it would be good to make at least a couple of different
sections and identify them with a larger, bold font, like you did in
the Convert command blog post. In the taverna-sculf2-api Readme file
(on github), they show "Usage" as a section:
https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-api.
That might be a good idea. Then, if you use a smaller (but still bold)
font for the Verbose Mode sub-section and Normal Mode sub-section,
that will help the reader navigate your documentation. You could then
take out the second instance of "Verbose Mode" (between the two
verbose examples) like you did in the Normal Mode examples. Then, I
would also create a third sub-section called "Save Results to a Log
File" and below that put your example. The formatting you used in your
Convert command blog post worked well.
A few other things:
Apache Taverna Language Command line tool – Workflow Statistics
-- Capitalize the first "API," hyphenate "scufl2-api" to match the
module name, and write "whatever" as one word: "The Taverna Language
API (sculf2-api) has several methods to set and retrieve those
resources whenever needed."
-- Instead of " The command line tool is capable of listing those
resources which a workflow file has." How about "The command line tool
is also capable of listing workflow file resources."
-- In the options section, you say "Save results in a log file"
(using "in") and in your example you say "Save results to a log file"
(using "to"). You might consider making those consistent.
-- In your verbose Hello World example, near the end did you mean
to say " | |--> Input Ports" after "|--> Number of Output Ports = 1,"
rather than "Output Ports"?
-- In your verbose Workflow1 example, in your Data Links section,
you say " |--> DataLink parameters=>input" and then " |--> DataLink
output=>parameters." Should these statements both be formatted the
same and match the last item? Specifically, should they all end in
"==>input"? Or is there a reason for them to be different?
That's all I can see!
Gale
On Tue, Jun 30, 2015 at 2:03 PM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hello Gale,
> Great feed back. :-)
> I did the modifications and now it looks great and clean....
>
> In statistics blog I did not add explanations much but examples. So that it
> will be easy for you. :-)
> Thank you very much for the great help you are giving me.....!!!
> Please let me know if there anything that I could do and/ or need some
> clarifications.
>
> Thank you very much
> Menaka
>
> On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> The changes look great! But I missed one: You should add a "The" in
>> front of the inspection, validation, and statistics sentence, so it
>> reads: "The following file types are supported for inspection,
>> validation and statistics." (with a period at the end.) :-)
>>
>> I will take a look at your statistics blog post. Meanwhile, below are
>> some comments for the Conversion Documentation blog post. Of course,
>> let me know if I misunderstood anything you are trying to say.
>>
>> Apache Taverna Language Command line - Conversion Documentation
>>
>> Paragraph 1
>> -- Use "provides" instead of "gives" and "converting and
>> managing" instead of "convert and manage": "The Apache Taverna
>> Language provides a set of APIs for converting and managing workflow
>> bundles and Research Object bundles."
>>
>> Paragraph 3
>> -- Add "are:": "The basic functionalities of the tool are:"
>>
>> In the Conversion section
>> -- Use "also has" instead of "is also have": "The tool also
>> has the capability of converting bundles of several formats into
>> Research Object bundles."
>> -- Use "Refer to" instead of "Refer": " Refer to the
>> following blog for more information about converting bundle formats."
>>
>> In the Example usage section
>> -- Use "The user" instead of "User": "The user can specify
>> the way that the conversion should be done."
>>
>> In the Recursive conversion section
>> -- Use "the tool" and "the specified output format": " In
>> recursive conversion mode, the tool can convert .t2flow or .wfbundle
>> files in the given directory into the specified output format."
>> -- I think you may have a typographical error: "out put"
>> instead of "output" -- it should be "The output will be...
>> /home/username/ ..."
>>
>> In the Non-recursive conversion section
>> -- Use "The user" instead of "User" and "need" instead of
>> "needed": "The user can use this mode to convert a specific workflow
>> into the format they need." (Or, even better would be to say, "The
>> user can use this mode to convert a specific work flow into the
>> required format."
>> -- Instead of "Here all the files that want to be converted
>> must specify separately as space separated values." I think it would
>> be better to say: "All files to be converted must be listed as
>> space-separated values."
>> -- The sentence that describes where files will be saved if
>> there is no specified output directory is a difficult one to write. I
>> had to think about it. Rather than saying "The converted files will be
>> saved in converted folder in each parent folder which contain the
>> input file." What if you said "The converted files will be saved in
>> the /converted folder in the input file's parent directory."? (And use
>> the "/" in front of converted to stress that it is a folder name?)
>> -- You need a comma after "Also." And use "are to be saved"
>> instead of "to be saved": "Also, users can specify the directory where
>> the converted files are to be saved."
>> -- In your footnote, "out put" should be one word: "output":
>> "*The tool can only manage one output file format at a time."
>>
>> Happy documenting!
>>
>> Gale
>>
>> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Thank you very much Gale.
>> > I did the modifications. :-)
>> > Actually, unless you give me this feedback, it would mislead the readers.
>> > I'm very grateful for correcting me. :-)
>> >
>> > I just wrote the documentation for statistics.
>> >
>> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
>> >
>> > Cheers
>> > Menaka
>> >
>> > On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> I'm so glad I could help. You've done a nice job on your blog posts.
>> >> If you don't mind, I can suggest some slight wording changes that I
>> >> believe will make your meanings more clear. For example:
>> >>
>> >> Apache Taverna Language Command Line Tool – Supported functions and file
>> >> types
>> >> Paragraph 1
>> >> -- Capitalize Taverna and Language: "The Apache Taverna
>> >> Language is still …"
>> >> -- Use "Currently" instead of "By now": "Currently the tool
>> >> supports…"
>> >> Paragraph 2
>> >> -- Add "The" to the beginning of the sentence: "The
>> >> following file types are supported..."
>> >> -- I noticed you use .scufl2 in this blogpost, but .t2flow
>> >> in the next blogpost.
>> >>
>> >> Please let me know if this kind of feedback would be helpful.
>> >>
>> >> Thanks,
>> >>
>> >> Gale
>> >>
>> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Yes Gale,
>> >> > I'm thinking on taking them as a reference. For the best, I have some
>> >> much
>> >> > better doc from you. :-) :-)
>> >> >
>> >> > Thank you very much.
>> >> > Menaka
>> >> >
>> >> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >
>> >> >> Hi Menaka,
>> >> >>
>> >> >> Sounds great! Do you plan to use your blog to prepare the
>> documentation?
>> >> >>
>> >> >> Feel free to use anything I've prepared if it helps. And if I can do
>> >> >> any more before I go on vacation, I will let you know.
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> Gale
>> >> >>
>> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
>> >> >> <me...@gmail.com> wrote:
>> >> >> > Hi Gale,
>> >> >> >
>> >> >> > The tool is almost done I think. The functionalities,
>> >> >> > conversion,
>> >> >> > validation,
>> >> >> > inspection and
>> >> >> > statistics
>> >> >> >
>> >> >> > are done.
>> >> >> >
>> >> >> > So what remaining is, completing the documentation.
>> >> >> > I'll be able to finish it before 10 July hopefully. :-)
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On 30 June 2015 at 19:43, Gale Naylor <galen@noventussolutions.com
>> >
>> >> >> wrote:
>> >> >> >
>> >> >> >> Hi Menaka,
>> >> >> >>
>> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
>> however I
>> >> >> can.
>> >> >> >>
>> >> >> >> When do you expect to finish your project and documentation?
>> >> >> >>
>> >> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
>> >> stay in
>> >> >> >> touch.
>> >> >> >>
>> >> >> >> Thanks,
>> >> >> >>
>> >> >> >> Gale
>> >> >> >>
>> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> > Hello Gale,
>> >> >> >> > Great work. :-)
>> >> >> >> >
>> >> >> >> > I did notice the mygrid pages said the information was out of
>> date.
>> >> >> >> >>
>> >> >> >> > Yes. I also faced the same condition when I was starting the
>> >> project.
>> >> >> The
>> >> >> >> > documentation will be updated very soon as the project releases.
>> >> :-)
>> >> >> >> >
>> >> >> >> > I am to write the full complete documentation for the command
>> line
>> >> >> tool.
>> >> >> >> > I'll appreciate your support for it. :-)
>> >> >> >> >
>> >> >> >> > Cheers.
>> >> >> >> > Menaka
>> >> >> >> >
>> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
>> galen@noventussolutions.com
>> >> >
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >> Hi Menaka,
>> >> >> >> >>
>> >> >> >> >> >I found this doc in
>> >> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >> >> >>
>> >> >> >> >> Thanks for the link. I also found this mygrid link:
>> >> >> >> >>
>> >> >>
>> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>> >> >> >> ,
>> >> >> >> >> which is very clear about the .wfbundle file extension.
>> >> >> >> >>
>> >> >> >> >> I did notice the mygrid pages said the information was out of
>> >> date.
>> >> >> >> >> So, I also looked at the taverna incubator documentation, and
>> the
>> >> >> >> >> incubator SCUFL API page pointed me to a github page for the
>> >> latest
>> >> >> >> >> information. I found the github SCUFL examples to be helpful:
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>> >> >> >> >> .
>> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
>> >> >> conversion
>> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
>> >> >> >> >>
>> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
>> >> >> >> >> (
>> >> >>
>> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>> >> >> >> >> ), most of the references indicate the correct file extension
>> is
>> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
>> >> >> table.
>> >> >> >> >> Please let me know if I missed something here.
>> >> >> >> >>
>> >> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
>> >> >> >> >> .wfbundle --> .iwir mappings.
>> >> >> >> >>
>> >> >> >> >> Thanks!
>> >> >> >> >>
>> >> >> >> >> Gale
>> >> >> >> >>
>> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>> >> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> >> > Hi Gale,
>> >> >> >> >> >
>> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
>> >> well
>> >> >> as
>> >> >> >> >> >> .structure?
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Yes.
>> >> >> >> >> >
>> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>> >> >> >> (taverna-scufl2-api)?
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > I found this doc in
>> >> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >> >> >> >
>> >> >> >> >> > Cheers
>> >> >> >> >> > Menaka
>> >> >> >> >> >
>> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
>> >> galen@noventussolutions.com
>> >> >> >
>> >> >> >> >> wrote:
>> >> >> >> >> >
>> >> >> >> >> >> Hi Menaka,
>> >> >> >> >> >>
>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>> >> >> experimental
>> >> >> >> >> >> module.
>> >> >> >> >> >> > So It has not added to the tool yet.
>> >> >> >> >> >>
>> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
>> visual
>> >> >> person,
>> >> >> >> >> >> I took the Taverna
>> >> >> >> >> >> Language Module information and created a diagram:
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>> >> >> >> >> >>
>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>> >> workflows
>> >> >> >> into
>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>> >> except
>> >> >> >> >> .t2flow.
>> >> >> >> >> >>
>> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats
>> as
>> >> >> well as
>> >> >> >> >> >> .structure?
>> >> >> >> >> >> If so, I will update my table.
>> >> >> >> >> >>
>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>> >> format
>> >> >> of
>> >> >> >> >> >> Taverna
>> >> >> >> >> >> > 3)
>> >> >> >> >> >>
>> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna
>> 3
>> >> >> >> >> >> (taverna-sculf2-wfbundle)
>> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>> >> >> >> (taverna-scufl2-api)?
>> >> >> >> >> >>
>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>> >> when
>> >> >> >> >> reading
>> >> >> >> >> >> the
>> >> >> >> >> >> > wokflow file. ...
>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>> >> wrong
>> >> >> >> >> logic. I
>> >> >> >> >> >> > restored it.
>> >> >> >> >> >>
>> >> >> >> >> >> Okay, understood.
>> >> >> >> >> >>
>> >> >> >> >> >> Thank you!
>> >> >> >> >> >>
>> >> >> >> >> >> Gale
>> >> >> >> >> >>
>> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>> >> >> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> >> >> > Hi Gale,
>> >> >> >> >> >> > According to the documentations provided, SCUFL is an
>> >> >> experimental
>> >> >> >> >> >> module.
>> >> >> >> >> >> > So It has not added to the tool yet.
>> >> >> >> >> >> >
>> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
>> >> same
>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>> >> let me
>> >> >> >> know
>> >> >> >> >> >> >> and I'll fix it.
>> >> >> >> >> >> >
>> >> >> >> >> >> > The taverna language is capable of converting .t2flow
>> >> workflows
>> >> >> >> into
>> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>> >> except
>> >> >> >> >> .t2flow.
>> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>> >> format
>> >> >> of
>> >> >> >> >> >> Taverna
>> >> >> >> >> >> > 3)
>> >> >> >> >> >> >
>> >> >> >> >> >> > Also, I was wondering about something you said in one of
>> your
>> >> >> June
>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>> >> request:
>> >> >> New
>> >> >> >> >> >> >> features2).
>> >> >> >> >> >> >> You said "File type detection removed."
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>> >> Stain's
>> >> >> June
>> >> >> >> >> 4th
>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>> by
>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>> >> included
>> >> >> >> this
>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
>> >> when
>> >> >> >> >> reading
>> >> >> >> >> >> the
>> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media
>> type
>> >> and
>> >> >> >> read
>> >> >> >> >> the
>> >> >> >> >> >> > bundle but, the input format could be wrongly entered by
>> the
>> >> >> user.
>> >> >> >> We
>> >> >> >> >> >> can't
>> >> >> >> >> >> > promise that the user could always do the correct thing.
>> >> Also in
>> >> >> >> >> >> recursive
>> >> >> >> >> >> > conversion, there could be other files also.
>> >> >> >> >> >> >
>> >> >> >> >> >> > In new_features2, I removed it because I have entered the
>> >> wrong
>> >> >> >> >> logic. I
>> >> >> >> >> >> > restored it.
>> >> >> >> >> >> >
>> >> >> >> >> >> > Thank you
>> >> >> >> >> >> > Menaka
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
>> >> >> galen@noventussolutions.com
>> >> >> >> >
>> >> >> >> >> >> wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> >> Hi Menaka,
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> A couple more things.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> I am trying to organize my understanding of how the
>> >> conversions
>> >> >> >> work,
>> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to
>> the
>> >> same
>> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>> >> let me
>> >> >> >> know
>> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also
>> be
>> >> >> listed?
>> >> >> >> >> The
>> >> >> >> >> >> >> table is my best guess from reading all of the emails, so
>> >> >> please
>> >> >> >> let
>> >> >> >> >> >> >> me know if anything is wrong, or if I missed something.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Also, I was wondering about something you said in one of
>> >> your
>> >> >> June
>> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>> >> request:
>> >> >> New
>> >> >> >> >> >> >> features2).
>> >> >> >> >> >> >> You said "File type detection removed."
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Which file type detection is this? Is this related to
>> >> Stain's
>> >> >> June
>> >> >> >> >> 4th
>> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
>> by
>> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>> >> included
>> >> >> >> this
>> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Thanks!
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Gale
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> >> >> >> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>> >> >> >> menaka12350@gmail.com
>> >> >> >> >> >
>> >> >> >> >> >> >> wrote:
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> >> Hi Gale,
>> >> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm
>> very
>> >> >> new
>> >> >> >> and
>> >> >> >> >> >> there
>> >> >> >> >> >> >> >> could be some flows. Thank you very much for showing
>> >> them.
>> >> >> :-)
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
>> converted
>> >> >> are
>> >> >> >> >> listed
>> >> >> >> >> >> in
>> >> >> >> >> >> >> >> this blog.
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> >> >> >> >> >> >> The bundles are not workflows.
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>> >> >> >> >> misleading.....
>> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are
>> two
>> >> >> >> different
>> >> >> >> >> >> APIs.
>> >> >> >> >> >> >> >> I'll update the blog. :-)
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
>> could be
>> >> >> >> >> converted
>> >> >> >> >> >> into
>> >> >> >> >> >> >> >> robundle.
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
>> >> wise
>> >> >> it
>> >> >> >> >> looks
>> >> >> >> >> >> like
>> >> >> >> >> >> >> >> any format could be converted into Robundle. I'll
>> update
>> >> my
>> >> >> >> blog
>> >> >> >> >> too.
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> Are there any more facts that need clarification about
>> >> the
>> >> >> >> blogs
>> >> >> >> >> >> please
>> >> >> >> >> >> >> >> ask me. :)
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> Thank you very much Gale.
>> >> >> >> >> >> >> >> Menaka
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>> >> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >> >> wrote:
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>> Hi Menaka,
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> I've been reading and learning more about research
>> >> objects,
>> >> >> >> and I
>> >> >> >> >> >> >> >>> think I understand better what is going on, but I
>> still
>> >> >> have
>> >> >> >> some
>> >> >> >> >> >> >> >>> questions.
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
>> >> converted
>> >> >> to
>> >> >> >> >> >> .robundle
>> >> >> >> >> >> >> >>> format? (I must have missed something because I
>> thought
>> >> >> >> .t2flow
>> >> >> >> >> and
>> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you
>> say
>> >> >> that
>> >> >> >> the
>> >> >> >> >> >> >> >>> command line tool is for converting and managing
>> >> workflow
>> >> >> >> >> "bundles"
>> >> >> >> >> >> as
>> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
>> >> "workflow
>> >> >> >> >> bundles"
>> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
>> >> >> difference?
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> 3) I understand now that not all file format
>> conversions
>> >> >> are
>> >> >> >> >> valid.
>> >> >> >> >> >> >> >>> I'm trying to understand this better. In your June
>> 18th
>> >> >> blog
>> >> >> >> post
>> >> >> >> >> >> you
>> >> >> >> >> >> >> >>> say:
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> "The conversion function supports converting .t2flow
>> and
>> >> >> >> >> .wfbundle
>> >> >> >> >> >> >> >>> formats into following formats:
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> .structure
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> .json
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> .iwir
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> .wfbundle
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> To me, reading this looks like all combinations are
>> >> valid.
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files
>> be
>> >> >> >> converted
>> >> >> >> >> to
>> >> >> >> >> >> >> >>> all file types *except* robundle?
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I
>> also
>> >> >> change
>> >> >> >> >> the
>> >> >> >> >> >> >> >>> --robundle option description to say "Output bundle
>> as
>> >> >> >> .robundle"
>> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>> >> >> >> .wfbundle
>> >> >> >> >> >> >> >>> option.)
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
>> >> >> example!
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> Have a nice weekend.
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> Gale
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
>> >> >> >> >> >> >> >>> > Hi Gale,
>> >> >> >> >> >> >> >>> > Use this link
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > Cheers
>> >> >> >> >> >> >> >>> > Menaka
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>> >> >> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >> >> >>> wrote:
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> >> Hi Menaka,
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
>> >> information.
>> >> >> >> Sorry
>> >> >> >> >> not
>> >> >> >> >> >> to
>> >> >> >> >> >> >> >>> respond
>> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and
>> reading
>> >> >> the
>> >> >> >> link
>> >> >> >> >> >> you
>> >> >> >> >> >> >> >>> sent.
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
>> example
>> >> in
>> >> >> the
>> >> >> >> >> >> Examples
>> >> >> >> >> >> >> >>> of Use
>> >> >> >> >> >> >> >>> >> Section: "Example in full is at
>> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not
>> the
>> >> web
>> >> >> >> page
>> >> >> >> >> you
>> >> >> >> >> >> are
>> >> >> >> >> >> >> >>> >> looking
>> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >> >> >> >> >> >>> >> )
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> - Entering
>> "org.apache.taverna.robundle.TestExample"
>> >> >> also
>> >> >> >> >> doesn't
>> >> >> >> >> >> >> work
>> >> >> >> >> >> >> >>> for
>> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on
>> the
>> >> >> main
>> >> >> >> >> >> >> Apache.com
>> >> >> >> >> >> >> >>> page
>> >> >> >> >> >> >> >>> >> yields no results.
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> I will continue to read and understand the RO
>> Bundle
>> >> API
>> >> >> >> page,
>> >> >> >> >> >> but I
>> >> >> >> >> >> >> >>> would
>> >> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> Thanks!
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> Gale
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> -----Original Message-----
>> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
>> >> menaka12350@gmail.com]
>> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
>> >> >> convert
>> >> >> >> >> command
>> >> >> >> >> >> >> doc
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
>> >> >> >> >> >> >> >>> >> Correction:
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
>> >> files, no
>> >> >> >> >> options
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> >> >> >> >> >> >> /someFile2.wfbundle
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
>> >> >> */someFile2.wfbundle*
>> >> >> >> >> into
>> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
>> >> the
>> >> >> >> >> >> */converted*
>> >> >> >> >> >> >> >>> >> > folder in the current working directory.
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
>> .wfbundles/.t2flow
>> >> >> into
>> >> >> >> >> >> robundle
>> >> >> >> >> >> >> >>> format.
>> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go
>> through
>> >> >> this
>> >> >> >> doc
>> >> >> >> >> >> for
>> >> >> >> >> >> >> more
>> >> >> >> >> >> >> >>> >> info.
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> cheers.
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>> >> >> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >> >> >>> wrote:
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
>> >> >> changed
>> >> >> >> the
>> >> >> >> >> two
>> >> >> >> >> >> >> blog
>> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great.
>> I
>> >> also
>> >> >> >> made
>> >> >> >> >> a
>> >> >> >> >> >> few
>> >> >> >> >> >> >> >>> >> > refinements.
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>> >> > Thanks,
>> >> >> >> >> >> >> >>> >> > Gale
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
>> Madushanka
>> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
>> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
>> >> >> indicate
>> >> >> >> >> it is
>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>> to
>> >> be
>> >> >> >> always
>> >> >> >> >> >> >> >>> necessary
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very
>> new
>> >> >> for
>> >> >> >> >> >> >> >>> documentation.
>> >> >> >> >> >> >> >>> >> > Thank
>> >> >> >> >> >> >> >>> >> > > you very much.
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
>> >> >> single
>> >> >> >> >> dash,
>> >> >> >> >> >> but
>> >> >> >> >> >> >> all
>> >> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
>> >> Should I
>> >> >> >> >> change
>> >> >> >> >> >> the
>> >> >> >> >> >> >> >>> json
>> >> >> >> >> >> >> >>> >> > >> output argument to --json?
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
>> >> >> >> mistake. So
>> >> >> >> >> >> you
>> >> >> >> >> >> >> can
>> >> >> >> >> >> >> >>> >> > > use
>> >> >> >> >> >> >> >>> >> > --.
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
>> >> showing
>> >> >> >> the
>> >> >> >> >> >> >> >>> >> > > double-dashes
>> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
>> >> >> monospace
>> >> >> >> >> >> >> font-family.
>> >> >> >> >> >> >> >>> >> > >> Any
>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
>> >> :-)
>> >> >> Use
>> >> >> >> >> >> >> >>> preformatted.
>> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated
>> my
>> >> >> blog.
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >>
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > Thank you very much.
>> >> >> >> >> >> >> >>> >> > > Menaka
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> >> >> >> >> >> >> galen@noventussolutions.com
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> >> > wrote:
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
>> >> >> additional
>> >> >> >> >> >> feedback
>> >> >> >> >> >> >> in
>> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
>> detailed
>> >> >> >> >> description
>> >> >> >> >> >> (as
>> >> >> >> >> >> >> I
>> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
>> >> has
>> >> >> >> several
>> >> >> >> >> >> >> >>> examples,
>> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
>> >> these
>> >> >> >> will
>> >> >> >> >> >> help
>> >> >> >> >> >> >> the
>> >> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
>> >> the
>> >> >> >> links:
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >>
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >>
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> Some things to note:
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post,
>> but a
>> >> few
>> >> >> >> >> things
>> >> >> >> >> >> >> (like
>> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
>> >> >> posts/emails.
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
>> brackets
>> >> to
>> >> >> >> >> indicate
>> >> >> >> >> >> it
>> >> >> >> >> >> >> is
>> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
>> to
>> >> be
>> >> >> >> always
>> >> >> >> >> >> >> >>> necessary.
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
>> >> >> >> structure,
>> >> >> >> >> it
>> >> >> >> >> >> >> seemed
>> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
>> >> directory)
>> >> >> >> should
>> >> >> >> >> >> come
>> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
>> >> >> assumed.
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as
>> having
>> >> a
>> >> >> >> single
>> >> >> >> >> >> dash,
>> >> >> >> >> >> >> but
>> >> >> >> >> >> >> >>> >> > >> all the other output types have
>> double-dashes.
>> >> >> Should
>> >> >> >> I
>> >> >> >> >> >> change
>> >> >> >> >> >> >> the
>> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect
>> and
>> >> I
>> >> >> will
>> >> >> >> >> >> change
>> >> >> >> >> >> >> it.
>> >> >> >> >> >> >> >>> I
>> >> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and
>> I'm
>> >> >> happy
>> >> >> >> to
>> >> >> >> >> >> make
>> >> >> >> >> >> >> any
>> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
>> >> >> showing
>> >> >> >> the
>> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even
>> when I
>> >> >> use
>> >> >> >> the
>> >> >> >> >> >> >> monospace
>> >> >> >> >> >> >> >>> >> > >> font-family. Any
>> >> >> >> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> Thanks,
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> Gale
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>> >> Madushanka
>> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> > . Can you help me
>> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
>> >> files
>> >> >> >> will
>> >> >> >> >> get
>> >> >> >> >> >> >> saved
>> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
>> >> That
>> >> >> >> >> should be
>> >> >> >> >> >> >> >>> >> > >> > corrected
>> >> >> >> >> >> >> >>> >> > as
>> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>> >> >> >> >> /home/usrname/toConvert/ –>
>> >> >> >> >> >> >> >>> >> > >> > *Convert
>> >> >> >> >> >> >> >>> >> > the
>> >> >> >> >> >> >> >>> >> > >> > files and save them in the
>> >> …/toConvert/converted/
>> >> >> >> >> >> directory.
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
>> >> modifications
>> >> >> >> etc. So
>> >> >> >> >> >> with
>> >> >> >> >> >> >> the
>> >> >> >> >> >> >> >>> >> > >> > help
>> >> >> >> >> >> >> >>> >> > of
>> >> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
>> >> better
>> >> >> >> >> >> structure.
>> >> >> >> >> >> >> >>> >> > >> > Cheers
>> >> >> >> >> >> >> >>> >> > >> > Menaka
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>> >> >> >> >> >> >> >>> >> > >> wrote:
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand
>> the
>> >> >> >> command
>> >> >> >> >> >> >> structure
>> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
>> >> the
>> >> >> blog
>> >> >> >> >> >> post; it
>> >> >> >> >> >> >> >>> was
>> >> >> >> >> >> >> >>> >> > >> >> very helpful.
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
>> recursive
>> >> >> >> example.
>> >> >> >> >> Can
>> >> >> >> >> >> you
>> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you
>> say
>> >> >> the
>> >> >> >> >> files
>> >> >> >> >> >> will
>> >> >> >> >> >> >> >>> get
>> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
>> >> the
>> >> >> >> output
>> >> >> >> >> >> being
>> >> >> >> >> >> >> >>> saved
>> >> >> >> >> >> >> >>> >> > >> >> to:
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> /home/usrname/toConvert/converted/somefile1.json
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> This is the example:
>> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>> >> >> >> >> /home/usrname/toConvert/ –>
>> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
>> >> >> directory.
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> Thank you!
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> Gale
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> B
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>> >> >> Madushanka
>> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
>> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank
>> you
>> >> >> very
>> >> >> >> >> much.
>> >> >> >> >> >> :-)
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of
>> the
>> >> >> >> command:
>> >> >> >> >> >> >> tavlang
>> >> >> >> >> >> >> >>> >> > convert
>> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
>> files>?
>> >> Am I
>> >> >> >> >> wrong in
>> >> >> >> >> >> >> >>> >> > >> >> >> thinking
>> >> >> >> >> >> >> >>> >> > that
>> >> >> >> >> >> >> >>> >> > >> the
>> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>> >> >> >> structure of
>> >> >> >> >> >> >> commands
>> >> >> >> >> >> >> >>> >> > >> >> > now
>> >> >> >> >> >> >> >>> >> > and
>> >> >> >> >> >> >> >>> >> > >> >> then.
>> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure
>> is
>> >> >> like
>> >> >> >> >> this.
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
>> >> [options]
>> >> >> >> >> >> [arguments]
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
>> independently?
>> >> If
>> >> >> so,
>> >> >> >> >> under
>> >> >> >> >> >> >> what
>> >> >> >> >> >> >> >>> >> > >> >> circumstances?
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be
>> a
>> >> >> >> directory
>> >> >> >> >> >> >> >>> containing
>> >> >> >> >> >> >> >>> >> > >> .t2flow of
>> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
>> optional
>> >> >> for
>> >> >> >> both
>> >> >> >> >> >> >> >>> recursive
>> >> >> >> >> >> >> >>> >> > >> >> > and
>> >> >> >> >> >> >> >>> >> > non
>> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
>> >> command.
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >>
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
>> >> inform.
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > Regards
>> >> >> >> >> >> >> >>> >> > >> >> > Menaka
>> >> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >> >>> >> > >> >> > --
>> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>> >> >> >> http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >> >>> University
>> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
>> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >> >>> >> > >> > --
>> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
>> >> >> http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >> University
>> >> >> >> >> >> >> >>> of
>> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
>> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >> >>> >> > > --
>> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
>> >> http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> University
>> >> >> >> >> >> >> of
>> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
>> >> >> >> >> >> >> >>> >> > > LinkedIn <
>> >> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >> --
>> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng
>> >
>> >> >> >> >> University of
>> >> >> >> >> >> >> >>> >> Peradeniyaya.
>> >> >> >> >> >> >> >>> >> LinkedIn <
>> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> >
>> >> >> >> >> >> >> >>> > --
>> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >> >>> > University of Peradeniyaya.
>> >> >> >> >> >> >> >>> > LinkedIn <
>> http://lk.linkedin.com/in/menakajayawardena
>> >> >
>> >> >> >> >> >> >> >>>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >> --
>> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >> >> University of Peradeniyaya.
>> >> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena
>> >
>> >> >> >> >> >> >> >>
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> >
>> >> >> >> >> >> >> > --
>> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >> > University of Peradeniyaya.
>> >> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > --
>> >> >> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> > University of Peradeniyaya.
>> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > --
>> >> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> > University of Peradeniyaya.
>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> > University of Peradeniyaya.
>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Menaka Madushanka Jayawardena
>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> > University of Peradeniyaya.
>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >>
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hello Gale,
Great feed back. :-)
I did the modifications and now it looks great and clean....
In statistics blog I did not add explanations much but examples. So that it
will be easy for you. :-)
Thank you very much for the great help you are giving me.....!!!
Please let me know if there anything that I could do and/ or need some
clarifications.
Thank you very much
Menaka
On 1 July 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> The changes look great! But I missed one: You should add a "The" in
> front of the inspection, validation, and statistics sentence, so it
> reads: "The following file types are supported for inspection,
> validation and statistics." (with a period at the end.) :-)
>
> I will take a look at your statistics blog post. Meanwhile, below are
> some comments for the Conversion Documentation blog post. Of course,
> let me know if I misunderstood anything you are trying to say.
>
> Apache Taverna Language Command line - Conversion Documentation
>
> Paragraph 1
> -- Use "provides" instead of "gives" and "converting and
> managing" instead of "convert and manage": "The Apache Taverna
> Language provides a set of APIs for converting and managing workflow
> bundles and Research Object bundles."
>
> Paragraph 3
> -- Add "are:": "The basic functionalities of the tool are:"
>
> In the Conversion section
> -- Use "also has" instead of "is also have": "The tool also
> has the capability of converting bundles of several formats into
> Research Object bundles."
> -- Use "Refer to" instead of "Refer": " Refer to the
> following blog for more information about converting bundle formats."
>
> In the Example usage section
> -- Use "The user" instead of "User": "The user can specify
> the way that the conversion should be done."
>
> In the Recursive conversion section
> -- Use "the tool" and "the specified output format": " In
> recursive conversion mode, the tool can convert .t2flow or .wfbundle
> files in the given directory into the specified output format."
> -- I think you may have a typographical error: "out put"
> instead of "output" -- it should be "The output will be...
> /home/username/ ..."
>
> In the Non-recursive conversion section
> -- Use "The user" instead of "User" and "need" instead of
> "needed": "The user can use this mode to convert a specific workflow
> into the format they need." (Or, even better would be to say, "The
> user can use this mode to convert a specific work flow into the
> required format."
> -- Instead of "Here all the files that want to be converted
> must specify separately as space separated values." I think it would
> be better to say: "All files to be converted must be listed as
> space-separated values."
> -- The sentence that describes where files will be saved if
> there is no specified output directory is a difficult one to write. I
> had to think about it. Rather than saying "The converted files will be
> saved in converted folder in each parent folder which contain the
> input file." What if you said "The converted files will be saved in
> the /converted folder in the input file's parent directory."? (And use
> the "/" in front of converted to stress that it is a folder name?)
> -- You need a comma after "Also." And use "are to be saved"
> instead of "to be saved": "Also, users can specify the directory where
> the converted files are to be saved."
> -- In your footnote, "out put" should be one word: "output":
> "*The tool can only manage one output file format at a time."
>
> Happy documenting!
>
> Gale
>
> On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Thank you very much Gale.
> > I did the modifications. :-)
> > Actually, unless you give me this feedback, it would mislead the readers.
> > I'm very grateful for correcting me. :-)
> >
> > I just wrote the documentation for statistics.
> >
> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
> >
> > Cheers
> > Menaka
> >
> > On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> I'm so glad I could help. You've done a nice job on your blog posts.
> >> If you don't mind, I can suggest some slight wording changes that I
> >> believe will make your meanings more clear. For example:
> >>
> >> Apache Taverna Language Command Line Tool – Supported functions and file
> >> types
> >> Paragraph 1
> >> -- Capitalize Taverna and Language: "The Apache Taverna
> >> Language is still …"
> >> -- Use "Currently" instead of "By now": "Currently the tool
> >> supports…"
> >> Paragraph 2
> >> -- Add "The" to the beginning of the sentence: "The
> >> following file types are supported..."
> >> -- I noticed you use .scufl2 in this blogpost, but .t2flow
> >> in the next blogpost.
> >>
> >> Please let me know if this kind of feedback would be helpful.
> >>
> >> Thanks,
> >>
> >> Gale
> >>
> >> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Yes Gale,
> >> > I'm thinking on taking them as a reference. For the best, I have some
> >> much
> >> > better doc from you. :-) :-)
> >> >
> >> > Thank you very much.
> >> > Menaka
> >> >
> >> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> Sounds great! Do you plan to use your blog to prepare the
> documentation?
> >> >>
> >> >> Feel free to use anything I've prepared if it helps. And if I can do
> >> >> any more before I go on vacation, I will let you know.
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Gale
> >> >>
> >> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hi Gale,
> >> >> >
> >> >> > The tool is almost done I think. The functionalities,
> >> >> > conversion,
> >> >> > validation,
> >> >> > inspection and
> >> >> > statistics
> >> >> >
> >> >> > are done.
> >> >> >
> >> >> > So what remaining is, completing the documentation.
> >> >> > I'll be able to finish it before 10 July hopefully. :-)
> >> >> >
> >> >> >
> >> >> >
> >> >> > On 30 June 2015 at 19:43, Gale Naylor <galen@noventussolutions.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Hi Menaka,
> >> >> >>
> >> >> >> Thank you. I appreciate your feedback, and I'd like to help
> however I
> >> >> can.
> >> >> >>
> >> >> >> When do you expect to finish your project and documentation?
> >> >> >>
> >> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
> >> stay in
> >> >> >> touch.
> >> >> >>
> >> >> >> Thanks,
> >> >> >>
> >> >> >> Gale
> >> >> >>
> >> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> >> >> >> <me...@gmail.com> wrote:
> >> >> >> > Hello Gale,
> >> >> >> > Great work. :-)
> >> >> >> >
> >> >> >> > I did notice the mygrid pages said the information was out of
> date.
> >> >> >> >>
> >> >> >> > Yes. I also faced the same condition when I was starting the
> >> project.
> >> >> The
> >> >> >> > documentation will be updated very soon as the project releases.
> >> :-)
> >> >> >> >
> >> >> >> > I am to write the full complete documentation for the command
> line
> >> >> tool.
> >> >> >> > I'll appreciate your support for it. :-)
> >> >> >> >
> >> >> >> > Cheers.
> >> >> >> > Menaka
> >> >> >> >
> >> >> >> > On 29 June 2015 at 22:10, Gale Naylor <
> galen@noventussolutions.com
> >> >
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >> Hi Menaka,
> >> >> >> >>
> >> >> >> >> >I found this doc in
> >> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >> >> >>
> >> >> >> >> Thanks for the link. I also found this mygrid link:
> >> >> >> >>
> >> >>
> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> >> >> >> ,
> >> >> >> >> which is very clear about the .wfbundle file extension.
> >> >> >> >>
> >> >> >> >> I did notice the mygrid pages said the information was out of
> >> date.
> >> >> >> >> So, I also looked at the taverna incubator documentation, and
> the
> >> >> >> >> incubator SCUFL API page pointed me to a github page for the
> >> latest
> >> >> >> >> information. I found the github SCUFL examples to be helpful:
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> >> >> >> >> .
> >> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
> >> >> conversion
> >> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
> >> >> >> >>
> >> >> >> >> Although I did find one example of a ".scufl2 bundle"
> >> >> >> >> (
> >> >>
> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> >> >> >> >> ), most of the references indicate the correct file extension
> is
> >> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
> >> >> table.
> >> >> >> >> Please let me know if I missed something here.
> >> >> >> >>
> >> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
> >> >> >> >> .wfbundle --> .iwir mappings.
> >> >> >> >>
> >> >> >> >> Thanks!
> >> >> >> >>
> >> >> >> >> Gale
> >> >> >> >>
> >> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> >> >> >> >> <me...@gmail.com> wrote:
> >> >> >> >> > Hi Gale,
> >> >> >> >> >
> >> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
> >> well
> >> >> as
> >> >> >> >> >> .structure?
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > Yes.
> >> >> >> >> >
> >> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> >> >> >> (taverna-sculf2-wfbundle)
> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >> >> >> (taverna-scufl2-api)?
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > I found this doc in
> >> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >> >> >> >
> >> >> >> >> > Cheers
> >> >> >> >> > Menaka
> >> >> >> >> >
> >> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
> >> galen@noventussolutions.com
> >> >> >
> >> >> >> >> wrote:
> >> >> >> >> >
> >> >> >> >> >> Hi Menaka,
> >> >> >> >> >>
> >> >> >> >> >> > According to the documentations provided, SCUFL is an
> >> >> experimental
> >> >> >> >> >> module.
> >> >> >> >> >> > So It has not added to the tool yet.
> >> >> >> >> >>
> >> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a
> visual
> >> >> person,
> >> >> >> >> >> I took the Taverna
> >> >> >> >> >> Language Module information and created a diagram:
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >> >> >> >> >>
> >> >> >> >> >> > The taverna language is capable of converting .t2flow
> >> workflows
> >> >> >> into
> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
> >> except
> >> >> >> >> .t2flow.
> >> >> >> >> >>
> >> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats
> as
> >> >> well as
> >> >> >> >> >> .structure?
> >> >> >> >> >> If so, I will update my table.
> >> >> >> >> >>
> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
> >> format
> >> >> of
> >> >> >> >> >> Taverna
> >> >> >> >> >> > 3)
> >> >> >> >> >>
> >> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna
> 3
> >> >> >> >> >> (taverna-sculf2-wfbundle)
> >> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >> >> >> (taverna-scufl2-api)?
> >> >> >> >> >>
> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
> >> when
> >> >> >> >> reading
> >> >> >> >> >> the
> >> >> >> >> >> > wokflow file. ...
> >> >> >> >> >> > In new_features2, I removed it because I have entered the
> >> wrong
> >> >> >> >> logic. I
> >> >> >> >> >> > restored it.
> >> >> >> >> >>
> >> >> >> >> >> Okay, understood.
> >> >> >> >> >>
> >> >> >> >> >> Thank you!
> >> >> >> >> >>
> >> >> >> >> >> Gale
> >> >> >> >> >>
> >> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >> >> >> >> >> <me...@gmail.com> wrote:
> >> >> >> >> >> > Hi Gale,
> >> >> >> >> >> > According to the documentations provided, SCUFL is an
> >> >> experimental
> >> >> >> >> >> module.
> >> >> >> >> >> > So It has not added to the tool yet.
> >> >> >> >> >> >
> >> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
> >> same
> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
> >> let me
> >> >> >> know
> >> >> >> >> >> >> and I'll fix it.
> >> >> >> >> >> >
> >> >> >> >> >> > The taverna language is capable of converting .t2flow
> >> workflows
> >> >> >> into
> >> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
> >> except
> >> >> >> >> .t2flow.
> >> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
> >> format
> >> >> of
> >> >> >> >> >> Taverna
> >> >> >> >> >> > 3)
> >> >> >> >> >> >
> >> >> >> >> >> > Also, I was wondering about something you said in one of
> your
> >> >> June
> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
> >> request:
> >> >> New
> >> >> >> >> >> >> features2).
> >> >> >> >> >> >> You said "File type detection removed."
> >> >> >> >> >> >>
> >> >> >> >> >> >> Which file type detection is this? Is this related to
> >> Stain's
> >> >> June
> >> >> >> >> 4th
> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
> by
> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
> >> included
> >> >> >> this
> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > Input file type detection was done to avoid any exceptions
> >> when
> >> >> >> >> reading
> >> >> >> >> >> the
> >> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media
> type
> >> and
> >> >> >> read
> >> >> >> >> the
> >> >> >> >> >> > bundle but, the input format could be wrongly entered by
> the
> >> >> user.
> >> >> >> We
> >> >> >> >> >> can't
> >> >> >> >> >> > promise that the user could always do the correct thing.
> >> Also in
> >> >> >> >> >> recursive
> >> >> >> >> >> > conversion, there could be other files also.
> >> >> >> >> >> >
> >> >> >> >> >> > In new_features2, I removed it because I have entered the
> >> wrong
> >> >> >> >> logic. I
> >> >> >> >> >> > restored it.
> >> >> >> >> >> >
> >> >> >> >> >> > Thank you
> >> >> >> >> >> > Menaka
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
> >> >> galen@noventussolutions.com
> >> >> >> >
> >> >> >> >> >> wrote:
> >> >> >> >> >> >
> >> >> >> >> >> >> Hi Menaka,
> >> >> >> >> >> >>
> >> >> >> >> >> >> A couple more things.
> >> >> >> >> >> >>
> >> >> >> >> >> >> I am trying to organize my understanding of how the
> >> conversions
> >> >> >> work,
> >> >> >> >> >> >> so I wrote a new blog post with a conversion table:
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >> >> >> >> >> >>
> >> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to
> the
> >> same
> >> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
> >> let me
> >> >> >> know
> >> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also
> be
> >> >> listed?
> >> >> >> >> The
> >> >> >> >> >> >> table is my best guess from reading all of the emails, so
> >> >> please
> >> >> >> let
> >> >> >> >> >> >> me know if anything is wrong, or if I missed something.
> >> >> >> >> >> >>
> >> >> >> >> >> >> Also, I was wondering about something you said in one of
> >> your
> >> >> June
> >> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
> >> request:
> >> >> New
> >> >> >> >> >> >> features2).
> >> >> >> >> >> >> You said "File type detection removed."
> >> >> >> >> >> >>
> >> >> >> >> >> >> Which file type detection is this? Is this related to
> >> Stain's
> >> >> June
> >> >> >> >> 4th
> >> >> >> >> >> >> email, in which he said the input format is auto-guessed
> by
> >> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
> >> included
> >> >> >> this
> >> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >> >> >> >>
> >> >> >> >> >> >> Thanks!
> >> >> >> >> >> >>
> >> >> >> >> >> >> Gale
> >> >> >> >> >> >>
> >> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >> >> >> >> >> >> <me...@gmail.com> wrote:
> >> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> >> >> >> menaka12350@gmail.com
> >> >> >> >> >
> >> >> >> >> >> >> wrote:
> >> >> >> >> >> >> >
> >> >> >> >> >> >> >> Hi Gale,
> >> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm
> very
> >> >> new
> >> >> >> and
> >> >> >> >> >> there
> >> >> >> >> >> >> >> could be some flows. Thank you very much for showing
> >> them.
> >> >> :-)
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be
> converted
> >> >> are
> >> >> >> >> listed
> >> >> >> >> >> in
> >> >> >> >> >> >> >> this blog.
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> >> >> >> >> >> >> The bundles are not workflows.
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
> >> >> >> >> misleading.....
> >> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are
> two
> >> >> >> different
> >> >> >> >> >> APIs.
> >> >> >> >> >> >> >> I'll update the blog. :-)
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle
> could be
> >> >> >> >> converted
> >> >> >> >> >> into
> >> >> >> >> >> >> >> robundle.
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
> >> wise
> >> >> it
> >> >> >> >> looks
> >> >> >> >> >> like
> >> >> >> >> >> >> >> any format could be converted into Robundle. I'll
> update
> >> my
> >> >> >> blog
> >> >> >> >> too.
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> Are there any more facts that need clarification about
> >> the
> >> >> >> blogs
> >> >> >> >> >> please
> >> >> >> >> >> >> >> ask me. :)
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> Thank you very much Gale.
> >> >> >> >> >> >> >> Menaka
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> >> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >> >> wrote:
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>> Hi Menaka,
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> I've been reading and learning more about research
> >> objects,
> >> >> >> and I
> >> >> >> >> >> >> >>> think I understand better what is going on, but I
> still
> >> >> have
> >> >> >> some
> >> >> >> >> >> >> >>> questions.
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
> >> converted
> >> >> to
> >> >> >> >> >> .robundle
> >> >> >> >> >> >> >>> format? (I must have missed something because I
> thought
> >> >> >> .t2flow
> >> >> >> >> and
> >> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you
> say
> >> >> that
> >> >> >> the
> >> >> >> >> >> >> >>> command line tool is for converting and managing
> >> workflow
> >> >> >> >> "bundles"
> >> >> >> >> >> as
> >> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
> >> "workflow
> >> >> >> >> bundles"
> >> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
> >> >> difference?
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> 3) I understand now that not all file format
> conversions
> >> >> are
> >> >> >> >> valid.
> >> >> >> >> >> >> >>> I'm trying to understand this better. In your June
> 18th
> >> >> blog
> >> >> >> post
> >> >> >> >> >> you
> >> >> >> >> >> >> >>> say:
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> "The conversion function supports converting .t2flow
> and
> >> >> >> >> .wfbundle
> >> >> >> >> >> >> >>> formats into following formats:
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> .structure
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> .json
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> .iwir
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> .wfbundle
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> .robundle –> (development in progress)"
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> To me, reading this looks like all combinations are
> >> valid.
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files
> be
> >> >> >> converted
> >> >> >> >> to
> >> >> >> >> >> >> >>> all file types *except* robundle?
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I
> also
> >> >> change
> >> >> >> >> the
> >> >> >> >> >> >> >>> --robundle option description to say "Output bundle
> as
> >> >> >> .robundle"
> >> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
> >> >> >> .wfbundle
> >> >> >> >> >> >> >>> option.)
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
> >> >> example!
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> Have a nice weekend.
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> Gale
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >> >> >> >> >> >>> <me...@gmail.com> wrote:
> >> >> >> >> >> >> >>> > Hi Gale,
> >> >> >> >> >> >> >>> > Use this link
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > Cheers
> >> >> >> >> >> >> >>> > Menaka
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >> >> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >> >> >>> wrote:
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> >> Hi Menaka,
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
> >> information.
> >> >> >> Sorry
> >> >> >> >> not
> >> >> >> >> >> to
> >> >> >> >> >> >> >>> respond
> >> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and
> reading
> >> >> the
> >> >> >> link
> >> >> >> >> >> you
> >> >> >> >> >> >> >>> sent.
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the
> example
> >> in
> >> >> the
> >> >> >> >> >> Examples
> >> >> >> >> >> >> >>> of Use
> >> >> >> >> >> >> >>> >> Section: "Example in full is at
> >> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not
> the
> >> web
> >> >> >> page
> >> >> >> >> you
> >> >> >> >> >> are
> >> >> >> >> >> >> >>> >> looking
> >> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> >> >> >> >> >>> >> )
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> - Entering
> "org.apache.taverna.robundle.TestExample"
> >> >> also
> >> >> >> >> doesn't
> >> >> >> >> >> >> work
> >> >> >> >> >> >> >>> for
> >> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on
> the
> >> >> main
> >> >> >> >> >> >> Apache.com
> >> >> >> >> >> >> >>> page
> >> >> >> >> >> >> >>> >> yields no results.
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> I will continue to read and understand the RO
> Bundle
> >> API
> >> >> >> page,
> >> >> >> >> >> but I
> >> >> >> >> >> >> >>> would
> >> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> Thanks!
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> Gale
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> -----Original Message-----
> >> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
> >> menaka12350@gmail.com]
> >> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
> >> >> convert
> >> >> >> >> command
> >> >> >> >> >> >> doc
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> That's cool.....!! :-)
> >> >> >> >> >> >> >>> >> Correction:
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
> >> files, no
> >> >> >> >> options
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >> >> >> >> >> >> /someFile2.wfbundle
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
> >> >> */someFile2.wfbundle*
> >> >> >> >> into
> >> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
> >> the
> >> >> >> >> >> */converted*
> >> >> >> >> >> >> >>> >> > folder in the current working directory.
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>> >> Taverna language *cannot* convert
> .wfbundles/.t2flow
> >> >> into
> >> >> >> >> >> robundle
> >> >> >> >> >> >> >>> format.
> >> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go
> through
> >> >> this
> >> >> >> doc
> >> >> >> >> >> for
> >> >> >> >> >> >> more
> >> >> >> >> >> >> >>> >> info.
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> cheers.
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >> >> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >> >> >>> wrote:
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
> >> >> changed
> >> >> >> the
> >> >> >> >> two
> >> >> >> >> >> >> blog
> >> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great.
> I
> >> also
> >> >> >> made
> >> >> >> >> a
> >> >> >> >> >> few
> >> >> >> >> >> >> >>> >> > refinements.
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>> >> > Thanks,
> >> >> >> >> >> >> >>> >> > Gale
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka
> Madushanka
> >> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
> >> >> >> >> >> >> >>> >> > > Thank you very much Gale,
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
> >> >> indicate
> >> >> >> >> it is
> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
> to
> >> be
> >> >> >> always
> >> >> >> >> >> >> >>> necessary
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very
> new
> >> >> for
> >> >> >> >> >> >> >>> documentation.
> >> >> >> >> >> >> >>> >> > Thank
> >> >> >> >> >> >> >>> >> > > you very much.
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
> >> >> single
> >> >> >> >> dash,
> >> >> >> >> >> but
> >> >> >> >> >> >> all
> >> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
> >> Should I
> >> >> >> >> change
> >> >> >> >> >> the
> >> >> >> >> >> >> >>> json
> >> >> >> >> >> >> >>> >> > >> output argument to --json?
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
> >> >> >> mistake. So
> >> >> >> >> >> you
> >> >> >> >> >> >> can
> >> >> >> >> >> >> >>> >> > > use
> >> >> >> >> >> >> >>> >> > --.
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
> >> showing
> >> >> >> the
> >> >> >> >> >> >> >>> >> > > double-dashes
> >> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
> >> >> monospace
> >> >> >> >> >> >> font-family.
> >> >> >> >> >> >> >>> >> > >> Any
> >> >> >> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
> >> :-)
> >> >> Use
> >> >> >> >> >> >> >>> preformatted.
> >> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated
> my
> >> >> blog.
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >>
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > Thank you very much.
> >> >> >> >> >> >> >>> >> > > Menaka
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > I'll go through your documentations.
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> >> >> >> >> >> galen@noventussolutions.com
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> >> > wrote:
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > >> Hi Menaka,
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
> >> >> additional
> >> >> >> >> >> feedback
> >> >> >> >> >> >> in
> >> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a
> detailed
> >> >> >> >> description
> >> >> >> >> >> (as
> >> >> >> >> >> >> I
> >> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
> >> has
> >> >> >> several
> >> >> >> >> >> >> >>> examples,
> >> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
> >> these
> >> >> >> will
> >> >> >> >> >> help
> >> >> >> >> >> >> the
> >> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
> >> the
> >> >> >> links:
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >>
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >> >> >> >>> >> > mmand-line-convert-command/
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >>
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> Some things to note:
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post,
> but a
> >> few
> >> >> >> >> things
> >> >> >> >> >> >> (like
> >> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
> >> >> posts/emails.
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without
> brackets
> >> to
> >> >> >> >> indicate
> >> >> >> >> >> it
> >> >> >> >> >> >> is
> >> >> >> >> >> >> >>> >> > >> required and not optional because it appears
> to
> >> be
> >> >> >> always
> >> >> >> >> >> >> >>> necessary.
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
> >> >> >> structure,
> >> >> >> >> it
> >> >> >> >> >> >> seemed
> >> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
> >> directory)
> >> >> >> should
> >> >> >> >> >> come
> >> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
> >> >> assumed.
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as
> having
> >> a
> >> >> >> single
> >> >> >> >> >> dash,
> >> >> >> >> >> >> but
> >> >> >> >> >> >> >>> >> > >> all the other output types have
> double-dashes.
> >> >> Should
> >> >> >> I
> >> >> >> >> >> change
> >> >> >> >> >> >> the
> >> >> >> >> >> >> >>> >> > >> json output argument to --json?
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect
> and
> >> I
> >> >> will
> >> >> >> >> >> change
> >> >> >> >> >> >> it.
> >> >> >> >> >> >> >>> I
> >> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and
> I'm
> >> >> happy
> >> >> >> to
> >> >> >> >> >> make
> >> >> >> >> >> >> any
> >> >> >> >> >> >> >>> >> > >> changes as things evolve.
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
> >> >> showing
> >> >> >> the
> >> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even
> when I
> >> >> use
> >> >> >> the
> >> >> >> >> >> >> monospace
> >> >> >> >> >> >> >>> >> > >> font-family. Any
> >> >> >> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> Thanks,
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> Gale
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
> >> Madushanka
> >> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >> >> >> >> >> >> >>> >> > >> > Hi Gale,
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> > Thank you very much.
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> > . Can you help me
> >> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
> >> files
> >> >> >> will
> >> >> >> >> get
> >> >> >> >> >> >> saved
> >> >> >> >> >> >> >>> >> > >> >> to the C directory?
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
> >> That
> >> >> >> >> should be
> >> >> >> >> >> >> >>> >> > >> > corrected
> >> >> >> >> >> >> >>> >> > as
> >> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> >> >> >> >> /home/usrname/toConvert/ –>
> >> >> >> >> >> >> >>> >> > >> > *Convert
> >> >> >> >> >> >> >>> >> > the
> >> >> >> >> >> >> >>> >> > >> > files and save them in the
> >> …/toConvert/converted/
> >> >> >> >> >> directory.
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
> >> modifications
> >> >> >> etc. So
> >> >> >> >> >> with
> >> >> >> >> >> >> the
> >> >> >> >> >> >> >>> >> > >> > help
> >> >> >> >> >> >> >>> >> > of
> >> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
> >> better
> >> >> >> >> >> structure.
> >> >> >> >> >> >> >>> >> > >> > Cheers
> >> >> >> >> >> >> >>> >> > >> > Menaka
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >> >> >> >> >> >> >>> >> > >> wrote:
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand
> the
> >> >> >> command
> >> >> >> >> >> >> structure
> >> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
> >> the
> >> >> blog
> >> >> >> >> >> post; it
> >> >> >> >> >> >> >>> was
> >> >> >> >> >> >> >>> >> > >> >> very helpful.
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> I am a little confused about your
> recursive
> >> >> >> example.
> >> >> >> >> Can
> >> >> >> >> >> you
> >> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you
> say
> >> >> the
> >> >> >> >> files
> >> >> >> >> >> will
> >> >> >> >> >> >> >>> get
> >> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
> >> the
> >> >> >> output
> >> >> >> >> >> being
> >> >> >> >> >> >> >>> saved
> >> >> >> >> >> >> >>> >> > >> >> to:
> >> >> >> >> >> >> >>> >> > >> >>
> >> /home/usrname/toConvert/converted/somefile1.json
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> This is the example:
> >> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> >> >> >> >> /home/usrname/toConvert/ –>
> >> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
> >> >> directory.
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> Thank you!
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> Gale
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> B
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
> >> >> Madushanka
> >> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
> >> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank
> you
> >> >> very
> >> >> >> >> much.
> >> >> >> >> >> :-)
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of
> the
> >> >> >> command:
> >> >> >> >> >> >> tavlang
> >> >> >> >> >> >> >>> >> > convert
> >> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input
> files>?
> >> Am I
> >> >> >> >> wrong in
> >> >> >> >> >> >> >>> >> > >> >> >> thinking
> >> >> >> >> >> >> >>> >> > that
> >> >> >> >> >> >> >>> >> > >> the
> >> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
> >> >> >> structure of
> >> >> >> >> >> >> commands
> >> >> >> >> >> >> >>> >> > >> >> > now
> >> >> >> >> >> >> >>> >> > and
> >> >> >> >> >> >> >>> >> > >> >> then.
> >> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure
> is
> >> >> like
> >> >> >> >> this.
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
> >> [options]
> >> >> >> >> >> [arguments]
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used
> independently?
> >> If
> >> >> so,
> >> >> >> >> under
> >> >> >> >> >> >> what
> >> >> >> >> >> >> >>> >> > >> >> circumstances?
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be
> a
> >> >> >> directory
> >> >> >> >> >> >> >>> containing
> >> >> >> >> >> >> >>> >> > >> .t2flow of
> >> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is
> optional
> >> >> for
> >> >> >> both
> >> >> >> >> >> >> >>> recursive
> >> >> >> >> >> >> >>> >> > >> >> > and
> >> >> >> >> >> >> >>> >> > non
> >> >> >> >> >> >> >>> >> > >> >> > recursive cases.
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
> >> command.
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >>
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
> >> inform.
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > Regards
> >> >> >> >> >> >> >>> >> > >> >> > Menaka
> >> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >> >>> >> > >> >> > --
> >> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> >> >> >> http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >> >>> University
> >> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> >> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
> >> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >> >>> >> > >> > --
> >> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
> >> >> http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >> University
> >> >> >> >> >> >> >>> of
> >> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
> >> >> >> >> >> >> >>> >> > >> > LinkedIn <
> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >> >>> >> > > --
> >> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
> >> http://www.pdn.ac.lk/eng>
> >> >> >> >> >> University
> >> >> >> >> >> >> of
> >> >> >> >> >> >> >>> >> > > Peradeniyaya.
> >> >> >> >> >> >> >>> >> > > LinkedIn <
> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >> --
> >> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
> >> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng
> >
> >> >> >> >> University of
> >> >> >> >> >> >> >>> >> Peradeniyaya.
> >> >> >> >> >> >> >>> >> LinkedIn <
> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >> >>> >>
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> >
> >> >> >> >> >> >> >>> > --
> >> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >> >>> > University of Peradeniyaya.
> >> >> >> >> >> >> >>> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena
> >> >
> >> >> >> >> >> >> >>>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >> --
> >> >> >> >> >> >> >> Menaka Madushanka Jayawardena
> >> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >> >> University of Peradeniyaya.
> >> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena
> >
> >> >> >> >> >> >> >>
> >> >> >> >> >> >> >
> >> >> >> >> >> >> >
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > --
> >> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >> > University of Peradeniyaya.
> >> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > --
> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> > University of Peradeniyaya.
> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > --
> >> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> > University of Peradeniyaya.
> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> > University of Peradeniyaya.
> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >>
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
The changes look great! But I missed one: You should add a "The" in
front of the inspection, validation, and statistics sentence, so it
reads: "The following file types are supported for inspection,
validation and statistics." (with a period at the end.) :-)
I will take a look at your statistics blog post. Meanwhile, below are
some comments for the Conversion Documentation blog post. Of course,
let me know if I misunderstood anything you are trying to say.
Apache Taverna Language Command line - Conversion Documentation
Paragraph 1
-- Use "provides" instead of "gives" and "converting and
managing" instead of "convert and manage": "The Apache Taverna
Language provides a set of APIs for converting and managing workflow
bundles and Research Object bundles."
Paragraph 3
-- Add "are:": "The basic functionalities of the tool are:"
In the Conversion section
-- Use "also has" instead of "is also have": "The tool also
has the capability of converting bundles of several formats into
Research Object bundles."
-- Use "Refer to" instead of "Refer": " Refer to the
following blog for more information about converting bundle formats."
In the Example usage section
-- Use "The user" instead of "User": "The user can specify
the way that the conversion should be done."
In the Recursive conversion section
-- Use "the tool" and "the specified output format": " In
recursive conversion mode, the tool can convert .t2flow or .wfbundle
files in the given directory into the specified output format."
-- I think you may have a typographical error: "out put"
instead of "output" -- it should be "The output will be...
/home/username/ ..."
In the Non-recursive conversion section
-- Use "The user" instead of "User" and "need" instead of
"needed": "The user can use this mode to convert a specific workflow
into the format they need." (Or, even better would be to say, "The
user can use this mode to convert a specific work flow into the
required format."
-- Instead of "Here all the files that want to be converted
must specify separately as space separated values." I think it would
be better to say: "All files to be converted must be listed as
space-separated values."
-- The sentence that describes where files will be saved if
there is no specified output directory is a difficult one to write. I
had to think about it. Rather than saying "The converted files will be
saved in converted folder in each parent folder which contain the
input file." What if you said "The converted files will be saved in
the /converted folder in the input file's parent directory."? (And use
the "/" in front of converted to stress that it is a folder name?)
-- You need a comma after "Also." And use "are to be saved"
instead of "to be saved": "Also, users can specify the directory where
the converted files are to be saved."
-- In your footnote, "out put" should be one word: "output":
"*The tool can only manage one output file format at a time."
Happy documenting!
Gale
On Tue, Jun 30, 2015 at 8:52 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Thank you very much Gale.
> I did the modifications. :-)
> Actually, unless you give me this feedback, it would mislead the readers.
> I'm very grateful for correcting me. :-)
>
> I just wrote the documentation for statistics.
> https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
>
> Cheers
> Menaka
>
> On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> I'm so glad I could help. You've done a nice job on your blog posts.
>> If you don't mind, I can suggest some slight wording changes that I
>> believe will make your meanings more clear. For example:
>>
>> Apache Taverna Language Command Line Tool – Supported functions and file
>> types
>> Paragraph 1
>> -- Capitalize Taverna and Language: "The Apache Taverna
>> Language is still …"
>> -- Use "Currently" instead of "By now": "Currently the tool
>> supports…"
>> Paragraph 2
>> -- Add "The" to the beginning of the sentence: "The
>> following file types are supported..."
>> -- I noticed you use .scufl2 in this blogpost, but .t2flow
>> in the next blogpost.
>>
>> Please let me know if this kind of feedback would be helpful.
>>
>> Thanks,
>>
>> Gale
>>
>> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Yes Gale,
>> > I'm thinking on taking them as a reference. For the best, I have some
>> much
>> > better doc from you. :-) :-)
>> >
>> > Thank you very much.
>> > Menaka
>> >
>> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> Sounds great! Do you plan to use your blog to prepare the documentation?
>> >>
>> >> Feel free to use anything I've prepared if it helps. And if I can do
>> >> any more before I go on vacation, I will let you know.
>> >>
>> >> Thanks,
>> >>
>> >> Gale
>> >>
>> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Hi Gale,
>> >> >
>> >> > The tool is almost done I think. The functionalities,
>> >> > conversion,
>> >> > validation,
>> >> > inspection and
>> >> > statistics
>> >> >
>> >> > are done.
>> >> >
>> >> > So what remaining is, completing the documentation.
>> >> > I'll be able to finish it before 10 July hopefully. :-)
>> >> >
>> >> >
>> >> >
>> >> > On 30 June 2015 at 19:43, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >
>> >> >> Hi Menaka,
>> >> >>
>> >> >> Thank you. I appreciate your feedback, and I'd like to help however I
>> >> can.
>> >> >>
>> >> >> When do you expect to finish your project and documentation?
>> >> >>
>> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
>> stay in
>> >> >> touch.
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> Gale
>> >> >>
>> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>> >> >> <me...@gmail.com> wrote:
>> >> >> > Hello Gale,
>> >> >> > Great work. :-)
>> >> >> >
>> >> >> > I did notice the mygrid pages said the information was out of date.
>> >> >> >>
>> >> >> > Yes. I also faced the same condition when I was starting the
>> project.
>> >> The
>> >> >> > documentation will be updated very soon as the project releases.
>> :-)
>> >> >> >
>> >> >> > I am to write the full complete documentation for the command line
>> >> tool.
>> >> >> > I'll appreciate your support for it. :-)
>> >> >> >
>> >> >> > Cheers.
>> >> >> > Menaka
>> >> >> >
>> >> >> > On 29 June 2015 at 22:10, Gale Naylor <galen@noventussolutions.com
>> >
>> >> >> wrote:
>> >> >> >
>> >> >> >> Hi Menaka,
>> >> >> >>
>> >> >> >> >I found this doc in
>> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >> >>
>> >> >> >> Thanks for the link. I also found this mygrid link:
>> >> >> >>
>> >> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>> >> >> ,
>> >> >> >> which is very clear about the .wfbundle file extension.
>> >> >> >>
>> >> >> >> I did notice the mygrid pages said the information was out of
>> date.
>> >> >> >> So, I also looked at the taverna incubator documentation, and the
>> >> >> >> incubator SCUFL API page pointed me to a github page for the
>> latest
>> >> >> >> information. I found the github SCUFL examples to be helpful:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>> >> >> >> .
>> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
>> >> conversion
>> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
>> >> >> >>
>> >> >> >> Although I did find one example of a ".scufl2 bundle"
>> >> >> >> (
>> >> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>> >> >> >> ), most of the references indicate the correct file extension is
>> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
>> >> table.
>> >> >> >> Please let me know if I missed something here.
>> >> >> >>
>> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
>> >> >> >> .wfbundle --> .iwir mappings.
>> >> >> >>
>> >> >> >> Thanks!
>> >> >> >>
>> >> >> >> Gale
>> >> >> >>
>> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> > Hi Gale,
>> >> >> >> >
>> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
>> well
>> >> as
>> >> >> >> >> .structure?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Yes.
>> >> >> >> >
>> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> >> >> (taverna-sculf2-wfbundle)
>> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>> >> >> (taverna-scufl2-api)?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > I found this doc in
>> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >> >> >
>> >> >> >> > Cheers
>> >> >> >> > Menaka
>> >> >> >> >
>> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
>> galen@noventussolutions.com
>> >> >
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >> Hi Menaka,
>> >> >> >> >>
>> >> >> >> >> > According to the documentations provided, SCUFL is an
>> >> experimental
>> >> >> >> >> module.
>> >> >> >> >> > So It has not added to the tool yet.
>> >> >> >> >>
>> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a visual
>> >> person,
>> >> >> >> >> I took the Taverna
>> >> >> >> >> Language Module information and created a diagram:
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>> >> >> >> >>
>> >> >> >> >> > The taverna language is capable of converting .t2flow
>> workflows
>> >> >> into
>> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>> except
>> >> >> >> .t2flow.
>> >> >> >> >>
>> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats as
>> >> well as
>> >> >> >> >> .structure?
>> >> >> >> >> If so, I will update my table.
>> >> >> >> >>
>> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>> format
>> >> of
>> >> >> >> >> Taverna
>> >> >> >> >> > 3)
>> >> >> >> >>
>> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> >> >> (taverna-sculf2-wfbundle)
>> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>> >> >> (taverna-scufl2-api)?
>> >> >> >> >>
>> >> >> >> >> > Input file type detection was done to avoid any exceptions
>> when
>> >> >> >> reading
>> >> >> >> >> the
>> >> >> >> >> > wokflow file. ...
>> >> >> >> >> > In new_features2, I removed it because I have entered the
>> wrong
>> >> >> >> logic. I
>> >> >> >> >> > restored it.
>> >> >> >> >>
>> >> >> >> >> Okay, understood.
>> >> >> >> >>
>> >> >> >> >> Thank you!
>> >> >> >> >>
>> >> >> >> >> Gale
>> >> >> >> >>
>> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>> >> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> >> > Hi Gale,
>> >> >> >> >> > According to the documentations provided, SCUFL is an
>> >> experimental
>> >> >> >> >> module.
>> >> >> >> >> > So It has not added to the tool yet.
>> >> >> >> >> >
>> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
>> same
>> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>> let me
>> >> >> know
>> >> >> >> >> >> and I'll fix it.
>> >> >> >> >> >
>> >> >> >> >> > The taverna language is capable of converting .t2flow
>> workflows
>> >> >> into
>> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
>> except
>> >> >> >> .t2flow.
>> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
>> format
>> >> of
>> >> >> >> >> Taverna
>> >> >> >> >> > 3)
>> >> >> >> >> >
>> >> >> >> >> > Also, I was wondering about something you said in one of your
>> >> June
>> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>> request:
>> >> New
>> >> >> >> >> >> features2).
>> >> >> >> >> >> You said "File type detection removed."
>> >> >> >> >> >>
>> >> >> >> >> >> Which file type detection is this? Is this related to
>> Stain's
>> >> June
>> >> >> >> 4th
>> >> >> >> >> >> email, in which he said the input format is auto-guessed by
>> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>> included
>> >> >> this
>> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Input file type detection was done to avoid any exceptions
>> when
>> >> >> >> reading
>> >> >> >> >> the
>> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media type
>> and
>> >> >> read
>> >> >> >> the
>> >> >> >> >> > bundle but, the input format could be wrongly entered by the
>> >> user.
>> >> >> We
>> >> >> >> >> can't
>> >> >> >> >> > promise that the user could always do the correct thing.
>> Also in
>> >> >> >> >> recursive
>> >> >> >> >> > conversion, there could be other files also.
>> >> >> >> >> >
>> >> >> >> >> > In new_features2, I removed it because I have entered the
>> wrong
>> >> >> >> logic. I
>> >> >> >> >> > restored it.
>> >> >> >> >> >
>> >> >> >> >> > Thank you
>> >> >> >> >> > Menaka
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
>> >> galen@noventussolutions.com
>> >> >> >
>> >> >> >> >> wrote:
>> >> >> >> >> >
>> >> >> >> >> >> Hi Menaka,
>> >> >> >> >> >>
>> >> >> >> >> >> A couple more things.
>> >> >> >> >> >>
>> >> >> >> >> >> I am trying to organize my understanding of how the
>> conversions
>> >> >> work,
>> >> >> >> >> >> so I wrote a new blog post with a conversion table:
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>> >> >> >> >> >>
>> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to the
>> same
>> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
>> let me
>> >> >> know
>> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be
>> >> listed?
>> >> >> >> The
>> >> >> >> >> >> table is my best guess from reading all of the emails, so
>> >> please
>> >> >> let
>> >> >> >> >> >> me know if anything is wrong, or if I missed something.
>> >> >> >> >> >>
>> >> >> >> >> >> Also, I was wondering about something you said in one of
>> your
>> >> June
>> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
>> request:
>> >> New
>> >> >> >> >> >> features2).
>> >> >> >> >> >> You said "File type detection removed."
>> >> >> >> >> >>
>> >> >> >> >> >> Which file type detection is this? Is this related to
>> Stain's
>> >> June
>> >> >> >> 4th
>> >> >> >> >> >> email, in which he said the input format is auto-guessed by
>> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
>> included
>> >> >> this
>> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >> >> >>
>> >> >> >> >> >> Thanks!
>> >> >> >> >> >>
>> >> >> >> >> >> Gale
>> >> >> >> >> >>
>> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> >> >> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
>> >> >> >> >> >> >
>> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>> >> >> menaka12350@gmail.com
>> >> >> >> >
>> >> >> >> >> >> wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> >> Hi Gale,
>> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm very
>> >> new
>> >> >> and
>> >> >> >> >> there
>> >> >> >> >> >> >> could be some flows. Thank you very much for showing
>> them.
>> >> :-)
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be converted
>> >> are
>> >> >> >> listed
>> >> >> >> >> in
>> >> >> >> >> >> >> this blog.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> >> >> >> >> >> The bundles are not workflows.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>> >> >> >> misleading.....
>> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are two
>> >> >> different
>> >> >> >> >> APIs.
>> >> >> >> >> >> >> I'll update the blog. :-)
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>> >> >> >> converted
>> >> >> >> >> into
>> >> >> >> >> >> >> robundle.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
>> wise
>> >> it
>> >> >> >> looks
>> >> >> >> >> like
>> >> >> >> >> >> >> any format could be converted into Robundle. I'll update
>> my
>> >> >> blog
>> >> >> >> too.
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Are there any more facts that need clarification about
>> the
>> >> >> blogs
>> >> >> >> >> please
>> >> >> >> >> >> >> ask me. :)
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> Thank you very much Gale.
>> >> >> >> >> >> >> Menaka
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >> wrote:
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>> Hi Menaka,
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> I've been reading and learning more about research
>> objects,
>> >> >> and I
>> >> >> >> >> >> >>> think I understand better what is going on, but I still
>> >> have
>> >> >> some
>> >> >> >> >> >> >>> questions.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
>> converted
>> >> to
>> >> >> >> >> .robundle
>> >> >> >> >> >> >>> format? (I must have missed something because I thought
>> >> >> .t2flow
>> >> >> >> and
>> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you say
>> >> that
>> >> >> the
>> >> >> >> >> >> >>> command line tool is for converting and managing
>> workflow
>> >> >> >> "bundles"
>> >> >> >> >> as
>> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
>> "workflow
>> >> >> >> bundles"
>> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
>> >> difference?
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> 3) I understand now that not all file format conversions
>> >> are
>> >> >> >> valid.
>> >> >> >> >> >> >>> I'm trying to understand this better. In your June 18th
>> >> blog
>> >> >> post
>> >> >> >> >> you
>> >> >> >> >> >> >>> say:
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> "The conversion function supports converting .t2flow and
>> >> >> >> .wfbundle
>> >> >> >> >> >> >>> formats into following formats:
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> .structure
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> .json
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> .iwir
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> .wfbundle
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> .robundle –> (development in progress)"
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> To me, reading this looks like all combinations are
>> valid.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be
>> >> >> converted
>> >> >> >> to
>> >> >> >> >> >> >>> all file types *except* robundle?
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I also
>> >> change
>> >> >> >> the
>> >> >> >> >> >> >>> --robundle option description to say "Output bundle as
>> >> >> .robundle"
>> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>> >> >> .wfbundle
>> >> >> >> >> >> >>> option.)
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
>> >> example!
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Have a nice weekend.
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> Gale
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> >> >> >> >> >>> <me...@gmail.com> wrote:
>> >> >> >> >> >> >>> > Hi Gale,
>> >> >> >> >> >> >>> > Use this link
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > Cheers
>> >> >> >> >> >> >>> > Menaka
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>> >> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >> >>> wrote:
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> >> Hi Menaka,
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
>> information.
>> >> >> Sorry
>> >> >> >> not
>> >> >> >> >> to
>> >> >> >> >> >> >>> respond
>> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and reading
>> >> the
>> >> >> link
>> >> >> >> >> you
>> >> >> >> >> >> >>> sent.
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the example
>> in
>> >> the
>> >> >> >> >> Examples
>> >> >> >> >> >> >>> of Use
>> >> >> >> >> >> >>> >> Section: "Example in full is at
>> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not the
>> web
>> >> >> page
>> >> >> >> you
>> >> >> >> >> are
>> >> >> >> >> >> >>> >> looking
>> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >> >> >> >> >>> >> )
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample"
>> >> also
>> >> >> >> doesn't
>> >> >> >> >> >> work
>> >> >> >> >> >> >>> for
>> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on the
>> >> main
>> >> >> >> >> >> Apache.com
>> >> >> >> >> >> >>> page
>> >> >> >> >> >> >>> >> yields no results.
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> I will continue to read and understand the RO Bundle
>> API
>> >> >> page,
>> >> >> >> >> but I
>> >> >> >> >> >> >>> would
>> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> Thanks!
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> Gale
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> -----Original Message-----
>> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
>> menaka12350@gmail.com]
>> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
>> >> convert
>> >> >> >> command
>> >> >> >> >> >> doc
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> That's cool.....!! :-)
>> >> >> >> >> >> >>> >> Correction:
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
>> files, no
>> >> >> >> options
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> >> >> >> >> >> /someFile2.wfbundle
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
>> >> */someFile2.wfbundle*
>> >> >> >> into
>> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
>> the
>> >> >> >> >> */converted*
>> >> >> >> >> >> >>> >> > folder in the current working directory.
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow
>> >> into
>> >> >> >> >> robundle
>> >> >> >> >> >> >>> format.
>> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go through
>> >> this
>> >> >> doc
>> >> >> >> >> for
>> >> >> >> >> >> more
>> >> >> >> >> >> >>> >> info.
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> cheers.
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>> >> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >> >>> wrote:
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
>> >> changed
>> >> >> the
>> >> >> >> two
>> >> >> >> >> >> blog
>> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I
>> also
>> >> >> made
>> >> >> >> a
>> >> >> >> >> few
>> >> >> >> >> >> >>> >> > refinements.
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>> >> > Thanks,
>> >> >> >> >> >> >>> >> > Gale
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
>> >> >> >> >> >> >>> >> > > Thank you very much Gale,
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
>> >> indicate
>> >> >> >> it is
>> >> >> >> >> >> >>> >> > >> required and not optional because it appears to
>> be
>> >> >> always
>> >> >> >> >> >> >>> necessary
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very new
>> >> for
>> >> >> >> >> >> >>> documentation.
>> >> >> >> >> >> >>> >> > Thank
>> >> >> >> >> >> >>> >> > > you very much.
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
>> >> single
>> >> >> >> dash,
>> >> >> >> >> but
>> >> >> >> >> >> all
>> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
>> Should I
>> >> >> >> change
>> >> >> >> >> the
>> >> >> >> >> >> >>> json
>> >> >> >> >> >> >>> >> > >> output argument to --json?
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
>> >> >> mistake. So
>> >> >> >> >> you
>> >> >> >> >> >> can
>> >> >> >> >> >> >>> >> > > use
>> >> >> >> >> >> >>> >> > --.
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
>> showing
>> >> >> the
>> >> >> >> >> >> >>> >> > > double-dashes
>> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
>> >> monospace
>> >> >> >> >> >> font-family.
>> >> >> >> >> >> >>> >> > >> Any
>> >> >> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
>> :-)
>> >> Use
>> >> >> >> >> >> >>> preformatted.
>> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my
>> >> blog.
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>>
>> >> >> >> >>
>> >> >>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > Thank you very much.
>> >> >> >> >> >> >>> >> > > Menaka
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > I'll go through your documentations.
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> >> >> >> >> >> galen@noventussolutions.com
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> >> > wrote:
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > >> Hi Menaka,
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
>> >> additional
>> >> >> >> >> feedback
>> >> >> >> >> >> in
>> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a detailed
>> >> >> >> description
>> >> >> >> >> (as
>> >> >> >> >> >> I
>> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
>> has
>> >> >> several
>> >> >> >> >> >> >>> examples,
>> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
>> these
>> >> >> will
>> >> >> >> >> help
>> >> >> >> >> >> the
>> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
>> the
>> >> >> links:
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>>
>> >> >> >> >>
>> >> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >> >> >>> >> > mmand-line-convert-command/
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>>
>> >> >> >> >>
>> >> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> Some things to note:
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post, but a
>> few
>> >> >> >> things
>> >> >> >> >> >> (like
>> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
>> >> posts/emails.
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without brackets
>> to
>> >> >> >> indicate
>> >> >> >> >> it
>> >> >> >> >> >> is
>> >> >> >> >> >> >>> >> > >> required and not optional because it appears to
>> be
>> >> >> always
>> >> >> >> >> >> >>> necessary.
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
>> >> >> structure,
>> >> >> >> it
>> >> >> >> >> >> seemed
>> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
>> directory)
>> >> >> should
>> >> >> >> >> come
>> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
>> >> assumed.
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as having
>> a
>> >> >> single
>> >> >> >> >> dash,
>> >> >> >> >> >> but
>> >> >> >> >> >> >>> >> > >> all the other output types have double-dashes.
>> >> Should
>> >> >> I
>> >> >> >> >> change
>> >> >> >> >> >> the
>> >> >> >> >> >> >>> >> > >> json output argument to --json?
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect and
>> I
>> >> will
>> >> >> >> >> change
>> >> >> >> >> >> it.
>> >> >> >> >> >> >>> I
>> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and I'm
>> >> happy
>> >> >> to
>> >> >> >> >> make
>> >> >> >> >> >> any
>> >> >> >> >> >> >>> >> > >> changes as things evolve.
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
>> >> showing
>> >> >> the
>> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even when I
>> >> use
>> >> >> the
>> >> >> >> >> >> monospace
>> >> >> >> >> >> >>> >> > >> font-family. Any
>> >> >> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> Thanks,
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> Gale
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
>> Madushanka
>> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>> >> >> >> >> >> >>> >> > >> > Hi Gale,
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> > Thank you very much.
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> > . Can you help me
>> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
>> files
>> >> >> will
>> >> >> >> get
>> >> >> >> >> >> saved
>> >> >> >> >> >> >>> >> > >> >> to the C directory?
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
>> That
>> >> >> >> should be
>> >> >> >> >> >> >>> >> > >> > corrected
>> >> >> >> >> >> >>> >> > as
>> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>> >> >> >> /home/usrname/toConvert/ –>
>> >> >> >> >> >> >>> >> > >> > *Convert
>> >> >> >> >> >> >>> >> > the
>> >> >> >> >> >> >>> >> > >> > files and save them in the
>> …/toConvert/converted/
>> >> >> >> >> directory.
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
>> modifications
>> >> >> etc. So
>> >> >> >> >> with
>> >> >> >> >> >> the
>> >> >> >> >> >> >>> >> > >> > help
>> >> >> >> >> >> >>> >> > of
>> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
>> better
>> >> >> >> >> structure.
>> >> >> >> >> >> >>> >> > >> > Cheers
>> >> >> >> >> >> >>> >> > >> > Menaka
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>> >> >> >> >> >> >>> >> > >> wrote:
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand the
>> >> >> command
>> >> >> >> >> >> structure
>> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
>> the
>> >> blog
>> >> >> >> >> post; it
>> >> >> >> >> >> >>> was
>> >> >> >> >> >> >>> >> > >> >> very helpful.
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> I am a little confused about your recursive
>> >> >> example.
>> >> >> >> Can
>> >> >> >> >> you
>> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you say
>> >> the
>> >> >> >> files
>> >> >> >> >> will
>> >> >> >> >> >> >>> get
>> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
>> the
>> >> >> output
>> >> >> >> >> being
>> >> >> >> >> >> >>> saved
>> >> >> >> >> >> >>> >> > >> >> to:
>> >> >> >> >> >> >>> >> > >> >>
>> /home/usrname/toConvert/converted/somefile1.json
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> This is the example:
>> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>> >> >> >> /home/usrname/toConvert/ –>
>> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
>> >> directory.
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> Thank you!
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> Gale
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> B
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>> >> Madushanka
>> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
>> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you
>> >> very
>> >> >> >> much.
>> >> >> >> >> :-)
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the
>> >> >> command:
>> >> >> >> >> >> tavlang
>> >> >> >> >> >> >>> >> > convert
>> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input files>?
>> Am I
>> >> >> >> wrong in
>> >> >> >> >> >> >>> >> > >> >> >> thinking
>> >> >> >> >> >> >>> >> > that
>> >> >> >> >> >> >>> >> > >> the
>> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>> >> >> structure of
>> >> >> >> >> >> commands
>> >> >> >> >> >> >>> >> > >> >> > now
>> >> >> >> >> >> >>> >> > and
>> >> >> >> >> >> >>> >> > >> >> then.
>> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure is
>> >> like
>> >> >> >> this.
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
>> [options]
>> >> >> >> >> [arguments]
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently?
>> If
>> >> so,
>> >> >> >> under
>> >> >> >> >> >> what
>> >> >> >> >> >> >>> >> > >> >> circumstances?
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be a
>> >> >> directory
>> >> >> >> >> >> >>> containing
>> >> >> >> >> >> >>> >> > >> .t2flow of
>> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional
>> >> for
>> >> >> both
>> >> >> >> >> >> >>> recursive
>> >> >> >> >> >> >>> >> > >> >> > and
>> >> >> >> >> >> >>> >> > non
>> >> >> >> >> >> >>> >> > >> >> > recursive cases.
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
>> command.
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>>
>> >> >> >> >>
>> >> >>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
>> inform.
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > Regards
>> >> >> >> >> >> >>> >> > >> >> > Menaka
>> >> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >> >>> >> > >> >> > --
>> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>> >> >> http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >>> University
>> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
>> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >> >>> >> > >> > --
>> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
>> >> http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> University
>> >> >> >> >> >> >>> of
>> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
>> >> >> >> >> >> >>> >> > >> > LinkedIn <
>> >> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >>> >> > >>
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > >
>> >> >> >> >> >> >>> >> > > --
>> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
>> http://www.pdn.ac.lk/eng>
>> >> >> >> >> University
>> >> >> >> >> >> of
>> >> >> >> >> >> >>> >> > > Peradeniyaya.
>> >> >> >> >> >> >>> >> > > LinkedIn <
>> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >>> >> >
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >> --
>> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
>> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> University of
>> >> >> >> >> >> >>> >> Peradeniyaya.
>> >> >> >> >> >> >>> >> LinkedIn <
>> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >>> >>
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> >
>> >> >> >> >> >> >>> > --
>> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >>> > University of Peradeniyaya.
>> >> >> >> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena
>> >
>> >> >> >> >> >> >>>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >> --
>> >> >> >> >> >> >> Menaka Madushanka Jayawardena
>> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> >> University of Peradeniyaya.
>> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >> >>
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > --
>> >> >> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> > University of Peradeniyaya.
>> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > --
>> >> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> > University of Peradeniyaya.
>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> > University of Peradeniyaya.
>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Menaka Madushanka Jayawardena
>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> > University of Peradeniyaya.
>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Thank you very much Gale.
I did the modifications. :-)
Actually, unless you give me this feedback, it would mislead the readers.
I'm very grateful for correcting me. :-)
I just wrote the documentation for statistics.
https://menakamadushanka.wordpress.com/2015/06/30/apache-taverna-language-command-line-tool-workflow-statistics/
Cheers
Menaka
On 30 June 2015 at 20:53, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> I'm so glad I could help. You've done a nice job on your blog posts.
> If you don't mind, I can suggest some slight wording changes that I
> believe will make your meanings more clear. For example:
>
> Apache Taverna Language Command Line Tool – Supported functions and file
> types
> Paragraph 1
> -- Capitalize Taverna and Language: "The Apache Taverna
> Language is still …"
> -- Use "Currently" instead of "By now": "Currently the tool
> supports…"
> Paragraph 2
> -- Add "The" to the beginning of the sentence: "The
> following file types are supported..."
> -- I noticed you use .scufl2 in this blogpost, but .t2flow
> in the next blogpost.
>
> Please let me know if this kind of feedback would be helpful.
>
> Thanks,
>
> Gale
>
> On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Yes Gale,
> > I'm thinking on taking them as a reference. For the best, I have some
> much
> > better doc from you. :-) :-)
> >
> > Thank you very much.
> > Menaka
> >
> > On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> Sounds great! Do you plan to use your blog to prepare the documentation?
> >>
> >> Feel free to use anything I've prepared if it helps. And if I can do
> >> any more before I go on vacation, I will let you know.
> >>
> >> Thanks,
> >>
> >> Gale
> >>
> >> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> >
> >> > The tool is almost done I think. The functionalities,
> >> > conversion,
> >> > validation,
> >> > inspection and
> >> > statistics
> >> >
> >> > are done.
> >> >
> >> > So what remaining is, completing the documentation.
> >> > I'll be able to finish it before 10 July hopefully. :-)
> >> >
> >> >
> >> >
> >> > On 30 June 2015 at 19:43, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> Thank you. I appreciate your feedback, and I'd like to help however I
> >> can.
> >> >>
> >> >> When do you expect to finish your project and documentation?
> >> >>
> >> >> I'll be on vacation from July 1 through July 10, but I'll try to
> stay in
> >> >> touch.
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Gale
> >> >>
> >> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hello Gale,
> >> >> > Great work. :-)
> >> >> >
> >> >> > I did notice the mygrid pages said the information was out of date.
> >> >> >>
> >> >> > Yes. I also faced the same condition when I was starting the
> project.
> >> The
> >> >> > documentation will be updated very soon as the project releases.
> :-)
> >> >> >
> >> >> > I am to write the full complete documentation for the command line
> >> tool.
> >> >> > I'll appreciate your support for it. :-)
> >> >> >
> >> >> > Cheers.
> >> >> > Menaka
> >> >> >
> >> >> > On 29 June 2015 at 22:10, Gale Naylor <galen@noventussolutions.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Hi Menaka,
> >> >> >>
> >> >> >> >I found this doc in
> >> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >> >>
> >> >> >> Thanks for the link. I also found this mygrid link:
> >> >> >>
> >> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> >> >> ,
> >> >> >> which is very clear about the .wfbundle file extension.
> >> >> >>
> >> >> >> I did notice the mygrid pages said the information was out of
> date.
> >> >> >> So, I also looked at the taverna incubator documentation, and the
> >> >> >> incubator SCUFL API page pointed me to a github page for the
> latest
> >> >> >> information. I found the github SCUFL examples to be helpful:
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> >> >> >> .
> >> >> >> In the readme file, the t2flowtowfbundle tool describes the
> >> conversion
> >> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
> >> >> >>
> >> >> >> Although I did find one example of a ".scufl2 bundle"
> >> >> >> (
> >> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> >> >> >> ), most of the references indicate the correct file extension is
> >> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
> >> table.
> >> >> >> Please let me know if I missed something here.
> >> >> >>
> >> >> >> I also updated the table to reflect the .wfbundle --> .json and
> >> >> >> .wfbundle --> .iwir mappings.
> >> >> >>
> >> >> >> Thanks!
> >> >> >>
> >> >> >> Gale
> >> >> >>
> >> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> >> >> >> <me...@gmail.com> wrote:
> >> >> >> > Hi Gale,
> >> >> >> >
> >> >> >> > So, .wfbundles can be converted to .json and .iwir formats as
> well
> >> as
> >> >> >> >> .structure?
> >> >> >> >
> >> >> >> >
> >> >> >> > Yes.
> >> >> >> >
> >> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> >> >> (taverna-sculf2-wfbundle)
> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >> >> (taverna-scufl2-api)?
> >> >> >> >
> >> >> >> >
> >> >> >> > I found this doc in
> >> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >> >> >
> >> >> >> > Cheers
> >> >> >> > Menaka
> >> >> >> >
> >> >> >> > On 27 June 2015 at 22:46, Gale Naylor <
> galen@noventussolutions.com
> >> >
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >> Hi Menaka,
> >> >> >> >>
> >> >> >> >> > According to the documentations provided, SCUFL is an
> >> experimental
> >> >> >> >> module.
> >> >> >> >> > So It has not added to the tool yet.
> >> >> >> >>
> >> >> >> >> Okay, I see now. That makes sense. FYI, because I am a visual
> >> person,
> >> >> >> >> I took the Taverna
> >> >> >> >> Language Module information and created a diagram:
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >> >> >> >>
> >> >> >> >> > The taverna language is capable of converting .t2flow
> workflows
> >> >> into
> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
> except
> >> >> >> .t2flow.
> >> >> >> >>
> >> >> >> >> So, .wfbundles can be converted to .json and .iwir formats as
> >> well as
> >> >> >> >> .structure?
> >> >> >> >> If so, I will update my table.
> >> >> >> >>
> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
> format
> >> of
> >> >> >> >> Taverna
> >> >> >> >> > 3)
> >> >> >> >>
> >> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> >> >> (taverna-sculf2-wfbundle)
> >> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >> >> (taverna-scufl2-api)?
> >> >> >> >>
> >> >> >> >> > Input file type detection was done to avoid any exceptions
> when
> >> >> >> reading
> >> >> >> >> the
> >> >> >> >> > wokflow file. ...
> >> >> >> >> > In new_features2, I removed it because I have entered the
> wrong
> >> >> >> logic. I
> >> >> >> >> > restored it.
> >> >> >> >>
> >> >> >> >> Okay, understood.
> >> >> >> >>
> >> >> >> >> Thank you!
> >> >> >> >>
> >> >> >> >> Gale
> >> >> >> >>
> >> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >> >> >> >> <me...@gmail.com> wrote:
> >> >> >> >> > Hi Gale,
> >> >> >> >> > According to the documentations provided, SCUFL is an
> >> experimental
> >> >> >> >> module.
> >> >> >> >> > So It has not added to the tool yet.
> >> >> >> >> >
> >> >> >> >> > I presumed that.scufl2 workflows could be converted to the
> same
> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
> let me
> >> >> know
> >> >> >> >> >> and I'll fix it.
> >> >> >> >> >
> >> >> >> >> > The taverna language is capable of converting .t2flow
> workflows
> >> >> into
> >> >> >> >> > .wfbundle and other formats, and .wfbundles into formats
> except
> >> >> >> .t2flow.
> >> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the
> format
> >> of
> >> >> >> >> Taverna
> >> >> >> >> > 3)
> >> >> >> >> >
> >> >> >> >> > Also, I was wondering about something you said in one of your
> >> June
> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
> request:
> >> New
> >> >> >> >> >> features2).
> >> >> >> >> >> You said "File type detection removed."
> >> >> >> >> >>
> >> >> >> >> >> Which file type detection is this? Is this related to
> Stain's
> >> June
> >> >> >> 4th
> >> >> >> >> >> email, in which he said the input format is auto-guessed by
> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
> included
> >> >> this
> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > Input file type detection was done to avoid any exceptions
> when
> >> >> >> reading
> >> >> >> >> the
> >> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media type
> and
> >> >> read
> >> >> >> the
> >> >> >> >> > bundle but, the input format could be wrongly entered by the
> >> user.
> >> >> We
> >> >> >> >> can't
> >> >> >> >> > promise that the user could always do the correct thing.
> Also in
> >> >> >> >> recursive
> >> >> >> >> > conversion, there could be other files also.
> >> >> >> >> >
> >> >> >> >> > In new_features2, I removed it because I have entered the
> wrong
> >> >> >> logic. I
> >> >> >> >> > restored it.
> >> >> >> >> >
> >> >> >> >> > Thank you
> >> >> >> >> > Menaka
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
> >> galen@noventussolutions.com
> >> >> >
> >> >> >> >> wrote:
> >> >> >> >> >
> >> >> >> >> >> Hi Menaka,
> >> >> >> >> >>
> >> >> >> >> >> A couple more things.
> >> >> >> >> >>
> >> >> >> >> >> I am trying to organize my understanding of how the
> conversions
> >> >> work,
> >> >> >> >> >> so I wrote a new blog post with a conversion table:
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >> >> >> >> >>
> >> >> >> >> >> I presumed that.scufl2 workflows could be converted to the
> same
> >> >> >> >> >> formats as .t2flow workflows, but if that's not correct,
> let me
> >> >> know
> >> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be
> >> listed?
> >> >> >> The
> >> >> >> >> >> table is my best guess from reading all of the emails, so
> >> please
> >> >> let
> >> >> >> >> >> me know if anything is wrong, or if I missed something.
> >> >> >> >> >>
> >> >> >> >> >> Also, I was wondering about something you said in one of
> your
> >> June
> >> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull
> request:
> >> New
> >> >> >> >> >> features2).
> >> >> >> >> >> You said "File type detection removed."
> >> >> >> >> >>
> >> >> >> >> >> Which file type detection is this? Is this related to
> Stain's
> >> June
> >> >> >> 4th
> >> >> >> >> >> email, in which he said the input format is auto-guessed by
> >> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I
> included
> >> >> this
> >> >> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >> >> >>
> >> >> >> >> >> Thanks!
> >> >> >> >> >>
> >> >> >> >> >> Gale
> >> >> >> >> >>
> >> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >> >> >> >> >> <me...@gmail.com> wrote:
> >> >> >> >> >> > Have a nice weekend too.....!!! :-)
> >> >> >> >> >> >
> >> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> >> >> menaka12350@gmail.com
> >> >> >> >
> >> >> >> >> >> wrote:
> >> >> >> >> >> >
> >> >> >> >> >> >> Hi Gale,
> >> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm very
> >> new
> >> >> and
> >> >> >> >> there
> >> >> >> >> >> >> could be some flows. Thank you very much for showing
> them.
> >> :-)
> >> >> >> >> >> >>
> >> >> >> >> >> >> 1) Yes, the types of bundle formats that can be converted
> >> are
> >> >> >> listed
> >> >> >> >> in
> >> >> >> >> >> >> this blog.
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> >> >> >> >> >> The bundles are not workflows.
> >> >> >> >> >> >>
> >> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
> >> >> >> misleading.....
> >> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are two
> >> >> different
> >> >> >> >> APIs.
> >> >> >> >> >> >> I'll update the blog. :-)
> >> >> >> >> >> >>
> >> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
> >> >> >> converted
> >> >> >> >> into
> >> >> >> >> >> >> robundle.
> >> >> >> >> >> >>
> >> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other
> wise
> >> it
> >> >> >> looks
> >> >> >> >> like
> >> >> >> >> >> >> any format could be converted into Robundle. I'll update
> my
> >> >> blog
> >> >> >> too.
> >> >> >> >> >> >>
> >> >> >> >> >> >> Are there any more facts that need clarification about
> the
> >> >> blogs
> >> >> >> >> please
> >> >> >> >> >> >> ask me. :)
> >> >> >> >> >> >>
> >> >> >> >> >> >> Thank you very much Gale.
> >> >> >> >> >> >> Menaka
> >> >> >> >> >> >>
> >> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >> wrote:
> >> >> >> >> >> >>
> >> >> >> >> >> >>> Hi Menaka,
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> I've been reading and learning more about research
> objects,
> >> >> and I
> >> >> >> >> >> >>> think I understand better what is going on, but I still
> >> have
> >> >> some
> >> >> >> >> >> >>> questions.
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> 1) I am curious as to which file types *can* be
> converted
> >> to
> >> >> >> >> .robundle
> >> >> >> >> >> >>> format? (I must have missed something because I thought
> >> >> .t2flow
> >> >> >> and
> >> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you say
> >> that
> >> >> the
> >> >> >> >> >> >>> command line tool is for converting and managing
> workflow
> >> >> >> "bundles"
> >> >> >> >> as
> >> >> >> >> >> >>> well as research object bundles. Are t2flow files
> "workflow
> >> >> >> bundles"
> >> >> >> >> >> >>> or just "workflows?" Or is there not a practical
> >> difference?
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> 3) I understand now that not all file format conversions
> >> are
> >> >> >> valid.
> >> >> >> >> >> >>> I'm trying to understand this better. In your June 18th
> >> blog
> >> >> post
> >> >> >> >> you
> >> >> >> >> >> >>> say:
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> "The conversion function supports converting .t2flow and
> >> >> >> .wfbundle
> >> >> >> >> >> >>> formats into following formats:
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> .structure
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> .json
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> .iwir
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> .wfbundle
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> .robundle –> (development in progress)"
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> To me, reading this looks like all combinations are
> valid.
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be
> >> >> converted
> >> >> >> to
> >> >> >> >> >> >>> all file types *except* robundle?
> >> >> >> >> >> >>>
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I also
> >> change
> >> >> >> the
> >> >> >> >> >> >>> --robundle option description to say "Output bundle as
> >> >> .robundle"
> >> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
> >> >> .wfbundle
> >> >> >> >> >> >>> option.)
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> Thanks for the feedback and the correct link to the
> >> example!
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> Have a nice weekend.
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> Gale
> >> >> >> >> >> >>>
> >> >> >> >> >> >>>
> >> >> >> >> >> >>>
> >> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >> >> >> >> >>> <me...@gmail.com> wrote:
> >> >> >> >> >> >>> > Hi Gale,
> >> >> >> >> >> >>> > Use this link
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > Cheers
> >> >> >> >> >> >>> > Menaka
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >> >>> wrote:
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> >> Hi Menaka,
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> Thank you for the feedback and clarifying
> information.
> >> >> Sorry
> >> >> >> not
> >> >> >> >> to
> >> >> >> >> >> >>> respond
> >> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and reading
> >> the
> >> >> link
> >> >> >> >> you
> >> >> >> >> >> >>> sent.
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> One thing, I'm having trouble getting to the example
> in
> >> the
> >> >> >> >> Examples
> >> >> >> >> >> >>> of Use
> >> >> >> >> >> >>> >> Section: "Example in full is at
> >> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not the
> web
> >> >> page
> >> >> >> you
> >> >> >> >> are
> >> >> >> >> >> >>> >> looking
> >> >> >> >> >> >>> >> for" page. (This is the actual link address:
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> >> >> >> >>> >> )
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample"
> >> also
> >> >> >> doesn't
> >> >> >> >> >> work
> >> >> >> >> >> >>> for
> >> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on the
> >> main
> >> >> >> >> >> Apache.com
> >> >> >> >> >> >>> page
> >> >> >> >> >> >>> >> yields no results.
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> I will continue to read and understand the RO Bundle
> API
> >> >> page,
> >> >> >> >> but I
> >> >> >> >> >> >>> would
> >> >> >> >> >> >>> >> like to see the full Test Example, if possible.
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> Thanks!
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> Gale
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> -----Original Message-----
> >> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:
> menaka12350@gmail.com]
> >> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
> >> convert
> >> >> >> command
> >> >> >> >> >> doc
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> That's cool.....!! :-)
> >> >> >> >> >> >>> >> Correction:
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input
> files, no
> >> >> >> options
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >> >> >> >> >> /someFile2.wfbundle
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
> >> */someFile2.wfbundle*
> >> >> >> into
> >> >> >> >> >> >>> >> > *.robundle* format and saves the output files to
> the
> >> >> >> >> */converted*
> >> >> >> >> >> >>> >> > folder in the current working directory.
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow
> >> into
> >> >> >> >> robundle
> >> >> >> >> >> >>> format.
> >> >> >> >> >> >>> >> Its only for some specific bundle formats. Go through
> >> this
> >> >> doc
> >> >> >> >> for
> >> >> >> >> >> more
> >> >> >> >> >> >>> >> info.
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> cheers.
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >> >>> wrote:
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
> >> changed
> >> >> the
> >> >> >> two
> >> >> >> >> >> blog
> >> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I
> also
> >> >> made
> >> >> >> a
> >> >> >> >> few
> >> >> >> >> >> >>> >> > refinements.
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>> >> > Thanks,
> >> >> >> >> >> >>> >> > Gale
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
> >> >> >> >> >> >>> >> > > Thank you very much Gale,
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > I showed the output-format without brackets to
> >> indicate
> >> >> >> it is
> >> >> >> >> >> >>> >> > >> required and not optional because it appears to
> be
> >> >> always
> >> >> >> >> >> >>> necessary
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very new
> >> for
> >> >> >> >> >> >>> documentation.
> >> >> >> >> >> >>> >> > Thank
> >> >> >> >> >> >>> >> > > you very much.
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > I left the -json output file type as having a
> >> single
> >> >> >> dash,
> >> >> >> >> but
> >> >> >> >> >> all
> >> >> >> >> >> >>> >> > >> the other output types have double-dashes.
> Should I
> >> >> >> change
> >> >> >> >> the
> >> >> >> >> >> >>> json
> >> >> >> >> >> >>> >> > >> output argument to --json?
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
> >> >> mistake. So
> >> >> >> >> you
> >> >> >> >> >> can
> >> >> >> >> >> >>> >> > > use
> >> >> >> >> >> >>> >> > --.
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is
> showing
> >> >> the
> >> >> >> >> >> >>> >> > > double-dashes
> >> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
> >> monospace
> >> >> >> >> >> font-family.
> >> >> >> >> >> >>> >> > >> Any
> >> >> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us.
> :-)
> >> Use
> >> >> >> >> >> >>> preformatted.
> >> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my
> >> blog.
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>>
> >> >> >> >>
> >> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > Thank you very much.
> >> >> >> >> >> >>> >> > > Menaka
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > I'll go through your documentations.
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> >> >> >> >> galen@noventussolutions.com
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> >> > wrote:
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > >> Hi Menaka,
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
> >> additional
> >> >> >> >> feedback
> >> >> >> >> >> in
> >> >> >> >> >> >>> >> > >> the form of two blog posts. One has a detailed
> >> >> >> description
> >> >> >> >> (as
> >> >> >> >> >> I
> >> >> >> >> >> >>> >> > >> understand it) of the convert command and one
> has
> >> >> several
> >> >> >> >> >> >>> examples,
> >> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope
> these
> >> >> will
> >> >> >> >> help
> >> >> >> >> >> the
> >> >> >> >> >> >>> >> > >> discussion of the command structure. Here are
> the
> >> >> links:
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>>
> >> >> >> >>
> >> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >> >> >>> >> > mmand-line-convert-command/
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>>
> >> >> >> >>
> >> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >> >> >>> >> > mmand-line-convert-examples/
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> Some things to note:
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post, but a
> few
> >> >> >> things
> >> >> >> >> >> (like
> >> >> >> >> >> >>> >> > >> the validate command) are from earlier
> >> posts/emails.
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> (2) I showed the output-format without brackets
> to
> >> >> >> indicate
> >> >> >> >> it
> >> >> >> >> >> is
> >> >> >> >> >> >>> >> > >> required and not optional because it appears to
> be
> >> >> always
> >> >> >> >> >> >>> necessary.
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
> >> >> structure,
> >> >> >> it
> >> >> >> >> >> seemed
> >> >> >> >> >> >>> >> > >> that all options (e.g., the output file
> directory)
> >> >> should
> >> >> >> >> come
> >> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
> >> assumed.
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> (4) I left the -json output file type as having
> a
> >> >> single
> >> >> >> >> dash,
> >> >> >> >> >> but
> >> >> >> >> >> >>> >> > >> all the other output types have double-dashes.
> >> Should
> >> >> I
> >> >> >> >> change
> >> >> >> >> >> the
> >> >> >> >> >> >>> >> > >> json output argument to --json?
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect and
> I
> >> will
> >> >> >> >> change
> >> >> >> >> >> it.
> >> >> >> >> >> >>> I
> >> >> >> >> >> >>> >> > >> realize the command structure is fluid, and I'm
> >> happy
> >> >> to
> >> >> >> >> make
> >> >> >> >> >> any
> >> >> >> >> >> >>> >> > >> changes as things evolve.
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
> >> showing
> >> >> the
> >> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even when I
> >> use
> >> >> the
> >> >> >> >> >> monospace
> >> >> >> >> >> >>> >> > >> font-family. Any
> >> >> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> Thanks,
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> Gale
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka
> Madushanka
> >> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >> >> >> >> >> >>> >> > >> > Hi Gale,
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> > Thank you very much.
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> > . Can you help me
> >> >> >> >> >> >>> >> > >> >> understand what you mean when you say the
> files
> >> >> will
> >> >> >> get
> >> >> >> >> >> saved
> >> >> >> >> >> >>> >> > >> >> to the C directory?
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog.
> That
> >> >> >> should be
> >> >> >> >> >> >>> >> > >> > corrected
> >> >> >> >> >> >>> >> > as
> >> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> >> >> >> /home/usrname/toConvert/ –>
> >> >> >> >> >> >>> >> > >> > *Convert
> >> >> >> >> >> >>> >> > the
> >> >> >> >> >> >>> >> > >> > files and save them in the
> …/toConvert/converted/
> >> >> >> >> directory.
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> > I would appreciate more feedback,
> modifications
> >> >> etc. So
> >> >> >> >> with
> >> >> >> >> >> the
> >> >> >> >> >> >>> >> > >> > help
> >> >> >> >> >> >>> >> > of
> >> >> >> >> >> >>> >> > >> > the community we could come up with a much
> better
> >> >> >> >> structure.
> >> >> >> >> >> >>> >> > >> > Cheers
> >> >> >> >> >> >>> >> > >> > Menaka
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >> >> >> >> >> >>> >> > >> wrote:
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> >> Hi Menaka,
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand the
> >> >> command
> >> >> >> >> >> structure
> >> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for
> the
> >> blog
> >> >> >> >> post; it
> >> >> >> >> >> >>> was
> >> >> >> >> >> >>> >> > >> >> very helpful.
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> I am a little confused about your recursive
> >> >> example.
> >> >> >> Can
> >> >> >> >> you
> >> >> >> >> >> >>> >> > >> >> help me understand what you mean when you say
> >> the
> >> >> >> files
> >> >> >> >> will
> >> >> >> >> >> >>> get
> >> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show
> the
> >> >> output
> >> >> >> >> being
> >> >> >> >> >> >>> saved
> >> >> >> >> >> >>> >> > >> >> to:
> >> >> >> >> >> >>> >> > >> >>
> /home/usrname/toConvert/converted/somefile1.json
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> This is the example:
> >> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> >> >> >> /home/usrname/toConvert/ –>
> >> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
> >> directory.
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> Thank you!
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> Gale
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> B
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
> >> Madushanka
> >> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >> >> >> >> >> >>> >> > >> >> > Hi Gale,
> >> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you
> >> very
> >> >> >> much.
> >> >> >> >> :-)
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the
> >> >> command:
> >> >> >> >> >> tavlang
> >> >> >> >> >> >>> >> > convert
> >> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input files>?
> Am I
> >> >> >> wrong in
> >> >> >> >> >> >>> >> > >> >> >> thinking
> >> >> >> >> >> >>> >> > that
> >> >> >> >> >> >>> >> > >> the
> >> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
> >> >> structure of
> >> >> >> >> >> commands
> >> >> >> >> >> >>> >> > >> >> > now
> >> >> >> >> >> >>> >> > and
> >> >> >> >> >> >>> >> > >> >> then.
> >> >> >> >> >> >>> >> > >> >> > So for the moment the command structure is
> >> like
> >> >> >> this.
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format]
> [options]
> >> >> >> >> [arguments]
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently?
> If
> >> so,
> >> >> >> under
> >> >> >> >> >> what
> >> >> >> >> >> >>> >> > >> >> circumstances?
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be a
> >> >> directory
> >> >> >> >> >> >>> containing
> >> >> >> >> >> >>> >> > >> .t2flow of
> >> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional
> >> for
> >> >> both
> >> >> >> >> >> >>> recursive
> >> >> >> >> >> >>> >> > >> >> > and
> >> >> >> >> >> >>> >> > non
> >> >> >> >> >> >>> >> > >> >> > recursive cases.
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion
> command.
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>>
> >> >> >> >>
> >> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please
> inform.
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > Thank you very much!
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > Regards
> >> >> >> >> >> >>> >> > >> >> > Menaka
> >> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >> >>> >> > >> >> > --
> >> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> >> >> http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >>> University
> >> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> >> >> >> >> >> >>> >> > >> >> > LinkedIn <
> >> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> >
> >> >> >> >> >> >>> >> > >> > --
> >> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
> >> http://www.pdn.ac.lk/eng>
> >> >> >> >> >> University
> >> >> >> >> >> >>> of
> >> >> >> >> >> >>> >> > >> > Peradeniyaya.
> >> >> >> >> >> >>> >> > >> > LinkedIn <
> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >>> >> > >>
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > >
> >> >> >> >> >> >>> >> > > --
> >> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >> >> >> >> >> >>> >> > > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >> >> >> >> University
> >> >> >> >> >> of
> >> >> >> >> >> >>> >> > > Peradeniyaya.
> >> >> >> >> >> >>> >> > > LinkedIn <
> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >>> >> >
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >> --
> >> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
> >> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> University of
> >> >> >> >> >> >>> >> Peradeniyaya.
> >> >> >> >> >> >>> >> LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >>> >>
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> >
> >> >> >> >> >> >>> > --
> >> >> >> >> >> >>> > Menaka Madushanka Jayawardena
> >> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >>> > University of Peradeniyaya.
> >> >> >> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena
> >
> >> >> >> >> >> >>>
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >> --
> >> >> >> >> >> >> Menaka Madushanka Jayawardena
> >> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> >> University of Peradeniyaya.
> >> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > --
> >> >> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> > University of Peradeniyaya.
> >> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > --
> >> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> > University of Peradeniyaya.
> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> > University of Peradeniyaya.
> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
I'm so glad I could help. You've done a nice job on your blog posts.
If you don't mind, I can suggest some slight wording changes that I
believe will make your meanings more clear. For example:
Apache Taverna Language Command Line Tool – Supported functions and file types
Paragraph 1
-- Capitalize Taverna and Language: "The Apache Taverna
Language is still …"
-- Use "Currently" instead of "By now": "Currently the tool
supports…"
Paragraph 2
-- Add "The" to the beginning of the sentence: "The
following file types are supported..."
-- I noticed you use .scufl2 in this blogpost, but .t2flow
in the next blogpost.
Please let me know if this kind of feedback would be helpful.
Thanks,
Gale
On Tue, Jun 30, 2015 at 7:43 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Yes Gale,
> I'm thinking on taking them as a reference. For the best, I have some much
> better doc from you. :-) :-)
>
> Thank you very much.
> Menaka
>
> On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> Sounds great! Do you plan to use your blog to prepare the documentation?
>>
>> Feel free to use anything I've prepared if it helps. And if I can do
>> any more before I go on vacation, I will let you know.
>>
>> Thanks,
>>
>> Gale
>>
>> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> >
>> > The tool is almost done I think. The functionalities,
>> > conversion,
>> > validation,
>> > inspection and
>> > statistics
>> >
>> > are done.
>> >
>> > So what remaining is, completing the documentation.
>> > I'll be able to finish it before 10 July hopefully. :-)
>> >
>> >
>> >
>> > On 30 June 2015 at 19:43, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> Thank you. I appreciate your feedback, and I'd like to help however I
>> can.
>> >>
>> >> When do you expect to finish your project and documentation?
>> >>
>> >> I'll be on vacation from July 1 through July 10, but I'll try to stay in
>> >> touch.
>> >>
>> >> Thanks,
>> >>
>> >> Gale
>> >>
>> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Hello Gale,
>> >> > Great work. :-)
>> >> >
>> >> > I did notice the mygrid pages said the information was out of date.
>> >> >>
>> >> > Yes. I also faced the same condition when I was starting the project.
>> The
>> >> > documentation will be updated very soon as the project releases. :-)
>> >> >
>> >> > I am to write the full complete documentation for the command line
>> tool.
>> >> > I'll appreciate your support for it. :-)
>> >> >
>> >> > Cheers.
>> >> > Menaka
>> >> >
>> >> > On 29 June 2015 at 22:10, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >
>> >> >> Hi Menaka,
>> >> >>
>> >> >> >I found this doc in
>> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >>
>> >> >> Thanks for the link. I also found this mygrid link:
>> >> >>
>> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>> >> ,
>> >> >> which is very clear about the .wfbundle file extension.
>> >> >>
>> >> >> I did notice the mygrid pages said the information was out of date.
>> >> >> So, I also looked at the taverna incubator documentation, and the
>> >> >> incubator SCUFL API page pointed me to a github page for the latest
>> >> >> information. I found the github SCUFL examples to be helpful:
>> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>> >> >> .
>> >> >> In the readme file, the t2flowtowfbundle tool describes the
>> conversion
>> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
>> >> >>
>> >> >> Although I did find one example of a ".scufl2 bundle"
>> >> >> (
>> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>> >> >> ), most of the references indicate the correct file extension is
>> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
>> table.
>> >> >> Please let me know if I missed something here.
>> >> >>
>> >> >> I also updated the table to reflect the .wfbundle --> .json and
>> >> >> .wfbundle --> .iwir mappings.
>> >> >>
>> >> >> Thanks!
>> >> >>
>> >> >> Gale
>> >> >>
>> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>> >> >> <me...@gmail.com> wrote:
>> >> >> > Hi Gale,
>> >> >> >
>> >> >> > So, .wfbundles can be converted to .json and .iwir formats as well
>> as
>> >> >> >> .structure?
>> >> >> >
>> >> >> >
>> >> >> > Yes.
>> >> >> >
>> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> >> (taverna-sculf2-wfbundle)
>> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>> >> (taverna-scufl2-api)?
>> >> >> >
>> >> >> >
>> >> >> > I found this doc in
>> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >> >
>> >> >> > Cheers
>> >> >> > Menaka
>> >> >> >
>> >> >> > On 27 June 2015 at 22:46, Gale Naylor <galen@noventussolutions.com
>> >
>> >> >> wrote:
>> >> >> >
>> >> >> >> Hi Menaka,
>> >> >> >>
>> >> >> >> > According to the documentations provided, SCUFL is an
>> experimental
>> >> >> >> module.
>> >> >> >> > So It has not added to the tool yet.
>> >> >> >>
>> >> >> >> Okay, I see now. That makes sense. FYI, because I am a visual
>> person,
>> >> >> >> I took the Taverna
>> >> >> >> Language Module information and created a diagram:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>> >> >> >>
>> >> >> >> > The taverna language is capable of converting .t2flow workflows
>> >> into
>> >> >> >> > .wfbundle and other formats, and .wfbundles into formats except
>> >> >> .t2flow.
>> >> >> >>
>> >> >> >> So, .wfbundles can be converted to .json and .iwir formats as
>> well as
>> >> >> >> .structure?
>> >> >> >> If so, I will update my table.
>> >> >> >>
>> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format
>> of
>> >> >> >> Taverna
>> >> >> >> > 3)
>> >> >> >>
>> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> >> (taverna-sculf2-wfbundle)
>> >> >> >> and scufl2 is the *workflow* format of Taverna 3
>> >> (taverna-scufl2-api)?
>> >> >> >>
>> >> >> >> > Input file type detection was done to avoid any exceptions when
>> >> >> reading
>> >> >> >> the
>> >> >> >> > wokflow file. ...
>> >> >> >> > In new_features2, I removed it because I have entered the wrong
>> >> >> logic. I
>> >> >> >> > restored it.
>> >> >> >>
>> >> >> >> Okay, understood.
>> >> >> >>
>> >> >> >> Thank you!
>> >> >> >>
>> >> >> >> Gale
>> >> >> >>
>> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> > Hi Gale,
>> >> >> >> > According to the documentations provided, SCUFL is an
>> experimental
>> >> >> >> module.
>> >> >> >> > So It has not added to the tool yet.
>> >> >> >> >
>> >> >> >> > I presumed that.scufl2 workflows could be converted to the same
>> >> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
>> >> know
>> >> >> >> >> and I'll fix it.
>> >> >> >> >
>> >> >> >> > The taverna language is capable of converting .t2flow workflows
>> >> into
>> >> >> >> > .wfbundle and other formats, and .wfbundles into formats except
>> >> >> .t2flow.
>> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format
>> of
>> >> >> >> Taverna
>> >> >> >> > 3)
>> >> >> >> >
>> >> >> >> > Also, I was wondering about something you said in one of your
>> June
>> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request:
>> New
>> >> >> >> >> features2).
>> >> >> >> >> You said "File type detection removed."
>> >> >> >> >>
>> >> >> >> >> Which file type detection is this? Is this related to Stain's
>> June
>> >> >> 4th
>> >> >> >> >> email, in which he said the input format is auto-guessed by
>> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
>> >> this
>> >> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Input file type detection was done to avoid any exceptions when
>> >> >> reading
>> >> >> >> the
>> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media type and
>> >> read
>> >> >> the
>> >> >> >> > bundle but, the input format could be wrongly entered by the
>> user.
>> >> We
>> >> >> >> can't
>> >> >> >> > promise that the user could always do the correct thing. Also in
>> >> >> >> recursive
>> >> >> >> > conversion, there could be other files also.
>> >> >> >> >
>> >> >> >> > In new_features2, I removed it because I have entered the wrong
>> >> >> logic. I
>> >> >> >> > restored it.
>> >> >> >> >
>> >> >> >> > Thank you
>> >> >> >> > Menaka
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
>> galen@noventussolutions.com
>> >> >
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >> Hi Menaka,
>> >> >> >> >>
>> >> >> >> >> A couple more things.
>> >> >> >> >>
>> >> >> >> >> I am trying to organize my understanding of how the conversions
>> >> work,
>> >> >> >> >> so I wrote a new blog post with a conversion table:
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>> >> >> >> >>
>> >> >> >> >> I presumed that.scufl2 workflows could be converted to the same
>> >> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
>> >> know
>> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be
>> listed?
>> >> >> The
>> >> >> >> >> table is my best guess from reading all of the emails, so
>> please
>> >> let
>> >> >> >> >> me know if anything is wrong, or if I missed something.
>> >> >> >> >>
>> >> >> >> >> Also, I was wondering about something you said in one of your
>> June
>> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request:
>> New
>> >> >> >> >> features2).
>> >> >> >> >> You said "File type detection removed."
>> >> >> >> >>
>> >> >> >> >> Which file type detection is this? Is this related to Stain's
>> June
>> >> >> 4th
>> >> >> >> >> email, in which he said the input format is auto-guessed by
>> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
>> >> this
>> >> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >> >>
>> >> >> >> >> Thanks!
>> >> >> >> >>
>> >> >> >> >> Gale
>> >> >> >> >>
>> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> >> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> >> > Have a nice weekend too.....!!! :-)
>> >> >> >> >> >
>> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>> >> menaka12350@gmail.com
>> >> >> >
>> >> >> >> >> wrote:
>> >> >> >> >> >
>> >> >> >> >> >> Hi Gale,
>> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm very
>> new
>> >> and
>> >> >> >> there
>> >> >> >> >> >> could be some flows. Thank you very much for showing them.
>> :-)
>> >> >> >> >> >>
>> >> >> >> >> >> 1) Yes, the types of bundle formats that can be converted
>> are
>> >> >> listed
>> >> >> >> in
>> >> >> >> >> >> this blog.
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> >> >> >> >> The bundles are not workflows.
>> >> >> >> >> >>
>> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>> >> >> misleading.....
>> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are two
>> >> different
>> >> >> >> APIs.
>> >> >> >> >> >> I'll update the blog. :-)
>> >> >> >> >> >>
>> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>> >> >> converted
>> >> >> >> into
>> >> >> >> >> >> robundle.
>> >> >> >> >> >>
>> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other wise
>> it
>> >> >> looks
>> >> >> >> like
>> >> >> >> >> >> any format could be converted into Robundle. I'll update my
>> >> blog
>> >> >> too.
>> >> >> >> >> >>
>> >> >> >> >> >> Are there any more facts that need clarification about the
>> >> blogs
>> >> >> >> please
>> >> >> >> >> >> ask me. :)
>> >> >> >> >> >>
>> >> >> >> >> >> Thank you very much Gale.
>> >> >> >> >> >> Menaka
>> >> >> >> >> >>
>> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>> >> >> galen@noventussolutions.com>
>> >> >> >> >> wrote:
>> >> >> >> >> >>
>> >> >> >> >> >>> Hi Menaka,
>> >> >> >> >> >>>
>> >> >> >> >> >>> I've been reading and learning more about research objects,
>> >> and I
>> >> >> >> >> >>> think I understand better what is going on, but I still
>> have
>> >> some
>> >> >> >> >> >>> questions.
>> >> >> >> >> >>>
>> >> >> >> >> >>> 1) I am curious as to which file types *can* be converted
>> to
>> >> >> >> .robundle
>> >> >> >> >> >>> format? (I must have missed something because I thought
>> >> .t2flow
>> >> >> and
>> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
>> >> >> >> >> >>>
>> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you say
>> that
>> >> the
>> >> >> >> >> >>> command line tool is for converting and managing workflow
>> >> >> "bundles"
>> >> >> >> as
>> >> >> >> >> >>> well as research object bundles. Are t2flow files "workflow
>> >> >> bundles"
>> >> >> >> >> >>> or just "workflows?" Or is there not a practical
>> difference?
>> >> >> >> >> >>>
>> >> >> >> >> >>> 3) I understand now that not all file format conversions
>> are
>> >> >> valid.
>> >> >> >> >> >>> I'm trying to understand this better. In your June 18th
>> blog
>> >> post
>> >> >> >> you
>> >> >> >> >> >>> say:
>> >> >> >> >> >>>
>> >> >> >> >> >>> "The conversion function supports converting .t2flow and
>> >> >> .wfbundle
>> >> >> >> >> >>> formats into following formats:
>> >> >> >> >> >>>
>> >> >> >> >> >>> .structure
>> >> >> >> >> >>>
>> >> >> >> >> >>> .json
>> >> >> >> >> >>>
>> >> >> >> >> >>> .iwir
>> >> >> >> >> >>>
>> >> >> >> >> >>> .wfbundle
>> >> >> >> >> >>>
>> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>> >> >> >> >> >>>
>> >> >> >> >> >>> .robundle –> (development in progress)"
>> >> >> >> >> >>>
>> >> >> >> >> >>> To me, reading this looks like all combinations are valid.
>> >> >> >> >> >>>
>> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be
>> >> converted
>> >> >> to
>> >> >> >> >> >>> all file types *except* robundle?
>> >> >> >> >> >>>
>> >> >> >> >> >>>
>> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I also
>> change
>> >> >> the
>> >> >> >> >> >>> --robundle option description to say "Output bundle as
>> >> .robundle"
>> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>> >> .wfbundle
>> >> >> >> >> >>> option.)
>> >> >> >> >> >>>
>> >> >> >> >> >>> Thanks for the feedback and the correct link to the
>> example!
>> >> >> >> >> >>>
>> >> >> >> >> >>> Have a nice weekend.
>> >> >> >> >> >>>
>> >> >> >> >> >>> Gale
>> >> >> >> >> >>>
>> >> >> >> >> >>>
>> >> >> >> >> >>>
>> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> >> >> >> >>> <me...@gmail.com> wrote:
>> >> >> >> >> >>> > Hi Gale,
>> >> >> >> >> >>> > Use this link
>> >> >> >> >> >>> >
>> >> >> >> >> >>>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > Cheers
>> >> >> >> >> >>> > Menaka
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >>> wrote:
>> >> >> >> >> >>> >
>> >> >> >> >> >>> >> Hi Menaka,
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> Thank you for the feedback and clarifying information.
>> >> Sorry
>> >> >> not
>> >> >> >> to
>> >> >> >> >> >>> respond
>> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and reading
>> the
>> >> link
>> >> >> >> you
>> >> >> >> >> >>> sent.
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> One thing, I'm having trouble getting to the example in
>> the
>> >> >> >> Examples
>> >> >> >> >> >>> of Use
>> >> >> >> >> >>> >> Section: "Example in full is at
>> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not the web
>> >> page
>> >> >> you
>> >> >> >> are
>> >> >> >> >> >>> >> looking
>> >> >> >> >> >>> >> for" page. (This is the actual link address:
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >> >> >> >>> >> )
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample"
>> also
>> >> >> doesn't
>> >> >> >> >> work
>> >> >> >> >> >>> for
>> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on the
>> main
>> >> >> >> >> Apache.com
>> >> >> >> >> >>> page
>> >> >> >> >> >>> >> yields no results.
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> I will continue to read and understand the RO Bundle API
>> >> page,
>> >> >> >> but I
>> >> >> >> >> >>> would
>> >> >> >> >> >>> >> like to see the full Test Example, if possible.
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> Thanks!
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> Gale
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> -----Original Message-----
>> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
>> convert
>> >> >> command
>> >> >> >> >> doc
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> That's cool.....!! :-)
>> >> >> >> >> >>> >> Correction:
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input files, no
>> >> >> options
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> >> >> >> >> /someFile2.wfbundle
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
>> */someFile2.wfbundle*
>> >> >> into
>> >> >> >> >> >>> >> > *.robundle* format and saves the output files to the
>> >> >> >> */converted*
>> >> >> >> >> >>> >> > folder in the current working directory.
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow
>> into
>> >> >> >> robundle
>> >> >> >> >> >>> format.
>> >> >> >> >> >>> >> Its only for some specific bundle formats. Go through
>> this
>> >> doc
>> >> >> >> for
>> >> >> >> >> more
>> >> >> >> >> >>> >> info.
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> cheers.
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>> >> >> >> galen@noventussolutions.com>
>> >> >> >> >> >>> wrote:
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
>> changed
>> >> the
>> >> >> two
>> >> >> >> >> blog
>> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I also
>> >> made
>> >> >> a
>> >> >> >> few
>> >> >> >> >> >>> >> > refinements.
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>> >> > Thanks,
>> >> >> >> >> >>> >> > Gale
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
>> >> >> >> >> >>> >> > > Thank you very much Gale,
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > I showed the output-format without brackets to
>> indicate
>> >> >> it is
>> >> >> >> >> >>> >> > >> required and not optional because it appears to be
>> >> always
>> >> >> >> >> >>> necessary
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very new
>> for
>> >> >> >> >> >>> documentation.
>> >> >> >> >> >>> >> > Thank
>> >> >> >> >> >>> >> > > you very much.
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > I left the -json output file type as having a
>> single
>> >> >> dash,
>> >> >> >> but
>> >> >> >> >> all
>> >> >> >> >> >>> >> > >> the other output types have double-dashes. Should I
>> >> >> change
>> >> >> >> the
>> >> >> >> >> >>> json
>> >> >> >> >> >>> >> > >> output argument to --json?
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
>> >> mistake. So
>> >> >> >> you
>> >> >> >> >> can
>> >> >> >> >> >>> >> > > use
>> >> >> >> >> >>> >> > --.
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is showing
>> >> the
>> >> >> >> >> >>> >> > > double-dashes
>> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
>> monospace
>> >> >> >> >> font-family.
>> >> >> >> >> >>> >> > >> Any
>> >> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-)
>> Use
>> >> >> >> >> >>> preformatted.
>> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my
>> blog.
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>>
>> >> >> >>
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > Thank you very much.
>> >> >> >> >> >>> >> > > Menaka
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > I'll go through your documentations.
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> >> >> >> >> galen@noventussolutions.com
>> >> >> >> >> >>> >
>> >> >> >> >> >>> >> > wrote:
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > >> Hi Menaka,
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
>> additional
>> >> >> >> feedback
>> >> >> >> >> in
>> >> >> >> >> >>> >> > >> the form of two blog posts. One has a detailed
>> >> >> description
>> >> >> >> (as
>> >> >> >> >> I
>> >> >> >> >> >>> >> > >> understand it) of the convert command and one has
>> >> several
>> >> >> >> >> >>> examples,
>> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope these
>> >> will
>> >> >> >> help
>> >> >> >> >> the
>> >> >> >> >> >>> >> > >> discussion of the command structure. Here are the
>> >> links:
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>>
>> >> >> >>
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >> >>> >> > mmand-line-convert-command/
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>>
>> >> >> >>
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >> >>> >> > mmand-line-convert-examples/
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> Some things to note:
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post, but a few
>> >> >> things
>> >> >> >> >> (like
>> >> >> >> >> >>> >> > >> the validate command) are from earlier
>> posts/emails.
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> (2) I showed the output-format without brackets to
>> >> >> indicate
>> >> >> >> it
>> >> >> >> >> is
>> >> >> >> >> >>> >> > >> required and not optional because it appears to be
>> >> always
>> >> >> >> >> >>> necessary.
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
>> >> structure,
>> >> >> it
>> >> >> >> >> seemed
>> >> >> >> >> >>> >> > >> that all options (e.g., the output file directory)
>> >> should
>> >> >> >> come
>> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
>> assumed.
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> (4) I left the -json output file type as having a
>> >> single
>> >> >> >> dash,
>> >> >> >> >> but
>> >> >> >> >> >>> >> > >> all the other output types have double-dashes.
>> Should
>> >> I
>> >> >> >> change
>> >> >> >> >> the
>> >> >> >> >> >>> >> > >> json output argument to --json?
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect and I
>> will
>> >> >> >> change
>> >> >> >> >> it.
>> >> >> >> >> >>> I
>> >> >> >> >> >>> >> > >> realize the command structure is fluid, and I'm
>> happy
>> >> to
>> >> >> >> make
>> >> >> >> >> any
>> >> >> >> >> >>> >> > >> changes as things evolve.
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
>> showing
>> >> the
>> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even when I
>> use
>> >> the
>> >> >> >> >> monospace
>> >> >> >> >> >>> >> > >> font-family. Any
>> >> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> Thanks,
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> Gale
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>> >> >> >> >> >>> >> > >> > Hi Gale,
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> > Thank you very much.
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> > . Can you help me
>> >> >> >> >> >>> >> > >> >> understand what you mean when you say the files
>> >> will
>> >> >> get
>> >> >> >> >> saved
>> >> >> >> >> >>> >> > >> >> to the C directory?
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog. That
>> >> >> should be
>> >> >> >> >> >>> >> > >> > corrected
>> >> >> >> >> >>> >> > as
>> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>> >> >> /home/usrname/toConvert/ –>
>> >> >> >> >> >>> >> > >> > *Convert
>> >> >> >> >> >>> >> > the
>> >> >> >> >> >>> >> > >> > files and save them in the …/toConvert/converted/
>> >> >> >> directory.
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> > I would appreciate more feedback, modifications
>> >> etc. So
>> >> >> >> with
>> >> >> >> >> the
>> >> >> >> >> >>> >> > >> > help
>> >> >> >> >> >>> >> > of
>> >> >> >> >> >>> >> > >> > the community we could come up with a much better
>> >> >> >> structure.
>> >> >> >> >> >>> >> > >> > Cheers
>> >> >> >> >> >>> >> > >> > Menaka
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>> >> >> >> >> >>> >> > >> wrote:
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> >> Hi Menaka,
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand the
>> >> command
>> >> >> >> >> structure
>> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for the
>> blog
>> >> >> >> post; it
>> >> >> >> >> >>> was
>> >> >> >> >> >>> >> > >> >> very helpful.
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> I am a little confused about your recursive
>> >> example.
>> >> >> Can
>> >> >> >> you
>> >> >> >> >> >>> >> > >> >> help me understand what you mean when you say
>> the
>> >> >> files
>> >> >> >> will
>> >> >> >> >> >>> get
>> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show the
>> >> output
>> >> >> >> being
>> >> >> >> >> >>> saved
>> >> >> >> >> >>> >> > >> >> to:
>> >> >> >> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> This is the example:
>> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>> >> >> /home/usrname/toConvert/ –>
>> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
>> directory.
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> Thank you!
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> Gale
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> B
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
>> Madushanka
>> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>> >> >> >> >> >>> >> > >> >> > Hi Gale,
>> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you
>> very
>> >> >> much.
>> >> >> >> :-)
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the
>> >> command:
>> >> >> >> >> tavlang
>> >> >> >> >> >>> >> > convert
>> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I
>> >> >> wrong in
>> >> >> >> >> >>> >> > >> >> >> thinking
>> >> >> >> >> >>> >> > that
>> >> >> >> >> >>> >> > >> the
>> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>> >> structure of
>> >> >> >> >> commands
>> >> >> >> >> >>> >> > >> >> > now
>> >> >> >> >> >>> >> > and
>> >> >> >> >> >>> >> > >> >> then.
>> >> >> >> >> >>> >> > >> >> > So for the moment the command structure is
>> like
>> >> >> this.
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
>> >> >> >> [arguments]
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If
>> so,
>> >> >> under
>> >> >> >> >> what
>> >> >> >> >> >>> >> > >> >> circumstances?
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be a
>> >> directory
>> >> >> >> >> >>> containing
>> >> >> >> >> >>> >> > >> .t2flow of
>> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional
>> for
>> >> both
>> >> >> >> >> >>> recursive
>> >> >> >> >> >>> >> > >> >> > and
>> >> >> >> >> >>> >> > non
>> >> >> >> >> >>> >> > >> >> > recursive cases.
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion command.
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>>
>> >> >> >>
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please inform.
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > Thank you very much!
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > Regards
>> >> >> >> >> >>> >> > >> >> > Menaka
>> >> >> >> >> >>> >> > >> >> >
>> >> >> >> >> >>> >> > >> >> > --
>> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>> >> http://www.pdn.ac.lk/eng>
>> >> >> >> >> >>> University
>> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>> >> >> >> >> >>> >> > >> >> > LinkedIn <
>> >> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>> >> > >> >>
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> >
>> >> >> >> >> >>> >> > >> > --
>> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
>> http://www.pdn.ac.lk/eng>
>> >> >> >> >> University
>> >> >> >> >> >>> of
>> >> >> >> >> >>> >> > >> > Peradeniyaya.
>> >> >> >> >> >>> >> > >> > LinkedIn <
>> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>> >> > >>
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > >
>> >> >> >> >> >>> >> > > --
>> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>> >> >> >> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> University
>> >> >> >> >> of
>> >> >> >> >> >>> >> > > Peradeniyaya.
>> >> >> >> >> >>> >> > > LinkedIn <
>> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>> >> >
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >> --
>> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
>> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> University of
>> >> >> >> >> >>> >> Peradeniyaya.
>> >> >> >> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>> >>
>> >> >> >> >> >>> >
>> >> >> >> >> >>> >
>> >> >> >> >> >>> >
>> >> >> >> >> >>> > --
>> >> >> >> >> >>> > Menaka Madushanka Jayawardena
>> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >>> > University of Peradeniyaya.
>> >> >> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> --
>> >> >> >> >> >> Menaka Madushanka Jayawardena
>> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> >> University of Peradeniyaya.
>> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > --
>> >> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> > University of Peradeniyaya.
>> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> > University of Peradeniyaya.
>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Menaka Madushanka Jayawardena
>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> > University of Peradeniyaya.
>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Yes Gale,
I'm thinking on taking them as a reference. For the best, I have some much
better doc from you. :-) :-)
Thank you very much.
Menaka
On 30 June 2015 at 20:09, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> Sounds great! Do you plan to use your blog to prepare the documentation?
>
> Feel free to use anything I've prepared if it helps. And if I can do
> any more before I go on vacation, I will let you know.
>
> Thanks,
>
> Gale
>
> On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hi Gale,
> >
> > The tool is almost done I think. The functionalities,
> > conversion,
> > validation,
> > inspection and
> > statistics
> >
> > are done.
> >
> > So what remaining is, completing the documentation.
> > I'll be able to finish it before 10 July hopefully. :-)
> >
> >
> >
> > On 30 June 2015 at 19:43, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> Thank you. I appreciate your feedback, and I'd like to help however I
> can.
> >>
> >> When do you expect to finish your project and documentation?
> >>
> >> I'll be on vacation from July 1 through July 10, but I'll try to stay in
> >> touch.
> >>
> >> Thanks,
> >>
> >> Gale
> >>
> >> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hello Gale,
> >> > Great work. :-)
> >> >
> >> > I did notice the mygrid pages said the information was out of date.
> >> >>
> >> > Yes. I also faced the same condition when I was starting the project.
> The
> >> > documentation will be updated very soon as the project releases. :-)
> >> >
> >> > I am to write the full complete documentation for the command line
> tool.
> >> > I'll appreciate your support for it. :-)
> >> >
> >> > Cheers.
> >> > Menaka
> >> >
> >> > On 29 June 2015 at 22:10, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> >I found this doc in
> >> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >>
> >> >> Thanks for the link. I also found this mygrid link:
> >> >>
> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> >> ,
> >> >> which is very clear about the .wfbundle file extension.
> >> >>
> >> >> I did notice the mygrid pages said the information was out of date.
> >> >> So, I also looked at the taverna incubator documentation, and the
> >> >> incubator SCUFL API page pointed me to a github page for the latest
> >> >> information. I found the github SCUFL examples to be helpful:
> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> >> >> .
> >> >> In the readme file, the t2flowtowfbundle tool describes the
> conversion
> >> >> of a .t2flow file to a SCUFL2 .wfbundle.
> >> >>
> >> >> Although I did find one example of a ".scufl2 bundle"
> >> >> (
> http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> >> >> ), most of the references indicate the correct file extension is
> >> >> .wfbundle. So, I removed the .scufl2 references from my mapping
> table.
> >> >> Please let me know if I missed something here.
> >> >>
> >> >> I also updated the table to reflect the .wfbundle --> .json and
> >> >> .wfbundle --> .iwir mappings.
> >> >>
> >> >> Thanks!
> >> >>
> >> >> Gale
> >> >>
> >> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hi Gale,
> >> >> >
> >> >> > So, .wfbundles can be converted to .json and .iwir formats as well
> as
> >> >> >> .structure?
> >> >> >
> >> >> >
> >> >> > Yes.
> >> >> >
> >> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> >> (taverna-sculf2-wfbundle)
> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >> (taverna-scufl2-api)?
> >> >> >
> >> >> >
> >> >> > I found this doc in
> >> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >> >
> >> >> > Cheers
> >> >> > Menaka
> >> >> >
> >> >> > On 27 June 2015 at 22:46, Gale Naylor <galen@noventussolutions.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Hi Menaka,
> >> >> >>
> >> >> >> > According to the documentations provided, SCUFL is an
> experimental
> >> >> >> module.
> >> >> >> > So It has not added to the tool yet.
> >> >> >>
> >> >> >> Okay, I see now. That makes sense. FYI, because I am a visual
> person,
> >> >> >> I took the Taverna
> >> >> >> Language Module information and created a diagram:
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >> >> >>
> >> >> >> > The taverna language is capable of converting .t2flow workflows
> >> into
> >> >> >> > .wfbundle and other formats, and .wfbundles into formats except
> >> >> .t2flow.
> >> >> >>
> >> >> >> So, .wfbundles can be converted to .json and .iwir formats as
> well as
> >> >> >> .structure?
> >> >> >> If so, I will update my table.
> >> >> >>
> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format
> of
> >> >> >> Taverna
> >> >> >> > 3)
> >> >> >>
> >> >> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> >> (taverna-sculf2-wfbundle)
> >> >> >> and scufl2 is the *workflow* format of Taverna 3
> >> (taverna-scufl2-api)?
> >> >> >>
> >> >> >> > Input file type detection was done to avoid any exceptions when
> >> >> reading
> >> >> >> the
> >> >> >> > wokflow file. ...
> >> >> >> > In new_features2, I removed it because I have entered the wrong
> >> >> logic. I
> >> >> >> > restored it.
> >> >> >>
> >> >> >> Okay, understood.
> >> >> >>
> >> >> >> Thank you!
> >> >> >>
> >> >> >> Gale
> >> >> >>
> >> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >> >> >> <me...@gmail.com> wrote:
> >> >> >> > Hi Gale,
> >> >> >> > According to the documentations provided, SCUFL is an
> experimental
> >> >> >> module.
> >> >> >> > So It has not added to the tool yet.
> >> >> >> >
> >> >> >> > I presumed that.scufl2 workflows could be converted to the same
> >> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
> >> know
> >> >> >> >> and I'll fix it.
> >> >> >> >
> >> >> >> > The taverna language is capable of converting .t2flow workflows
> >> into
> >> >> >> > .wfbundle and other formats, and .wfbundles into formats except
> >> >> .t2flow.
> >> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format
> of
> >> >> >> Taverna
> >> >> >> > 3)
> >> >> >> >
> >> >> >> > Also, I was wondering about something you said in one of your
> June
> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request:
> New
> >> >> >> >> features2).
> >> >> >> >> You said "File type detection removed."
> >> >> >> >>
> >> >> >> >> Which file type detection is this? Is this related to Stain's
> June
> >> >> 4th
> >> >> >> >> email, in which he said the input format is auto-guessed by
> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
> >> this
> >> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >> >
> >> >> >> >
> >> >> >> > Input file type detection was done to avoid any exceptions when
> >> >> reading
> >> >> >> the
> >> >> >> > wokflow file. The WorkflowBundleIO can guess the media type and
> >> read
> >> >> the
> >> >> >> > bundle but, the input format could be wrongly entered by the
> user.
> >> We
> >> >> >> can't
> >> >> >> > promise that the user could always do the correct thing. Also in
> >> >> >> recursive
> >> >> >> > conversion, there could be other files also.
> >> >> >> >
> >> >> >> > In new_features2, I removed it because I have entered the wrong
> >> >> logic. I
> >> >> >> > restored it.
> >> >> >> >
> >> >> >> > Thank you
> >> >> >> > Menaka
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > On 27 June 2015 at 01:54, Gale Naylor <
> galen@noventussolutions.com
> >> >
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >> Hi Menaka,
> >> >> >> >>
> >> >> >> >> A couple more things.
> >> >> >> >>
> >> >> >> >> I am trying to organize my understanding of how the conversions
> >> work,
> >> >> >> >> so I wrote a new blog post with a conversion table:
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >> >> >> >>
> >> >> >> >> I presumed that.scufl2 workflows could be converted to the same
> >> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
> >> know
> >> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be
> listed?
> >> >> The
> >> >> >> >> table is my best guess from reading all of the emails, so
> please
> >> let
> >> >> >> >> me know if anything is wrong, or if I missed something.
> >> >> >> >>
> >> >> >> >> Also, I was wondering about something you said in one of your
> June
> >> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request:
> New
> >> >> >> >> features2).
> >> >> >> >> You said "File type detection removed."
> >> >> >> >>
> >> >> >> >> Which file type detection is this? Is this related to Stain's
> June
> >> >> 4th
> >> >> >> >> email, in which he said the input format is auto-guessed by
> >> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
> >> this
> >> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >> >>
> >> >> >> >> Thanks!
> >> >> >> >>
> >> >> >> >> Gale
> >> >> >> >>
> >> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >> >> >> >> <me...@gmail.com> wrote:
> >> >> >> >> > Have a nice weekend too.....!!! :-)
> >> >> >> >> >
> >> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> >> menaka12350@gmail.com
> >> >> >
> >> >> >> >> wrote:
> >> >> >> >> >
> >> >> >> >> >> Hi Gale,
> >> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm very
> new
> >> and
> >> >> >> there
> >> >> >> >> >> could be some flows. Thank you very much for showing them.
> :-)
> >> >> >> >> >>
> >> >> >> >> >> 1) Yes, the types of bundle formats that can be converted
> are
> >> >> listed
> >> >> >> in
> >> >> >> >> >> this blog.
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> >> >> >> >> The bundles are not workflows.
> >> >> >> >> >>
> >> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
> >> >> misleading.....
> >> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are two
> >> different
> >> >> >> APIs.
> >> >> >> >> >> I'll update the blog. :-)
> >> >> >> >> >>
> >> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
> >> >> converted
> >> >> >> into
> >> >> >> >> >> robundle.
> >> >> >> >> >>
> >> >> >> >> >> 4). Yes Gale. That modification should be done. Other wise
> it
> >> >> looks
> >> >> >> like
> >> >> >> >> >> any format could be converted into Robundle. I'll update my
> >> blog
> >> >> too.
> >> >> >> >> >>
> >> >> >> >> >> Are there any more facts that need clarification about the
> >> blogs
> >> >> >> please
> >> >> >> >> >> ask me. :)
> >> >> >> >> >>
> >> >> >> >> >> Thank you very much Gale.
> >> >> >> >> >> Menaka
> >> >> >> >> >>
> >> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> >> >> galen@noventussolutions.com>
> >> >> >> >> wrote:
> >> >> >> >> >>
> >> >> >> >> >>> Hi Menaka,
> >> >> >> >> >>>
> >> >> >> >> >>> I've been reading and learning more about research objects,
> >> and I
> >> >> >> >> >>> think I understand better what is going on, but I still
> have
> >> some
> >> >> >> >> >>> questions.
> >> >> >> >> >>>
> >> >> >> >> >>> 1) I am curious as to which file types *can* be converted
> to
> >> >> >> .robundle
> >> >> >> >> >>> format? (I must have missed something because I thought
> >> .t2flow
> >> >> and
> >> >> >> >> >>> .wfbundle were the only allowed input file types.)
> >> >> >> >> >>>
> >> >> >> >> >>> 2) In rereading your June 18th blog post, I see you say
> that
> >> the
> >> >> >> >> >>> command line tool is for converting and managing workflow
> >> >> "bundles"
> >> >> >> as
> >> >> >> >> >>> well as research object bundles. Are t2flow files "workflow
> >> >> bundles"
> >> >> >> >> >>> or just "workflows?" Or is there not a practical
> difference?
> >> >> >> >> >>>
> >> >> >> >> >>> 3) I understand now that not all file format conversions
> are
> >> >> valid.
> >> >> >> >> >>> I'm trying to understand this better. In your June 18th
> blog
> >> post
> >> >> >> you
> >> >> >> >> >>> say:
> >> >> >> >> >>>
> >> >> >> >> >>> "The conversion function supports converting .t2flow and
> >> >> .wfbundle
> >> >> >> >> >>> formats into following formats:
> >> >> >> >> >>>
> >> >> >> >> >>> .structure
> >> >> >> >> >>>
> >> >> >> >> >>> .json
> >> >> >> >> >>>
> >> >> >> >> >>> .iwir
> >> >> >> >> >>>
> >> >> >> >> >>> .wfbundle
> >> >> >> >> >>>
> >> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> >> >> >> >> >>>
> >> >> >> >> >>> .robundle –> (development in progress)"
> >> >> >> >> >>>
> >> >> >> >> >>> To me, reading this looks like all combinations are valid.
> >> >> >> >> >>>
> >> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be
> >> converted
> >> >> to
> >> >> >> >> >>> all file types *except* robundle?
> >> >> >> >> >>>
> >> >> >> >> >>>
> >> >> >> >> >>> 4) I fixed the examples in my blog post. Should I also
> change
> >> >> the
> >> >> >> >> >>> --robundle option description to say "Output bundle as
> >> .robundle"
> >> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
> >> .wfbundle
> >> >> >> >> >>> option.)
> >> >> >> >> >>>
> >> >> >> >> >>> Thanks for the feedback and the correct link to the
> example!
> >> >> >> >> >>>
> >> >> >> >> >>> Have a nice weekend.
> >> >> >> >> >>>
> >> >> >> >> >>> Gale
> >> >> >> >> >>>
> >> >> >> >> >>>
> >> >> >> >> >>>
> >> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >> >> >> >>> <me...@gmail.com> wrote:
> >> >> >> >> >>> > Hi Gale,
> >> >> >> >> >>> > Use this link
> >> >> >> >> >>> >
> >> >> >> >> >>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >> >> >> >>> >
> >> >> >> >> >>> > Cheers
> >> >> >> >> >>> > Menaka
> >> >> >> >> >>> >
> >> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >>> wrote:
> >> >> >> >> >>> >
> >> >> >> >> >>> >> Hi Menaka,
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> Thank you for the feedback and clarifying information.
> >> Sorry
> >> >> not
> >> >> >> to
> >> >> >> >> >>> respond
> >> >> >> >> >>> >> sooner. I am learning about bundles, etc. and reading
> the
> >> link
> >> >> >> you
> >> >> >> >> >>> sent.
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> One thing, I'm having trouble getting to the example in
> the
> >> >> >> Examples
> >> >> >> >> >>> of Use
> >> >> >> >> >>> >> Section: "Example in full is at
> >> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> Can you help me? This is what I've done so far:
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> - Clicking on the link gets me the "This is not the web
> >> page
> >> >> you
> >> >> >> are
> >> >> >> >> >>> >> looking
> >> >> >> >> >>> >> for" page. (This is the actual link address:
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> >> >> >>> >> )
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample"
> also
> >> >> doesn't
> >> >> >> >> work
> >> >> >> >> >>> for
> >> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on the
> main
> >> >> >> >> Apache.com
> >> >> >> >> >>> page
> >> >> >> >> >>> >> yields no results.
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> I will continue to read and understand the RO Bundle API
> >> page,
> >> >> >> but I
> >> >> >> >> >>> would
> >> >> >> >> >>> >> like to see the full Test Example, if possible.
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> Thanks!
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> Gale
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> -----Original Message-----
> >> >> >> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool -
> convert
> >> >> command
> >> >> >> >> doc
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> That's cool.....!! :-)
> >> >> >> >> >>> >> Correction:
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> > Example 2: Simple conversion, multiple input files, no
> >> >> options
> >> >> >> >> >>> >> >
> >> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >> >> >> >> /someFile2.wfbundle
> >> >> >> >> >>> >> >
> >> >> >> >> >>> >> > Converts */someFile1.wfbundle* and
> */someFile2.wfbundle*
> >> >> into
> >> >> >> >> >>> >> > *.robundle* format and saves the output files to the
> >> >> >> */converted*
> >> >> >> >> >>> >> > folder in the current working directory.
> >> >> >> >> >>> >> >
> >> >> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow
> into
> >> >> >> robundle
> >> >> >> >> >>> format.
> >> >> >> >> >>> >> Its only for some specific bundle formats. Go through
> this
> >> doc
> >> >> >> for
> >> >> >> >> more
> >> >> >> >> >>> >> info.
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> cheers.
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >> >> >> galen@noventussolutions.com>
> >> >> >> >> >>> wrote:
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have
> changed
> >> the
> >> >> two
> >> >> >> >> blog
> >> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I also
> >> made
> >> >> a
> >> >> >> few
> >> >> >> >> >>> >> > refinements.
> >> >> >> >> >>> >> >
> >> >> >> >> >>> >> > Thanks,
> >> >> >> >> >>> >> > Gale
> >> >> >> >> >>> >> >
> >> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >> >> >> >>> >> > <me...@gmail.com> wrote:
> >> >> >> >> >>> >> > > Thank you very much Gale,
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > I showed the output-format without brackets to
> indicate
> >> >> it is
> >> >> >> >> >>> >> > >> required and not optional because it appears to be
> >> always
> >> >> >> >> >>> necessary
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > That would be more accurate I think. I'm very new
> for
> >> >> >> >> >>> documentation.
> >> >> >> >> >>> >> > Thank
> >> >> >> >> >>> >> > > you very much.
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > I left the -json output file type as having a
> single
> >> >> dash,
> >> >> >> but
> >> >> >> >> all
> >> >> >> >> >>> >> > >> the other output types have double-dashes. Should I
> >> >> change
> >> >> >> the
> >> >> >> >> >>> json
> >> >> >> >> >>> >> > >> output argument to --json?
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > > -json should be --json. In my email that was a
> >> mistake. So
> >> >> >> you
> >> >> >> >> can
> >> >> >> >> >>> >> > > use
> >> >> >> >> >>> >> > --.
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is showing
> >> the
> >> >> >> >> >>> >> > > double-dashes
> >> >> >> >> >>> >> > >> as long single dashes, even when I use the
> monospace
> >> >> >> >> font-family.
> >> >> >> >> >>> >> > >> Any
> >> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-)
> Use
> >> >> >> >> >>> preformatted.
> >> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my
> blog.
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> >
> >> >> >> >> >>>
> >> >> >>
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > Thank you very much.
> >> >> >> >> >>> >> > > Menaka
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > I'll go through your documentations.
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> >> >> >> galen@noventussolutions.com
> >> >> >> >> >>> >
> >> >> >> >> >>> >> > wrote:
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > >> Hi Menaka,
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> Thanks for updating your blog! I have some
> additional
> >> >> >> feedback
> >> >> >> >> in
> >> >> >> >> >>> >> > >> the form of two blog posts. One has a detailed
> >> >> description
> >> >> >> (as
> >> >> >> >> I
> >> >> >> >> >>> >> > >> understand it) of the convert command and one has
> >> several
> >> >> >> >> >>> examples,
> >> >> >> >> >>> >> > >> building on the examples in your blog. I hope these
> >> will
> >> >> >> help
> >> >> >> >> the
> >> >> >> >> >>> >> > >> discussion of the command structure. Here are the
> >> links:
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> >
> >> >> >> >> >>>
> >> >> >>
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >> >>> >> > mmand-line-convert-command/
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> >
> >> >> >> >> >>>
> >> >> >>
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >> >>> >> > mmand-line-convert-examples/
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> Some things to note:
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> (1) l basically used your June 18th post, but a few
> >> >> things
> >> >> >> >> (like
> >> >> >> >> >>> >> > >> the validate command) are from earlier
> posts/emails.
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> (2) I showed the output-format without brackets to
> >> >> indicate
> >> >> >> it
> >> >> >> >> is
> >> >> >> >> >>> >> > >> required and not optional because it appears to be
> >> always
> >> >> >> >> >>> necessary.
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> (3) The way I understand the overall command
> >> structure,
> >> >> it
> >> >> >> >> seemed
> >> >> >> >> >>> >> > >> that all options (e.g., the output file directory)
> >> should
> >> >> >> come
> >> >> >> >> >>> >> > >> before the input-file-list, so that's what I
> assumed.
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> (4) I left the -json output file type as having a
> >> single
> >> >> >> dash,
> >> >> >> >> but
> >> >> >> >> >>> >> > >> all the other output types have double-dashes.
> Should
> >> I
> >> >> >> change
> >> >> >> >> the
> >> >> >> >> >>> >> > >> json output argument to --json?
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> Please let me know if anything is incorrect and I
> will
> >> >> >> change
> >> >> >> >> it.
> >> >> >> >> >>> I
> >> >> >> >> >>> >> > >> realize the command structure is fluid, and I'm
> happy
> >> to
> >> >> >> make
> >> >> >> >> any
> >> >> >> >> >>> >> > >> changes as things evolve.
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is
> showing
> >> the
> >> >> >> >> >>> >> > >> double-dashes as long single dashes, even when I
> use
> >> the
> >> >> >> >> monospace
> >> >> >> >> >>> >> > >> font-family. Any
> >> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> Thanks,
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> Gale
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >> >> >> >> >>> >> > >> > Hi Gale,
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> > Thank you very much.
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> > . Can you help me
> >> >> >> >> >>> >> > >> >> understand what you mean when you say the files
> >> will
> >> >> get
> >> >> >> >> saved
> >> >> >> >> >>> >> > >> >> to the C directory?
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog. That
> >> >> should be
> >> >> >> >> >>> >> > >> > corrected
> >> >> >> >> >>> >> > as
> >> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> >> >> /home/usrname/toConvert/ –>
> >> >> >> >> >>> >> > >> > *Convert
> >> >> >> >> >>> >> > the
> >> >> >> >> >>> >> > >> > files and save them in the …/toConvert/converted/
> >> >> >> directory.
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> > I would appreciate more feedback, modifications
> >> etc. So
> >> >> >> with
> >> >> >> >> the
> >> >> >> >> >>> >> > >> > help
> >> >> >> >> >>> >> > of
> >> >> >> >> >>> >> > >> > the community we could come up with a much better
> >> >> >> structure.
> >> >> >> >> >>> >> > >> > Cheers
> >> >> >> >> >>> >> > >> > Menaka
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >> >> >> >> >>> >> > >> wrote:
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> >> Hi Menaka,
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> I am very happy to help, and I understand the
> >> command
> >> >> >> >> structure
> >> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for the
> blog
> >> >> >> post; it
> >> >> >> >> >>> was
> >> >> >> >> >>> >> > >> >> very helpful.
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> I am a little confused about your recursive
> >> example.
> >> >> Can
> >> >> >> you
> >> >> >> >> >>> >> > >> >> help me understand what you mean when you say
> the
> >> >> files
> >> >> >> will
> >> >> >> >> >>> get
> >> >> >> >> >>> >> > >> >> saved to the C directory? Because you show the
> >> output
> >> >> >> being
> >> >> >> >> >>> saved
> >> >> >> >> >>> >> > >> >> to:
> >> >> >> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> This is the example:
> >> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> >> >> /home/usrname/toConvert/ –>
> >> >> >> >> >>> >> > >> >> Convert the files and save them in the C
> directory.
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> Thank you!
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> Gale
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> B
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka
> Madushanka
> >> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >> >> >> >> >>> >> > >> >> > Hi Gale,
> >> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you
> very
> >> >> much.
> >> >> >> :-)
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the
> >> command:
> >> >> >> >> tavlang
> >> >> >> >> >>> >> > convert
> >> >> >> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I
> >> >> wrong in
> >> >> >> >> >>> >> > >> >> >> thinking
> >> >> >> >> >>> >> > that
> >> >> >> >> >>> >> > >> the
> >> >> >> >> >>> >> > >> >> >> output formats are handled as options?
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
> >> structure of
> >> >> >> >> commands
> >> >> >> >> >>> >> > >> >> > now
> >> >> >> >> >>> >> > and
> >> >> >> >> >>> >> > >> >> then.
> >> >> >> >> >>> >> > >> >> > So for the moment the command structure is
> like
> >> >> this.
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
> >> >> >> [arguments]
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If
> so,
> >> >> under
> >> >> >> >> what
> >> >> >> >> >>> >> > >> >> circumstances?
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > No. In recursive case the input will be a
> >> directory
> >> >> >> >> >>> containing
> >> >> >> >> >>> >> > >> .t2flow of
> >> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional
> for
> >> both
> >> >> >> >> >>> recursive
> >> >> >> >> >>> >> > >> >> > and
> >> >> >> >> >>> >> > non
> >> >> >> >> >>> >> > >> >> > recursive cases.
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > I created a blog about the conversion command.
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> >
> >> >> >> >> >>>
> >> >> >>
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > If you have some suggestions, please inform.
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > Thank you very much!
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > Regards
> >> >> >> >> >>> >> > >> >> > Menaka
> >> >> >> >> >>> >> > >> >> >
> >> >> >> >> >>> >> > >> >> > --
> >> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> >> http://www.pdn.ac.lk/eng>
> >> >> >> >> >>> University
> >> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> >> >> >> >> >>> >> > >> >> > LinkedIn <
> >> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>> >> > >> >>
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> >
> >> >> >> >> >>> >> > >> > --
> >> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >> >> >> >> >>> >> > >> > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >> >> >> >> University
> >> >> >> >> >>> of
> >> >> >> >> >>> >> > >> > Peradeniyaya.
> >> >> >> >> >>> >> > >> > LinkedIn <
> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>> >> > >>
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > >
> >> >> >> >> >>> >> > > --
> >> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >> >> >> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> University
> >> >> >> >> of
> >> >> >> >> >>> >> > > Peradeniyaya.
> >> >> >> >> >>> >> > > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>> >> >
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>> >>
> >> >> >> >> >>> >> --
> >> >> >> >> >>> >> Menaka Madushanka Jayawardena
> >> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> University of
> >> >> >> >> >>> >> Peradeniyaya.
> >> >> >> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>> >>
> >> >> >> >> >>> >
> >> >> >> >> >>> >
> >> >> >> >> >>> >
> >> >> >> >> >>> > --
> >> >> >> >> >>> > Menaka Madushanka Jayawardena
> >> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >>> > University of Peradeniyaya.
> >> >> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> Menaka Madushanka Jayawardena
> >> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> >> University of Peradeniyaya.
> >> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > --
> >> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> > University of Peradeniyaya.
> >> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> > University of Peradeniyaya.
> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
Sounds great! Do you plan to use your blog to prepare the documentation?
Feel free to use anything I've prepared if it helps. And if I can do
any more before I go on vacation, I will let you know.
Thanks,
Gale
On Tue, Jun 30, 2015 at 7:32 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hi Gale,
>
> The tool is almost done I think. The functionalities,
> conversion,
> validation,
> inspection and
> statistics
>
> are done.
>
> So what remaining is, completing the documentation.
> I'll be able to finish it before 10 July hopefully. :-)
>
>
>
> On 30 June 2015 at 19:43, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> Thank you. I appreciate your feedback, and I'd like to help however I can.
>>
>> When do you expect to finish your project and documentation?
>>
>> I'll be on vacation from July 1 through July 10, but I'll try to stay in
>> touch.
>>
>> Thanks,
>>
>> Gale
>>
>> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hello Gale,
>> > Great work. :-)
>> >
>> > I did notice the mygrid pages said the information was out of date.
>> >>
>> > Yes. I also faced the same condition when I was starting the project. The
>> > documentation will be updated very soon as the project releases. :-)
>> >
>> > I am to write the full complete documentation for the command line tool.
>> > I'll appreciate your support for it. :-)
>> >
>> > Cheers.
>> > Menaka
>> >
>> > On 29 June 2015 at 22:10, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> >I found this doc in
>> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >>
>> >> Thanks for the link. I also found this mygrid link:
>> >> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
>> ,
>> >> which is very clear about the .wfbundle file extension.
>> >>
>> >> I did notice the mygrid pages said the information was out of date.
>> >> So, I also looked at the taverna incubator documentation, and the
>> >> incubator SCUFL API page pointed me to a github page for the latest
>> >> information. I found the github SCUFL examples to be helpful:
>> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>> >> .
>> >> In the readme file, the t2flowtowfbundle tool describes the conversion
>> >> of a .t2flow file to a SCUFL2 .wfbundle.
>> >>
>> >> Although I did find one example of a ".scufl2 bundle"
>> >> (http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>> >> ), most of the references indicate the correct file extension is
>> >> .wfbundle. So, I removed the .scufl2 references from my mapping table.
>> >> Please let me know if I missed something here.
>> >>
>> >> I also updated the table to reflect the .wfbundle --> .json and
>> >> .wfbundle --> .iwir mappings.
>> >>
>> >> Thanks!
>> >>
>> >> Gale
>> >>
>> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Hi Gale,
>> >> >
>> >> > So, .wfbundles can be converted to .json and .iwir formats as well as
>> >> >> .structure?
>> >> >
>> >> >
>> >> > Yes.
>> >> >
>> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> (taverna-sculf2-wfbundle)
>> >> >> and scufl2 is the *workflow* format of Taverna 3
>> (taverna-scufl2-api)?
>> >> >
>> >> >
>> >> > I found this doc in
>> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >> >
>> >> > Cheers
>> >> > Menaka
>> >> >
>> >> > On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >
>> >> >> Hi Menaka,
>> >> >>
>> >> >> > According to the documentations provided, SCUFL is an experimental
>> >> >> module.
>> >> >> > So It has not added to the tool yet.
>> >> >>
>> >> >> Okay, I see now. That makes sense. FYI, because I am a visual person,
>> >> >> I took the Taverna
>> >> >> Language Module information and created a diagram:
>> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>> >> >>
>> >> >> > The taverna language is capable of converting .t2flow workflows
>> into
>> >> >> > .wfbundle and other formats, and .wfbundles into formats except
>> >> .t2flow.
>> >> >>
>> >> >> So, .wfbundles can be converted to .json and .iwir formats as well as
>> >> >> .structure?
>> >> >> If so, I will update my table.
>> >> >>
>> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>> >> >> Taverna
>> >> >> > 3)
>> >> >>
>> >> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> >> (taverna-sculf2-wfbundle)
>> >> >> and scufl2 is the *workflow* format of Taverna 3
>> (taverna-scufl2-api)?
>> >> >>
>> >> >> > Input file type detection was done to avoid any exceptions when
>> >> reading
>> >> >> the
>> >> >> > wokflow file. ...
>> >> >> > In new_features2, I removed it because I have entered the wrong
>> >> logic. I
>> >> >> > restored it.
>> >> >>
>> >> >> Okay, understood.
>> >> >>
>> >> >> Thank you!
>> >> >>
>> >> >> Gale
>> >> >>
>> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>> >> >> <me...@gmail.com> wrote:
>> >> >> > Hi Gale,
>> >> >> > According to the documentations provided, SCUFL is an experimental
>> >> >> module.
>> >> >> > So It has not added to the tool yet.
>> >> >> >
>> >> >> > I presumed that.scufl2 workflows could be converted to the same
>> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
>> know
>> >> >> >> and I'll fix it.
>> >> >> >
>> >> >> > The taverna language is capable of converting .t2flow workflows
>> into
>> >> >> > .wfbundle and other formats, and .wfbundles into formats except
>> >> .t2flow.
>> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>> >> >> Taverna
>> >> >> > 3)
>> >> >> >
>> >> >> > Also, I was wondering about something you said in one of your June
>> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> >> >> >> features2).
>> >> >> >> You said "File type detection removed."
>> >> >> >>
>> >> >> >> Which file type detection is this? Is this related to Stain's June
>> >> 4th
>> >> >> >> email, in which he said the input format is auto-guessed by
>> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
>> this
>> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >
>> >> >> >
>> >> >> > Input file type detection was done to avoid any exceptions when
>> >> reading
>> >> >> the
>> >> >> > wokflow file. The WorkflowBundleIO can guess the media type and
>> read
>> >> the
>> >> >> > bundle but, the input format could be wrongly entered by the user.
>> We
>> >> >> can't
>> >> >> > promise that the user could always do the correct thing. Also in
>> >> >> recursive
>> >> >> > conversion, there could be other files also.
>> >> >> >
>> >> >> > In new_features2, I removed it because I have entered the wrong
>> >> logic. I
>> >> >> > restored it.
>> >> >> >
>> >> >> > Thank you
>> >> >> > Menaka
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > On 27 June 2015 at 01:54, Gale Naylor <galen@noventussolutions.com
>> >
>> >> >> wrote:
>> >> >> >
>> >> >> >> Hi Menaka,
>> >> >> >>
>> >> >> >> A couple more things.
>> >> >> >>
>> >> >> >> I am trying to organize my understanding of how the conversions
>> work,
>> >> >> >> so I wrote a new blog post with a conversion table:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>> >> >> >>
>> >> >> >> I presumed that.scufl2 workflows could be converted to the same
>> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
>> know
>> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed?
>> >> The
>> >> >> >> table is my best guess from reading all of the emails, so please
>> let
>> >> >> >> me know if anything is wrong, or if I missed something.
>> >> >> >>
>> >> >> >> Also, I was wondering about something you said in one of your June
>> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> >> >> >> features2).
>> >> >> >> You said "File type detection removed."
>> >> >> >>
>> >> >> >> Which file type detection is this? Is this related to Stain's June
>> >> 4th
>> >> >> >> email, in which he said the input format is auto-guessed by
>> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
>> this
>> >> >> >> comment and I wanted to make sure it is still accurate.
>> >> >> >>
>> >> >> >> Thanks!
>> >> >> >>
>> >> >> >> Gale
>> >> >> >>
>> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> >> >> >> <me...@gmail.com> wrote:
>> >> >> >> > Have a nice weekend too.....!!! :-)
>> >> >> >> >
>> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
>> menaka12350@gmail.com
>> >> >
>> >> >> >> wrote:
>> >> >> >> >
>> >> >> >> >> Hi Gale,
>> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm very new
>> and
>> >> >> there
>> >> >> >> >> could be some flows. Thank you very much for showing them. :-)
>> >> >> >> >>
>> >> >> >> >> 1) Yes, the types of bundle formats that can be converted are
>> >> listed
>> >> >> in
>> >> >> >> >> this blog.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> >> >> >> The bundles are not workflows.
>> >> >> >> >>
>> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>> >> misleading.....
>> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are two
>> different
>> >> >> APIs.
>> >> >> >> >> I'll update the blog. :-)
>> >> >> >> >>
>> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>> >> converted
>> >> >> into
>> >> >> >> >> robundle.
>> >> >> >> >>
>> >> >> >> >> 4). Yes Gale. That modification should be done. Other wise it
>> >> looks
>> >> >> like
>> >> >> >> >> any format could be converted into Robundle. I'll update my
>> blog
>> >> too.
>> >> >> >> >>
>> >> >> >> >> Are there any more facts that need clarification about the
>> blogs
>> >> >> please
>> >> >> >> >> ask me. :)
>> >> >> >> >>
>> >> >> >> >> Thank you very much Gale.
>> >> >> >> >> Menaka
>> >> >> >> >>
>> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>> >> galen@noventussolutions.com>
>> >> >> >> wrote:
>> >> >> >> >>
>> >> >> >> >>> Hi Menaka,
>> >> >> >> >>>
>> >> >> >> >>> I've been reading and learning more about research objects,
>> and I
>> >> >> >> >>> think I understand better what is going on, but I still have
>> some
>> >> >> >> >>> questions.
>> >> >> >> >>>
>> >> >> >> >>> 1) I am curious as to which file types *can* be converted to
>> >> >> .robundle
>> >> >> >> >>> format? (I must have missed something because I thought
>> .t2flow
>> >> and
>> >> >> >> >>> .wfbundle were the only allowed input file types.)
>> >> >> >> >>>
>> >> >> >> >>> 2) In rereading your June 18th blog post, I see you say that
>> the
>> >> >> >> >>> command line tool is for converting and managing workflow
>> >> "bundles"
>> >> >> as
>> >> >> >> >>> well as research object bundles. Are t2flow files "workflow
>> >> bundles"
>> >> >> >> >>> or just "workflows?" Or is there not a practical difference?
>> >> >> >> >>>
>> >> >> >> >>> 3) I understand now that not all file format conversions are
>> >> valid.
>> >> >> >> >>> I'm trying to understand this better. In your June 18th blog
>> post
>> >> >> you
>> >> >> >> >>> say:
>> >> >> >> >>>
>> >> >> >> >>> "The conversion function supports converting .t2flow and
>> >> .wfbundle
>> >> >> >> >>> formats into following formats:
>> >> >> >> >>>
>> >> >> >> >>> .structure
>> >> >> >> >>>
>> >> >> >> >>> .json
>> >> >> >> >>>
>> >> >> >> >>> .iwir
>> >> >> >> >>>
>> >> >> >> >>> .wfbundle
>> >> >> >> >>>
>> >> >> >> >>> .wfdesc.ttl –> (development in progress)
>> >> >> >> >>>
>> >> >> >> >>> .robundle –> (development in progress)"
>> >> >> >> >>>
>> >> >> >> >>> To me, reading this looks like all combinations are valid.
>> >> >> >> >>>
>> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be
>> converted
>> >> to
>> >> >> >> >>> all file types *except* robundle?
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> 4) I fixed the examples in my blog post. Should I also change
>> >> the
>> >> >> >> >>> --robundle option description to say "Output bundle as
>> .robundle"
>> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
>> .wfbundle
>> >> >> >> >>> option.)
>> >> >> >> >>>
>> >> >> >> >>> Thanks for the feedback and the correct link to the example!
>> >> >> >> >>>
>> >> >> >> >>> Have a nice weekend.
>> >> >> >> >>>
>> >> >> >> >>> Gale
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> >> >> >>> <me...@gmail.com> wrote:
>> >> >> >> >>> > Hi Gale,
>> >> >> >> >>> > Use this link
>> >> >> >> >>> >
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >> >> >>> >
>> >> >> >> >>> > Cheers
>> >> >> >> >>> > Menaka
>> >> >> >> >>> >
>> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>> >> >> galen@noventussolutions.com>
>> >> >> >> >>> wrote:
>> >> >> >> >>> >
>> >> >> >> >>> >> Hi Menaka,
>> >> >> >> >>> >>
>> >> >> >> >>> >> Thank you for the feedback and clarifying information.
>> Sorry
>> >> not
>> >> >> to
>> >> >> >> >>> respond
>> >> >> >> >>> >> sooner. I am learning about bundles, etc. and reading the
>> link
>> >> >> you
>> >> >> >> >>> sent.
>> >> >> >> >>> >>
>> >> >> >> >>> >> One thing, I'm having trouble getting to the example in the
>> >> >> Examples
>> >> >> >> >>> of Use
>> >> >> >> >>> >> Section: "Example in full is at
>> >> >> >> >>> org.apache.taverna.robundle.TestExample"
>> >> >> >> >>> >>
>> >> >> >> >>> >> Can you help me? This is what I've done so far:
>> >> >> >> >>> >>
>> >> >> >> >>> >> - Clicking on the link gets me the "This is not the web
>> page
>> >> you
>> >> >> are
>> >> >> >> >>> >> looking
>> >> >> >> >>> >> for" page. (This is the actual link address:
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >> >> >>> >> )
>> >> >> >> >>> >>
>> >> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also
>> >> doesn't
>> >> >> >> work
>> >> >> >> >>> for
>> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>> >> >> >> >>> >>
>> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on the main
>> >> >> >> Apache.com
>> >> >> >> >>> page
>> >> >> >> >>> >> yields no results.
>> >> >> >> >>> >>
>> >> >> >> >>> >> I will continue to read and understand the RO Bundle API
>> page,
>> >> >> but I
>> >> >> >> >>> would
>> >> >> >> >>> >> like to see the full Test Example, if possible.
>> >> >> >> >>> >>
>> >> >> >> >>> >> Thanks!
>> >> >> >> >>> >>
>> >> >> >> >>> >> Gale
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>> >> -----Original Message-----
>> >> >> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
>> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert
>> >> command
>> >> >> >> doc
>> >> >> >> >>> >>
>> >> >> >> >>> >> That's cool.....!! :-)
>> >> >> >> >>> >> Correction:
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >> >> >>> >>
>> >> >> >> >>> >> > Example 2: Simple conversion, multiple input files, no
>> >> options
>> >> >> >> >>> >> >
>> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> >> >> >> /someFile2.wfbundle
>> >> >> >> >>> >> >
>> >> >> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle*
>> >> into
>> >> >> >> >>> >> > *.robundle* format and saves the output files to the
>> >> >> */converted*
>> >> >> >> >>> >> > folder in the current working directory.
>> >> >> >> >>> >> >
>> >> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
>> >> >> robundle
>> >> >> >> >>> format.
>> >> >> >> >>> >> Its only for some specific bundle formats. Go through this
>> doc
>> >> >> for
>> >> >> >> more
>> >> >> >> >>> >> info.
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >> >> >>> >>
>> >> >> >> >>> >> cheers.
>> >> >> >> >>> >>
>> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>> >> >> galen@noventussolutions.com>
>> >> >> >> >>> wrote:
>> >> >> >> >>> >>
>> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed
>> the
>> >> two
>> >> >> >> blog
>> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I also
>> made
>> >> a
>> >> >> few
>> >> >> >> >>> >> > refinements.
>> >> >> >> >>> >> >
>> >> >> >> >>> >> > Thanks,
>> >> >> >> >>> >> > Gale
>> >> >> >> >>> >> >
>> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> >> >> >>> >> > <me...@gmail.com> wrote:
>> >> >> >> >>> >> > > Thank you very much Gale,
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > I showed the output-format without brackets to indicate
>> >> it is
>> >> >> >> >>> >> > >> required and not optional because it appears to be
>> always
>> >> >> >> >>> necessary
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > That would be more accurate I think. I'm very new for
>> >> >> >> >>> documentation.
>> >> >> >> >>> >> > Thank
>> >> >> >> >>> >> > > you very much.
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > I left the -json output file type as having a single
>> >> dash,
>> >> >> but
>> >> >> >> all
>> >> >> >> >>> >> > >> the other output types have double-dashes. Should I
>> >> change
>> >> >> the
>> >> >> >> >>> json
>> >> >> >> >>> >> > >> output argument to --json?
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > > -json should be --json. In my email that was a
>> mistake. So
>> >> >> you
>> >> >> >> can
>> >> >> >> >>> >> > > use
>> >> >> >> >>> >> > --.
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is showing
>> the
>> >> >> >> >>> >> > > double-dashes
>> >> >> >> >>> >> > >> as long single dashes, even when I use the monospace
>> >> >> >> font-family.
>> >> >> >> >>> >> > >> Any
>> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>> >> >> >> >>> preformatted.
>> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> >
>> >> >> >> >>>
>> >> >>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > Thank you very much.
>> >> >> >> >>> >> > > Menaka
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > I'll go through your documentations.
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> >> >> >> galen@noventussolutions.com
>> >> >> >> >>> >
>> >> >> >> >>> >> > wrote:
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > >> Hi Menaka,
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> Thanks for updating your blog! I have some additional
>> >> >> feedback
>> >> >> >> in
>> >> >> >> >>> >> > >> the form of two blog posts. One has a detailed
>> >> description
>> >> >> (as
>> >> >> >> I
>> >> >> >> >>> >> > >> understand it) of the convert command and one has
>> several
>> >> >> >> >>> examples,
>> >> >> >> >>> >> > >> building on the examples in your blog. I hope these
>> will
>> >> >> help
>> >> >> >> the
>> >> >> >> >>> >> > >> discussion of the command structure. Here are the
>> links:
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> >
>> >> >> >> >>>
>> >> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >>> >> > mmand-line-convert-command/
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> >
>> >> >> >> >>>
>> >> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >> >>> >> > mmand-line-convert-examples/
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> Some things to note:
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> (1) l basically used your June 18th post, but a few
>> >> things
>> >> >> >> (like
>> >> >> >> >>> >> > >> the validate command) are from earlier posts/emails.
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> (2) I showed the output-format without brackets to
>> >> indicate
>> >> >> it
>> >> >> >> is
>> >> >> >> >>> >> > >> required and not optional because it appears to be
>> always
>> >> >> >> >>> necessary.
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> (3) The way I understand the overall command
>> structure,
>> >> it
>> >> >> >> seemed
>> >> >> >> >>> >> > >> that all options (e.g., the output file directory)
>> should
>> >> >> come
>> >> >> >> >>> >> > >> before the input-file-list, so that's what I assumed.
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> (4) I left the -json output file type as having a
>> single
>> >> >> dash,
>> >> >> >> but
>> >> >> >> >>> >> > >> all the other output types have double-dashes. Should
>> I
>> >> >> change
>> >> >> >> the
>> >> >> >> >>> >> > >> json output argument to --json?
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> Please let me know if anything is incorrect and I will
>> >> >> change
>> >> >> >> it.
>> >> >> >> >>> I
>> >> >> >> >>> >> > >> realize the command structure is fluid, and I'm happy
>> to
>> >> >> make
>> >> >> >> any
>> >> >> >> >>> >> > >> changes as things evolve.
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is showing
>> the
>> >> >> >> >>> >> > >> double-dashes as long single dashes, even when I use
>> the
>> >> >> >> monospace
>> >> >> >> >>> >> > >> font-family. Any
>> >> >> >> >>> >> > >> suggestions?)
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> Thanks,
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> Gale
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
>> >> >> >> >>> >> > >> > Hi Gale,
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> > Thank you very much.
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> > . Can you help me
>> >> >> >> >>> >> > >> >> understand what you mean when you say the files
>> will
>> >> get
>> >> >> >> saved
>> >> >> >> >>> >> > >> >> to the C directory?
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog. That
>> >> should be
>> >> >> >> >>> >> > >> > corrected
>> >> >> >> >>> >> > as
>> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>> >> /home/usrname/toConvert/ –>
>> >> >> >> >>> >> > >> > *Convert
>> >> >> >> >>> >> > the
>> >> >> >> >>> >> > >> > files and save them in the …/toConvert/converted/
>> >> >> directory.
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> > I would appreciate more feedback, modifications
>> etc. So
>> >> >> with
>> >> >> >> the
>> >> >> >> >>> >> > >> > help
>> >> >> >> >>> >> > of
>> >> >> >> >>> >> > >> > the community we could come up with a much better
>> >> >> structure.
>> >> >> >> >>> >> > >> > Cheers
>> >> >> >> >>> >> > >> > Menaka
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>> >> >> >> >>> >> > >> wrote:
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> >> Hi Menaka,
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> I am very happy to help, and I understand the
>> command
>> >> >> >> structure
>> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
>> >> >> post; it
>> >> >> >> >>> was
>> >> >> >> >>> >> > >> >> very helpful.
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> I am a little confused about your recursive
>> example.
>> >> Can
>> >> >> you
>> >> >> >> >>> >> > >> >> help me understand what you mean when you say the
>> >> files
>> >> >> will
>> >> >> >> >>> get
>> >> >> >> >>> >> > >> >> saved to the C directory? Because you show the
>> output
>> >> >> being
>> >> >> >> >>> saved
>> >> >> >> >>> >> > >> >> to:
>> >> >> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> This is the example:
>> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>> >> /home/usrname/toConvert/ –>
>> >> >> >> >>> >> > >> >> Convert the files and save them in the C directory.
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> Thank you!
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> Gale
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> B
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>> >> >> >> >>> >> > >> >> > Hi Gale,
>> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very
>> >> much.
>> >> >> :-)
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the
>> command:
>> >> >> >> tavlang
>> >> >> >> >>> >> > convert
>> >> >> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I
>> >> wrong in
>> >> >> >> >>> >> > >> >> >> thinking
>> >> >> >> >>> >> > that
>> >> >> >> >>> >> > >> the
>> >> >> >> >>> >> > >> >> >> output formats are handled as options?
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
>> structure of
>> >> >> >> commands
>> >> >> >> >>> >> > >> >> > now
>> >> >> >> >>> >> > and
>> >> >> >> >>> >> > >> >> then.
>> >> >> >> >>> >> > >> >> > So for the moment the command structure is like
>> >> this.
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
>> >> >> [arguments]
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so,
>> >> under
>> >> >> >> what
>> >> >> >> >>> >> > >> >> circumstances?
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > No. In recursive case the input will be a
>> directory
>> >> >> >> >>> containing
>> >> >> >> >>> >> > >> .t2flow of
>> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for
>> both
>> >> >> >> >>> recursive
>> >> >> >> >>> >> > >> >> > and
>> >> >> >> >>> >> > non
>> >> >> >> >>> >> > >> >> > recursive cases.
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > I created a blog about the conversion command.
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> >
>> >> >> >> >>>
>> >> >>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > If you have some suggestions, please inform.
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > Thank you very much!
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > Regards
>> >> >> >> >>> >> > >> >> > Menaka
>> >> >> >> >>> >> > >> >> >
>> >> >> >> >>> >> > >> >> > --
>> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
>> http://www.pdn.ac.lk/eng>
>> >> >> >> >>> University
>> >> >> >> >>> >> > >> >> > of Peradeniyaya.
>> >> >> >> >>> >> > >> >> > LinkedIn <
>> >> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>> >> > >> >>
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> >
>> >> >> >> >>> >> > >> > --
>> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>> >> >> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> University
>> >> >> >> >>> of
>> >> >> >> >>> >> > >> > Peradeniyaya.
>> >> >> >> >>> >> > >> > LinkedIn <
>> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>> >> > >>
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > >
>> >> >> >> >>> >> > > --
>> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
>> >> >> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> University
>> >> >> >> of
>> >> >> >> >>> >> > > Peradeniyaya.
>> >> >> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>> >> >
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>> >> --
>> >> >> >> >>> >> Menaka Madushanka Jayawardena
>> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> University of
>> >> >> >> >>> >> Peradeniyaya.
>> >> >> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>> >>
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> > --
>> >> >> >> >>> > Menaka Madushanka Jayawardena
>> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >>> > University of Peradeniyaya.
>> >> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Menaka Madushanka Jayawardena
>> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> >> University of Peradeniyaya.
>> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Menaka Madushanka Jayawardena
>> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> > University of Peradeniyaya.
>> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Menaka Madushanka Jayawardena
>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> > University of Peradeniyaya.
>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
The tool is almost done I think. The functionalities,
conversion,
validation,
inspection and
statistics
are done.
So what remaining is, completing the documentation.
I'll be able to finish it before 10 July hopefully. :-)
On 30 June 2015 at 19:43, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> Thank you. I appreciate your feedback, and I'd like to help however I can.
>
> When do you expect to finish your project and documentation?
>
> I'll be on vacation from July 1 through July 10, but I'll try to stay in
> touch.
>
> Thanks,
>
> Gale
>
> On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hello Gale,
> > Great work. :-)
> >
> > I did notice the mygrid pages said the information was out of date.
> >>
> > Yes. I also faced the same condition when I was starting the project. The
> > documentation will be updated very soon as the project releases. :-)
> >
> > I am to write the full complete documentation for the command line tool.
> > I'll appreciate your support for it. :-)
> >
> > Cheers.
> > Menaka
> >
> > On 29 June 2015 at 22:10, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> >I found this doc in
> >> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >>
> >> Thanks for the link. I also found this mygrid link:
> >> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle
> ,
> >> which is very clear about the .wfbundle file extension.
> >>
> >> I did notice the mygrid pages said the information was out of date.
> >> So, I also looked at the taverna incubator documentation, and the
> >> incubator SCUFL API page pointed me to a github page for the latest
> >> information. I found the github SCUFL examples to be helpful:
> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> >> .
> >> In the readme file, the t2flowtowfbundle tool describes the conversion
> >> of a .t2flow file to a SCUFL2 .wfbundle.
> >>
> >> Although I did find one example of a ".scufl2 bundle"
> >> (http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> >> ), most of the references indicate the correct file extension is
> >> .wfbundle. So, I removed the .scufl2 references from my mapping table.
> >> Please let me know if I missed something here.
> >>
> >> I also updated the table to reflect the .wfbundle --> .json and
> >> .wfbundle --> .iwir mappings.
> >>
> >> Thanks!
> >>
> >> Gale
> >>
> >> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> >
> >> > So, .wfbundles can be converted to .json and .iwir formats as well as
> >> >> .structure?
> >> >
> >> >
> >> > Yes.
> >> >
> >> > Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> (taverna-sculf2-wfbundle)
> >> >> and scufl2 is the *workflow* format of Taverna 3
> (taverna-scufl2-api)?
> >> >
> >> >
> >> > I found this doc in
> >> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >> >
> >> > Cheers
> >> > Menaka
> >> >
> >> > On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> > According to the documentations provided, SCUFL is an experimental
> >> >> module.
> >> >> > So It has not added to the tool yet.
> >> >>
> >> >> Okay, I see now. That makes sense. FYI, because I am a visual person,
> >> >> I took the Taverna
> >> >> Language Module information and created a diagram:
> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >> >>
> >> >> > The taverna language is capable of converting .t2flow workflows
> into
> >> >> > .wfbundle and other formats, and .wfbundles into formats except
> >> .t2flow.
> >> >>
> >> >> So, .wfbundles can be converted to .json and .iwir formats as well as
> >> >> .structure?
> >> >> If so, I will update my table.
> >> >>
> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> >> >> Taverna
> >> >> > 3)
> >> >>
> >> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> >> (taverna-sculf2-wfbundle)
> >> >> and scufl2 is the *workflow* format of Taverna 3
> (taverna-scufl2-api)?
> >> >>
> >> >> > Input file type detection was done to avoid any exceptions when
> >> reading
> >> >> the
> >> >> > wokflow file. ...
> >> >> > In new_features2, I removed it because I have entered the wrong
> >> logic. I
> >> >> > restored it.
> >> >>
> >> >> Okay, understood.
> >> >>
> >> >> Thank you!
> >> >>
> >> >> Gale
> >> >>
> >> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hi Gale,
> >> >> > According to the documentations provided, SCUFL is an experimental
> >> >> module.
> >> >> > So It has not added to the tool yet.
> >> >> >
> >> >> > I presumed that.scufl2 workflows could be converted to the same
> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
> know
> >> >> >> and I'll fix it.
> >> >> >
> >> >> > The taverna language is capable of converting .t2flow workflows
> into
> >> >> > .wfbundle and other formats, and .wfbundles into formats except
> >> .t2flow.
> >> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> >> >> Taverna
> >> >> > 3)
> >> >> >
> >> >> > Also, I was wondering about something you said in one of your June
> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >> >> >> features2).
> >> >> >> You said "File type detection removed."
> >> >> >>
> >> >> >> Which file type detection is this? Is this related to Stain's June
> >> 4th
> >> >> >> email, in which he said the input format is auto-guessed by
> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
> this
> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >
> >> >> >
> >> >> > Input file type detection was done to avoid any exceptions when
> >> reading
> >> >> the
> >> >> > wokflow file. The WorkflowBundleIO can guess the media type and
> read
> >> the
> >> >> > bundle but, the input format could be wrongly entered by the user.
> We
> >> >> can't
> >> >> > promise that the user could always do the correct thing. Also in
> >> >> recursive
> >> >> > conversion, there could be other files also.
> >> >> >
> >> >> > In new_features2, I removed it because I have entered the wrong
> >> logic. I
> >> >> > restored it.
> >> >> >
> >> >> > Thank you
> >> >> > Menaka
> >> >> >
> >> >> >
> >> >> >
> >> >> > On 27 June 2015 at 01:54, Gale Naylor <galen@noventussolutions.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Hi Menaka,
> >> >> >>
> >> >> >> A couple more things.
> >> >> >>
> >> >> >> I am trying to organize my understanding of how the conversions
> work,
> >> >> >> so I wrote a new blog post with a conversion table:
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >> >> >>
> >> >> >> I presumed that.scufl2 workflows could be converted to the same
> >> >> >> formats as .t2flow workflows, but if that's not correct, let me
> know
> >> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed?
> >> The
> >> >> >> table is my best guess from reading all of the emails, so please
> let
> >> >> >> me know if anything is wrong, or if I missed something.
> >> >> >>
> >> >> >> Also, I was wondering about something you said in one of your June
> >> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >> >> >> features2).
> >> >> >> You said "File type detection removed."
> >> >> >>
> >> >> >> Which file type detection is this? Is this related to Stain's June
> >> 4th
> >> >> >> email, in which he said the input format is auto-guessed by
> >> >> >> WorkflowBundleIO? Just wondering, because in my blog I included
> this
> >> >> >> comment and I wanted to make sure it is still accurate.
> >> >> >>
> >> >> >> Thanks!
> >> >> >>
> >> >> >> Gale
> >> >> >>
> >> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >> >> >> <me...@gmail.com> wrote:
> >> >> >> > Have a nice weekend too.....!!! :-)
> >> >> >> >
> >> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <
> menaka12350@gmail.com
> >> >
> >> >> >> wrote:
> >> >> >> >
> >> >> >> >> Hi Gale,
> >> >> >> >> I'm really appreciate your feedback on my blogs. I'm very new
> and
> >> >> there
> >> >> >> >> could be some flows. Thank you very much for showing them. :-)
> >> >> >> >>
> >> >> >> >> 1) Yes, the types of bundle formats that can be converted are
> >> listed
> >> >> in
> >> >> >> >> this blog.
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> >> >> >> The bundles are not workflows.
> >> >> >> >>
> >> >> >> >> 2) No. It seems like the way I have wrote it somewhat
> >> misleading.....
> >> >> >> >> Actually scufl2 workflows are not Bundles. Those are two
> different
> >> >> APIs.
> >> >> >> >> I'll update the blog. :-)
> >> >> >> >>
> >> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
> >> converted
> >> >> into
> >> >> >> >> robundle.
> >> >> >> >>
> >> >> >> >> 4). Yes Gale. That modification should be done. Other wise it
> >> looks
> >> >> like
> >> >> >> >> any format could be converted into Robundle. I'll update my
> blog
> >> too.
> >> >> >> >>
> >> >> >> >> Are there any more facts that need clarification about the
> blogs
> >> >> please
> >> >> >> >> ask me. :)
> >> >> >> >>
> >> >> >> >> Thank you very much Gale.
> >> >> >> >> Menaka
> >> >> >> >>
> >> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> >> galen@noventussolutions.com>
> >> >> >> wrote:
> >> >> >> >>
> >> >> >> >>> Hi Menaka,
> >> >> >> >>>
> >> >> >> >>> I've been reading and learning more about research objects,
> and I
> >> >> >> >>> think I understand better what is going on, but I still have
> some
> >> >> >> >>> questions.
> >> >> >> >>>
> >> >> >> >>> 1) I am curious as to which file types *can* be converted to
> >> >> .robundle
> >> >> >> >>> format? (I must have missed something because I thought
> .t2flow
> >> and
> >> >> >> >>> .wfbundle were the only allowed input file types.)
> >> >> >> >>>
> >> >> >> >>> 2) In rereading your June 18th blog post, I see you say that
> the
> >> >> >> >>> command line tool is for converting and managing workflow
> >> "bundles"
> >> >> as
> >> >> >> >>> well as research object bundles. Are t2flow files "workflow
> >> bundles"
> >> >> >> >>> or just "workflows?" Or is there not a practical difference?
> >> >> >> >>>
> >> >> >> >>> 3) I understand now that not all file format conversions are
> >> valid.
> >> >> >> >>> I'm trying to understand this better. In your June 18th blog
> post
> >> >> you
> >> >> >> >>> say:
> >> >> >> >>>
> >> >> >> >>> "The conversion function supports converting .t2flow and
> >> .wfbundle
> >> >> >> >>> formats into following formats:
> >> >> >> >>>
> >> >> >> >>> .structure
> >> >> >> >>>
> >> >> >> >>> .json
> >> >> >> >>>
> >> >> >> >>> .iwir
> >> >> >> >>>
> >> >> >> >>> .wfbundle
> >> >> >> >>>
> >> >> >> >>> .wfdesc.ttl –> (development in progress)
> >> >> >> >>>
> >> >> >> >>> .robundle –> (development in progress)"
> >> >> >> >>>
> >> >> >> >>> To me, reading this looks like all combinations are valid.
> >> >> >> >>>
> >> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be
> converted
> >> to
> >> >> >> >>> all file types *except* robundle?
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> 4) I fixed the examples in my blog post. Should I also change
> >> the
> >> >> >> >>> --robundle option description to say "Output bundle as
> .robundle"
> >> >> >> >>> instead of "Output workflow as .robundle" ? (Same for
> .wfbundle
> >> >> >> >>> option.)
> >> >> >> >>>
> >> >> >> >>> Thanks for the feedback and the correct link to the example!
> >> >> >> >>>
> >> >> >> >>> Have a nice weekend.
> >> >> >> >>>
> >> >> >> >>> Gale
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >> >> >>> <me...@gmail.com> wrote:
> >> >> >> >>> > Hi Gale,
> >> >> >> >>> > Use this link
> >> >> >> >>> >
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >> >> >>> >
> >> >> >> >>> > Cheers
> >> >> >> >>> > Menaka
> >> >> >> >>> >
> >> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >> >> galen@noventussolutions.com>
> >> >> >> >>> wrote:
> >> >> >> >>> >
> >> >> >> >>> >> Hi Menaka,
> >> >> >> >>> >>
> >> >> >> >>> >> Thank you for the feedback and clarifying information.
> Sorry
> >> not
> >> >> to
> >> >> >> >>> respond
> >> >> >> >>> >> sooner. I am learning about bundles, etc. and reading the
> link
> >> >> you
> >> >> >> >>> sent.
> >> >> >> >>> >>
> >> >> >> >>> >> One thing, I'm having trouble getting to the example in the
> >> >> Examples
> >> >> >> >>> of Use
> >> >> >> >>> >> Section: "Example in full is at
> >> >> >> >>> org.apache.taverna.robundle.TestExample"
> >> >> >> >>> >>
> >> >> >> >>> >> Can you help me? This is what I've done so far:
> >> >> >> >>> >>
> >> >> >> >>> >> - Clicking on the link gets me the "This is not the web
> page
> >> you
> >> >> are
> >> >> >> >>> >> looking
> >> >> >> >>> >> for" page. (This is the actual link address:
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> >> >>> >> )
> >> >> >> >>> >>
> >> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also
> >> doesn't
> >> >> >> work
> >> >> >> >>> for
> >> >> >> >>> >> me. I didn't think it would, but I tried anyway.
> >> >> >> >>> >>
> >> >> >> >>> >> - Searching for "taverna robundle TestExample" on the main
> >> >> >> Apache.com
> >> >> >> >>> page
> >> >> >> >>> >> yields no results.
> >> >> >> >>> >>
> >> >> >> >>> >> I will continue to read and understand the RO Bundle API
> page,
> >> >> but I
> >> >> >> >>> would
> >> >> >> >>> >> like to see the full Test Example, if possible.
> >> >> >> >>> >>
> >> >> >> >>> >> Thanks!
> >> >> >> >>> >>
> >> >> >> >>> >> Gale
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >> -----Original Message-----
> >> >> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >> >> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert
> >> command
> >> >> >> doc
> >> >> >> >>> >>
> >> >> >> >>> >> That's cool.....!! :-)
> >> >> >> >>> >> Correction:
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >> >> >>> >>
> >> >> >> >>> >> > Example 2: Simple conversion, multiple input files, no
> >> options
> >> >> >> >>> >> >
> >> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >> >> >> /someFile2.wfbundle
> >> >> >> >>> >> >
> >> >> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle*
> >> into
> >> >> >> >>> >> > *.robundle* format and saves the output files to the
> >> >> */converted*
> >> >> >> >>> >> > folder in the current working directory.
> >> >> >> >>> >> >
> >> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
> >> >> robundle
> >> >> >> >>> format.
> >> >> >> >>> >> Its only for some specific bundle formats. Go through this
> doc
> >> >> for
> >> >> >> more
> >> >> >> >>> >> info.
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >> >> >>> >>
> >> >> >> >>> >> cheers.
> >> >> >> >>> >>
> >> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >> >> galen@noventussolutions.com>
> >> >> >> >>> wrote:
> >> >> >> >>> >>
> >> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed
> the
> >> two
> >> >> >> blog
> >> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I also
> made
> >> a
> >> >> few
> >> >> >> >>> >> > refinements.
> >> >> >> >>> >> >
> >> >> >> >>> >> > Thanks,
> >> >> >> >>> >> > Gale
> >> >> >> >>> >> >
> >> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >> >> >>> >> > <me...@gmail.com> wrote:
> >> >> >> >>> >> > > Thank you very much Gale,
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > I showed the output-format without brackets to indicate
> >> it is
> >> >> >> >>> >> > >> required and not optional because it appears to be
> always
> >> >> >> >>> necessary
> >> >> >> >>> >> > >
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > That would be more accurate I think. I'm very new for
> >> >> >> >>> documentation.
> >> >> >> >>> >> > Thank
> >> >> >> >>> >> > > you very much.
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > I left the -json output file type as having a single
> >> dash,
> >> >> but
> >> >> >> all
> >> >> >> >>> >> > >> the other output types have double-dashes. Should I
> >> change
> >> >> the
> >> >> >> >>> json
> >> >> >> >>> >> > >> output argument to --json?
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > > -json should be --json. In my email that was a
> mistake. So
> >> >> you
> >> >> >> can
> >> >> >> >>> >> > > use
> >> >> >> >>> >> > --.
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > (Wordpress is driving me crazy because it is showing
> the
> >> >> >> >>> >> > > double-dashes
> >> >> >> >>> >> > >> as long single dashes, even when I use the monospace
> >> >> >> font-family.
> >> >> >> >>> >> > >> Any
> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> >> >> >> >>> preformatted.
> >> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >> >> >> >>> >> > >
> >> >> >> >>> >> >
> >> >> >> >>>
> >> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > Thank you very much.
> >> >> >> >>> >> > > Menaka
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > I'll go through your documentations.
> >> >> >> >>> >> > >
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> >> >> galen@noventussolutions.com
> >> >> >> >>> >
> >> >> >> >>> >> > wrote:
> >> >> >> >>> >> > >
> >> >> >> >>> >> > >> Hi Menaka,
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> Thanks for updating your blog! I have some additional
> >> >> feedback
> >> >> >> in
> >> >> >> >>> >> > >> the form of two blog posts. One has a detailed
> >> description
> >> >> (as
> >> >> >> I
> >> >> >> >>> >> > >> understand it) of the convert command and one has
> several
> >> >> >> >>> examples,
> >> >> >> >>> >> > >> building on the examples in your blog. I hope these
> will
> >> >> help
> >> >> >> the
> >> >> >> >>> >> > >> discussion of the command structure. Here are the
> links:
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >>
> >> >> >> >>> >> >
> >> >> >> >>>
> >> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >>> >> > mmand-line-convert-command/
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >>
> >> >> >> >>> >> >
> >> >> >> >>>
> >> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >> >>> >> > mmand-line-convert-examples/
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> Some things to note:
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> (1) l basically used your June 18th post, but a few
> >> things
> >> >> >> (like
> >> >> >> >>> >> > >> the validate command) are from earlier posts/emails.
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> (2) I showed the output-format without brackets to
> >> indicate
> >> >> it
> >> >> >> is
> >> >> >> >>> >> > >> required and not optional because it appears to be
> always
> >> >> >> >>> necessary.
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> (3) The way I understand the overall command
> structure,
> >> it
> >> >> >> seemed
> >> >> >> >>> >> > >> that all options (e.g., the output file directory)
> should
> >> >> come
> >> >> >> >>> >> > >> before the input-file-list, so that's what I assumed.
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> (4) I left the -json output file type as having a
> single
> >> >> dash,
> >> >> >> but
> >> >> >> >>> >> > >> all the other output types have double-dashes. Should
> I
> >> >> change
> >> >> >> the
> >> >> >> >>> >> > >> json output argument to --json?
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> Please let me know if anything is incorrect and I will
> >> >> change
> >> >> >> it.
> >> >> >> >>> I
> >> >> >> >>> >> > >> realize the command structure is fluid, and I'm happy
> to
> >> >> make
> >> >> >> any
> >> >> >> >>> >> > >> changes as things evolve.
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> (Wordpress is driving me crazy because it is showing
> the
> >> >> >> >>> >> > >> double-dashes as long single dashes, even when I use
> the
> >> >> >> monospace
> >> >> >> >>> >> > >> font-family. Any
> >> >> >> >>> >> > >> suggestions?)
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> Thanks,
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> Gale
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >> >> >> >>> >> > >> > Hi Gale,
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> > Thank you very much.
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> > . Can you help me
> >> >> >> >>> >> > >> >> understand what you mean when you say the files
> will
> >> get
> >> >> >> saved
> >> >> >> >>> >> > >> >> to the C directory?
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> > That was a mistake :-). I updated the blog. That
> >> should be
> >> >> >> >>> >> > >> > corrected
> >> >> >> >>> >> > as
> >> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> >> /home/usrname/toConvert/ –>
> >> >> >> >>> >> > >> > *Convert
> >> >> >> >>> >> > the
> >> >> >> >>> >> > >> > files and save them in the …/toConvert/converted/
> >> >> directory.
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> > I would appreciate more feedback, modifications
> etc. So
> >> >> with
> >> >> >> the
> >> >> >> >>> >> > >> > help
> >> >> >> >>> >> > of
> >> >> >> >>> >> > >> > the community we could come up with a much better
> >> >> structure.
> >> >> >> >>> >> > >> > Cheers
> >> >> >> >>> >> > >> > Menaka
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >> >> >> >>> >> > >> wrote:
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> >> Hi Menaka,
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> I am very happy to help, and I understand the
> command
> >> >> >> structure
> >> >> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
> >> >> post; it
> >> >> >> >>> was
> >> >> >> >>> >> > >> >> very helpful.
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> I am a little confused about your recursive
> example.
> >> Can
> >> >> you
> >> >> >> >>> >> > >> >> help me understand what you mean when you say the
> >> files
> >> >> will
> >> >> >> >>> get
> >> >> >> >>> >> > >> >> saved to the C directory? Because you show the
> output
> >> >> being
> >> >> >> >>> saved
> >> >> >> >>> >> > >> >> to:
> >> >> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> This is the example:
> >> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> >> /home/usrname/toConvert/ –>
> >> >> >> >>> >> > >> >> Convert the files and save them in the C directory.
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> Thank you!
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> Gale
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> B
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >> >> >> >>> >> > >> >> > Hi Gale,
> >> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very
> >> much.
> >> >> :-)
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the
> command:
> >> >> >> tavlang
> >> >> >> >>> >> > convert
> >> >> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I
> >> wrong in
> >> >> >> >>> >> > >> >> >> thinking
> >> >> >> >>> >> > that
> >> >> >> >>> >> > >> the
> >> >> >> >>> >> > >> >> >> output formats are handled as options?
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > Yes there is a little difference in the
> structure of
> >> >> >> commands
> >> >> >> >>> >> > >> >> > now
> >> >> >> >>> >> > and
> >> >> >> >>> >> > >> >> then.
> >> >> >> >>> >> > >> >> > So for the moment the command structure is like
> >> this.
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
> >> >> [arguments]
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so,
> >> under
> >> >> >> what
> >> >> >> >>> >> > >> >> circumstances?
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > No. In recursive case the input will be a
> directory
> >> >> >> >>> containing
> >> >> >> >>> >> > >> .t2flow of
> >> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for
> both
> >> >> >> >>> recursive
> >> >> >> >>> >> > >> >> > and
> >> >> >> >>> >> > non
> >> >> >> >>> >> > >> >> > recursive cases.
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > I created a blog about the conversion command.
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >>
> >> >> >> >>> >> >
> >> >> >> >>>
> >> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > If you have some suggestions, please inform.
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > Thank you very much!
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > Regards
> >> >> >> >>> >> > >> >> > Menaka
> >> >> >> >>> >> > >> >> >
> >> >> >> >>> >> > >> >> > --
> >> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> >> >>> >> > >> >> > Faculty of Engineering, <
> http://www.pdn.ac.lk/eng>
> >> >> >> >>> University
> >> >> >> >>> >> > >> >> > of Peradeniyaya.
> >> >> >> >>> >> > >> >> > LinkedIn <
> >> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>> >> > >> >>
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> >
> >> >> >> >>> >> > >> > --
> >> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >> >> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> University
> >> >> >> >>> of
> >> >> >> >>> >> > >> > Peradeniyaya.
> >> >> >> >>> >> > >> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>> >> > >>
> >> >> >> >>> >> > >
> >> >> >> >>> >> > >
> >> >> >> >>> >> > >
> >> >> >> >>> >> > > --
> >> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >> >> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> University
> >> >> >> of
> >> >> >> >>> >> > > Peradeniyaya.
> >> >> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>> >> >
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >> --
> >> >> >> >>> >> Menaka Madushanka Jayawardena
> >> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University of
> >> >> >> >>> >> Peradeniyaya.
> >> >> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>> >>
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> > --
> >> >> >> >>> > Menaka Madushanka Jayawardena
> >> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >>> > University of Peradeniyaya.
> >> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> Menaka Madushanka Jayawardena
> >> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> >> University of Peradeniyaya.
> >> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Menaka Madushanka Jayawardena
> >> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> > University of Peradeniyaya.
> >> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
Thank you. I appreciate your feedback, and I'd like to help however I can.
When do you expect to finish your project and documentation?
I'll be on vacation from July 1 through July 10, but I'll try to stay in touch.
Thanks,
Gale
On Mon, Jun 29, 2015 at 11:23 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hello Gale,
> Great work. :-)
>
> I did notice the mygrid pages said the information was out of date.
>>
> Yes. I also faced the same condition when I was starting the project. The
> documentation will be updated very soon as the project releases. :-)
>
> I am to write the full complete documentation for the command line tool.
> I'll appreciate your support for it. :-)
>
> Cheers.
> Menaka
>
> On 29 June 2015 at 22:10, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> >I found this doc in
>> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>
>> Thanks for the link. I also found this mygrid link:
>> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle,
>> which is very clear about the .wfbundle file extension.
>>
>> I did notice the mygrid pages said the information was out of date.
>> So, I also looked at the taverna incubator documentation, and the
>> incubator SCUFL API page pointed me to a github page for the latest
>> information. I found the github SCUFL examples to be helpful:
>>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
>> .
>> In the readme file, the t2flowtowfbundle tool describes the conversion
>> of a .t2flow file to a SCUFL2 .wfbundle.
>>
>> Although I did find one example of a ".scufl2 bundle"
>> (http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
>> ), most of the references indicate the correct file extension is
>> .wfbundle. So, I removed the .scufl2 references from my mapping table.
>> Please let me know if I missed something here.
>>
>> I also updated the table to reflect the .wfbundle --> .json and
>> .wfbundle --> .iwir mappings.
>>
>> Thanks!
>>
>> Gale
>>
>> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> >
>> > So, .wfbundles can be converted to .json and .iwir formats as well as
>> >> .structure?
>> >
>> >
>> > Yes.
>> >
>> > Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> (taverna-sculf2-wfbundle)
>> >> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>> >
>> >
>> > I found this doc in
>> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>> >
>> > Cheers
>> > Menaka
>> >
>> > On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> > According to the documentations provided, SCUFL is an experimental
>> >> module.
>> >> > So It has not added to the tool yet.
>> >>
>> >> Okay, I see now. That makes sense. FYI, because I am a visual person,
>> >> I took the Taverna
>> >> Language Module information and created a diagram:
>> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>> >>
>> >> > The taverna language is capable of converting .t2flow workflows into
>> >> > .wfbundle and other formats, and .wfbundles into formats except
>> .t2flow.
>> >>
>> >> So, .wfbundles can be converted to .json and .iwir formats as well as
>> >> .structure?
>> >> If so, I will update my table.
>> >>
>> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>> >> Taverna
>> >> > 3)
>> >>
>> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
>> >> (taverna-sculf2-wfbundle)
>> >> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>> >>
>> >> > Input file type detection was done to avoid any exceptions when
>> reading
>> >> the
>> >> > wokflow file. ...
>> >> > In new_features2, I removed it because I have entered the wrong
>> logic. I
>> >> > restored it.
>> >>
>> >> Okay, understood.
>> >>
>> >> Thank you!
>> >>
>> >> Gale
>> >>
>> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Hi Gale,
>> >> > According to the documentations provided, SCUFL is an experimental
>> >> module.
>> >> > So It has not added to the tool yet.
>> >> >
>> >> > I presumed that.scufl2 workflows could be converted to the same
>> >> >> formats as .t2flow workflows, but if that's not correct, let me know
>> >> >> and I'll fix it.
>> >> >
>> >> > The taverna language is capable of converting .t2flow workflows into
>> >> > .wfbundle and other formats, and .wfbundles into formats except
>> .t2flow.
>> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>> >> Taverna
>> >> > 3)
>> >> >
>> >> > Also, I was wondering about something you said in one of your June
>> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> >> >> features2).
>> >> >> You said "File type detection removed."
>> >> >>
>> >> >> Which file type detection is this? Is this related to Stain's June
>> 4th
>> >> >> email, in which he said the input format is auto-guessed by
>> >> >> WorkflowBundleIO? Just wondering, because in my blog I included this
>> >> >> comment and I wanted to make sure it is still accurate.
>> >> >
>> >> >
>> >> > Input file type detection was done to avoid any exceptions when
>> reading
>> >> the
>> >> > wokflow file. The WorkflowBundleIO can guess the media type and read
>> the
>> >> > bundle but, the input format could be wrongly entered by the user. We
>> >> can't
>> >> > promise that the user could always do the correct thing. Also in
>> >> recursive
>> >> > conversion, there could be other files also.
>> >> >
>> >> > In new_features2, I removed it because I have entered the wrong
>> logic. I
>> >> > restored it.
>> >> >
>> >> > Thank you
>> >> > Menaka
>> >> >
>> >> >
>> >> >
>> >> > On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >
>> >> >> Hi Menaka,
>> >> >>
>> >> >> A couple more things.
>> >> >>
>> >> >> I am trying to organize my understanding of how the conversions work,
>> >> >> so I wrote a new blog post with a conversion table:
>> >> >>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>> >> >>
>> >> >> I presumed that.scufl2 workflows could be converted to the same
>> >> >> formats as .t2flow workflows, but if that's not correct, let me know
>> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed?
>> The
>> >> >> table is my best guess from reading all of the emails, so please let
>> >> >> me know if anything is wrong, or if I missed something.
>> >> >>
>> >> >> Also, I was wondering about something you said in one of your June
>> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> >> >> features2).
>> >> >> You said "File type detection removed."
>> >> >>
>> >> >> Which file type detection is this? Is this related to Stain's June
>> 4th
>> >> >> email, in which he said the input format is auto-guessed by
>> >> >> WorkflowBundleIO? Just wondering, because in my blog I included this
>> >> >> comment and I wanted to make sure it is still accurate.
>> >> >>
>> >> >> Thanks!
>> >> >>
>> >> >> Gale
>> >> >>
>> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> >> >> <me...@gmail.com> wrote:
>> >> >> > Have a nice weekend too.....!!! :-)
>> >> >> >
>> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <menaka12350@gmail.com
>> >
>> >> >> wrote:
>> >> >> >
>> >> >> >> Hi Gale,
>> >> >> >> I'm really appreciate your feedback on my blogs. I'm very new and
>> >> there
>> >> >> >> could be some flows. Thank you very much for showing them. :-)
>> >> >> >>
>> >> >> >> 1) Yes, the types of bundle formats that can be converted are
>> listed
>> >> in
>> >> >> >> this blog.
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> >> >> The bundles are not workflows.
>> >> >> >>
>> >> >> >> 2) No. It seems like the way I have wrote it somewhat
>> misleading.....
>> >> >> >> Actually scufl2 workflows are not Bundles. Those are two different
>> >> APIs.
>> >> >> >> I'll update the blog. :-)
>> >> >> >>
>> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
>> converted
>> >> into
>> >> >> >> robundle.
>> >> >> >>
>> >> >> >> 4). Yes Gale. That modification should be done. Other wise it
>> looks
>> >> like
>> >> >> >> any format could be converted into Robundle. I'll update my blog
>> too.
>> >> >> >>
>> >> >> >> Are there any more facts that need clarification about the blogs
>> >> please
>> >> >> >> ask me. :)
>> >> >> >>
>> >> >> >> Thank you very much Gale.
>> >> >> >> Menaka
>> >> >> >>
>> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
>> galen@noventussolutions.com>
>> >> >> wrote:
>> >> >> >>
>> >> >> >>> Hi Menaka,
>> >> >> >>>
>> >> >> >>> I've been reading and learning more about research objects, and I
>> >> >> >>> think I understand better what is going on, but I still have some
>> >> >> >>> questions.
>> >> >> >>>
>> >> >> >>> 1) I am curious as to which file types *can* be converted to
>> >> .robundle
>> >> >> >>> format? (I must have missed something because I thought .t2flow
>> and
>> >> >> >>> .wfbundle were the only allowed input file types.)
>> >> >> >>>
>> >> >> >>> 2) In rereading your June 18th blog post, I see you say that the
>> >> >> >>> command line tool is for converting and managing workflow
>> "bundles"
>> >> as
>> >> >> >>> well as research object bundles. Are t2flow files "workflow
>> bundles"
>> >> >> >>> or just "workflows?" Or is there not a practical difference?
>> >> >> >>>
>> >> >> >>> 3) I understand now that not all file format conversions are
>> valid.
>> >> >> >>> I'm trying to understand this better. In your June 18th blog post
>> >> you
>> >> >> >>> say:
>> >> >> >>>
>> >> >> >>> "The conversion function supports converting .t2flow and
>> .wfbundle
>> >> >> >>> formats into following formats:
>> >> >> >>>
>> >> >> >>> .structure
>> >> >> >>>
>> >> >> >>> .json
>> >> >> >>>
>> >> >> >>> .iwir
>> >> >> >>>
>> >> >> >>> .wfbundle
>> >> >> >>>
>> >> >> >>> .wfdesc.ttl –> (development in progress)
>> >> >> >>>
>> >> >> >>> .robundle –> (development in progress)"
>> >> >> >>>
>> >> >> >>> To me, reading this looks like all combinations are valid.
>> >> >> >>>
>> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be converted
>> to
>> >> >> >>> all file types *except* robundle?
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> 4) I fixed the examples in my blog post. Should I also change
>> the
>> >> >> >>> --robundle option description to say "Output bundle as .robundle"
>> >> >> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>> >> >> >>> option.)
>> >> >> >>>
>> >> >> >>> Thanks for the feedback and the correct link to the example!
>> >> >> >>>
>> >> >> >>> Have a nice weekend.
>> >> >> >>>
>> >> >> >>> Gale
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> >> >>> <me...@gmail.com> wrote:
>> >> >> >>> > Hi Gale,
>> >> >> >>> > Use this link
>> >> >> >>> >
>> >> >> >>>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >> >>> >
>> >> >> >>> > Cheers
>> >> >> >>> > Menaka
>> >> >> >>> >
>> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>> >> galen@noventussolutions.com>
>> >> >> >>> wrote:
>> >> >> >>> >
>> >> >> >>> >> Hi Menaka,
>> >> >> >>> >>
>> >> >> >>> >> Thank you for the feedback and clarifying information. Sorry
>> not
>> >> to
>> >> >> >>> respond
>> >> >> >>> >> sooner. I am learning about bundles, etc. and reading the link
>> >> you
>> >> >> >>> sent.
>> >> >> >>> >>
>> >> >> >>> >> One thing, I'm having trouble getting to the example in the
>> >> Examples
>> >> >> >>> of Use
>> >> >> >>> >> Section: "Example in full is at
>> >> >> >>> org.apache.taverna.robundle.TestExample"
>> >> >> >>> >>
>> >> >> >>> >> Can you help me? This is what I've done so far:
>> >> >> >>> >>
>> >> >> >>> >> - Clicking on the link gets me the "This is not the web page
>> you
>> >> are
>> >> >> >>> >> looking
>> >> >> >>> >> for" page. (This is the actual link address:
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >> >>> >> )
>> >> >> >>> >>
>> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also
>> doesn't
>> >> >> work
>> >> >> >>> for
>> >> >> >>> >> me. I didn't think it would, but I tried anyway.
>> >> >> >>> >>
>> >> >> >>> >> - Searching for "taverna robundle TestExample" on the main
>> >> >> Apache.com
>> >> >> >>> page
>> >> >> >>> >> yields no results.
>> >> >> >>> >>
>> >> >> >>> >> I will continue to read and understand the RO Bundle API page,
>> >> but I
>> >> >> >>> would
>> >> >> >>> >> like to see the full Test Example, if possible.
>> >> >> >>> >>
>> >> >> >>> >> Thanks!
>> >> >> >>> >>
>> >> >> >>> >> Gale
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >> -----Original Message-----
>> >> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >> >>> >> To: dev@taverna.incubator.apache.org
>> >> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert
>> command
>> >> >> doc
>> >> >> >>> >>
>> >> >> >>> >> That's cool.....!! :-)
>> >> >> >>> >> Correction:
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>>
>> >> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >> >>> >>
>> >> >> >>> >> > Example 2: Simple conversion, multiple input files, no
>> options
>> >> >> >>> >> >
>> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> >> >> /someFile2.wfbundle
>> >> >> >>> >> >
>> >> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle*
>> into
>> >> >> >>> >> > *.robundle* format and saves the output files to the
>> >> */converted*
>> >> >> >>> >> > folder in the current working directory.
>> >> >> >>> >> >
>> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
>> >> robundle
>> >> >> >>> format.
>> >> >> >>> >> Its only for some specific bundle formats. Go through this doc
>> >> for
>> >> >> more
>> >> >> >>> >> info.
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>>
>> >> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >> >>> >>
>> >> >> >>> >> cheers.
>> >> >> >>> >>
>> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>> >> galen@noventussolutions.com>
>> >> >> >>> wrote:
>> >> >> >>> >>
>> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the
>> two
>> >> >> blog
>> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I also made
>> a
>> >> few
>> >> >> >>> >> > refinements.
>> >> >> >>> >> >
>> >> >> >>> >> > Thanks,
>> >> >> >>> >> > Gale
>> >> >> >>> >> >
>> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> >> >>> >> > <me...@gmail.com> wrote:
>> >> >> >>> >> > > Thank you very much Gale,
>> >> >> >>> >> > >
>> >> >> >>> >> > > I showed the output-format without brackets to indicate
>> it is
>> >> >> >>> >> > >> required and not optional because it appears to be always
>> >> >> >>> necessary
>> >> >> >>> >> > >
>> >> >> >>> >> > >
>> >> >> >>> >> > > That would be more accurate I think. I'm very new for
>> >> >> >>> documentation.
>> >> >> >>> >> > Thank
>> >> >> >>> >> > > you very much.
>> >> >> >>> >> > >
>> >> >> >>> >> > > I left the -json output file type as having a single
>> dash,
>> >> but
>> >> >> all
>> >> >> >>> >> > >> the other output types have double-dashes. Should I
>> change
>> >> the
>> >> >> >>> json
>> >> >> >>> >> > >> output argument to --json?
>> >> >> >>> >> > >>
>> >> >> >>> >> > > -json should be --json. In my email that was a mistake. So
>> >> you
>> >> >> can
>> >> >> >>> >> > > use
>> >> >> >>> >> > --.
>> >> >> >>> >> > >
>> >> >> >>> >> > > (Wordpress is driving me crazy because it is showing the
>> >> >> >>> >> > > double-dashes
>> >> >> >>> >> > >> as long single dashes, even when I use the monospace
>> >> >> font-family.
>> >> >> >>> >> > >> Any
>> >> >> >>> >> > >> suggestions?)
>> >> >> >>> >> > >>
>> >> >> >>> >> > >
>> >> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>> >> >> >>> preformatted.
>> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >> >> >>> >> > >
>> >> >> >>> >> >
>> >> >> >>>
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >>> >> > >
>> >> >> >>> >> > > Thank you very much.
>> >> >> >>> >> > > Menaka
>> >> >> >>> >> > >
>> >> >> >>> >> > > I'll go through your documentations.
>> >> >> >>> >> > >
>> >> >> >>> >> > >
>> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> >> >> galen@noventussolutions.com
>> >> >> >>> >
>> >> >> >>> >> > wrote:
>> >> >> >>> >> > >
>> >> >> >>> >> > >> Hi Menaka,
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> Thanks for updating your blog! I have some additional
>> >> feedback
>> >> >> in
>> >> >> >>> >> > >> the form of two blog posts. One has a detailed
>> description
>> >> (as
>> >> >> I
>> >> >> >>> >> > >> understand it) of the convert command and one has several
>> >> >> >>> examples,
>> >> >> >>> >> > >> building on the examples in your blog. I hope these will
>> >> help
>> >> >> the
>> >> >> >>> >> > >> discussion of the command structure. Here are the links:
>> >> >> >>> >> > >>
>> >> >> >>> >> > >>
>> >> >> >>> >> > >>
>> >> >> >>> >> >
>> >> >> >>>
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >>> >> > mmand-line-convert-command/
>> >> >> >>> >> > >>
>> >> >> >>> >> > >>
>> >> >> >>> >> > >>
>> >> >> >>> >> >
>> >> >> >>>
>> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >> >>> >> > mmand-line-convert-examples/
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> Some things to note:
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> (1) l basically used your June 18th post, but a few
>> things
>> >> >> (like
>> >> >> >>> >> > >> the validate command) are from earlier posts/emails.
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> (2) I showed the output-format without brackets to
>> indicate
>> >> it
>> >> >> is
>> >> >> >>> >> > >> required and not optional because it appears to be always
>> >> >> >>> necessary.
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> (3) The way I understand the overall command structure,
>> it
>> >> >> seemed
>> >> >> >>> >> > >> that all options (e.g., the output file directory) should
>> >> come
>> >> >> >>> >> > >> before the input-file-list, so that's what I assumed.
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> (4) I left the -json output file type as having a single
>> >> dash,
>> >> >> but
>> >> >> >>> >> > >> all the other output types have double-dashes. Should I
>> >> change
>> >> >> the
>> >> >> >>> >> > >> json output argument to --json?
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> Please let me know if anything is incorrect and I will
>> >> change
>> >> >> it.
>> >> >> >>> I
>> >> >> >>> >> > >> realize the command structure is fluid, and I'm happy to
>> >> make
>> >> >> any
>> >> >> >>> >> > >> changes as things evolve.
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> (Wordpress is driving me crazy because it is showing the
>> >> >> >>> >> > >> double-dashes as long single dashes, even when I use the
>> >> >> monospace
>> >> >> >>> >> > >> font-family. Any
>> >> >> >>> >> > >> suggestions?)
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> Thanks,
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> Gale
>> >> >> >>> >> > >>
>> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> >> >>> >> > >> <me...@gmail.com> wrote:
>> >> >> >>> >> > >> > Hi Gale,
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> > Thank you very much.
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> > . Can you help me
>> >> >> >>> >> > >> >> understand what you mean when you say the files will
>> get
>> >> >> saved
>> >> >> >>> >> > >> >> to the C directory?
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> > That was a mistake :-). I updated the blog. That
>> should be
>> >> >> >>> >> > >> > corrected
>> >> >> >>> >> > as
>> >> >> >>> >> > >> > *$tavlang convert –json -r -i
>> /home/usrname/toConvert/ –>
>> >> >> >>> >> > >> > *Convert
>> >> >> >>> >> > the
>> >> >> >>> >> > >> > files and save them in the …/toConvert/converted/
>> >> directory.
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> > I would appreciate more feedback, modifications etc. So
>> >> with
>> >> >> the
>> >> >> >>> >> > >> > help
>> >> >> >>> >> > of
>> >> >> >>> >> > >> > the community we could come up with a much better
>> >> structure.
>> >> >> >>> >> > >> > Cheers
>> >> >> >>> >> > >> > Menaka
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >> >>> >> > >> > <ga...@noventussolutions.com>
>> >> >> >>> >> > >> wrote:
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> >> Hi Menaka,
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> I am very happy to help, and I understand the command
>> >> >> structure
>> >> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
>> >> post; it
>> >> >> >>> was
>> >> >> >>> >> > >> >> very helpful.
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> I am a little confused about your recursive example.
>> Can
>> >> you
>> >> >> >>> >> > >> >> help me understand what you mean when you say the
>> files
>> >> will
>> >> >> >>> get
>> >> >> >>> >> > >> >> saved to the C directory? Because you show the output
>> >> being
>> >> >> >>> saved
>> >> >> >>> >> > >> >> to:
>> >> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> This is the example:
>> >> >> >>> >> > >> >> $tavlang convert –json -r -i
>> /home/usrname/toConvert/ –>
>> >> >> >>> >> > >> >> Convert the files and save them in the C directory.
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> Thank you!
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> Gale
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> B
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
>> >> >> >>> >> > >> >> > Hi Gale,
>> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very
>> much.
>> >> :-)
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the command:
>> >> >> tavlang
>> >> >> >>> >> > convert
>> >> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I
>> wrong in
>> >> >> >>> >> > >> >> >> thinking
>> >> >> >>> >> > that
>> >> >> >>> >> > >> the
>> >> >> >>> >> > >> >> >> output formats are handled as options?
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > Yes there is a little difference in the structure of
>> >> >> commands
>> >> >> >>> >> > >> >> > now
>> >> >> >>> >> > and
>> >> >> >>> >> > >> >> then.
>> >> >> >>> >> > >> >> > So for the moment the command structure is like
>> this.
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
>> >> [arguments]
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so,
>> under
>> >> >> what
>> >> >> >>> >> > >> >> circumstances?
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > No. In recursive case the input will be a directory
>> >> >> >>> containing
>> >> >> >>> >> > >> .t2flow of
>> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
>> >> >> >>> recursive
>> >> >> >>> >> > >> >> > and
>> >> >> >>> >> > non
>> >> >> >>> >> > >> >> > recursive cases.
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > I created a blog about the conversion command.
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >>
>> >> >> >>> >> >
>> >> >> >>>
>> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >> >>> >> > age-command-line-conversion-documentation/
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > If you have some suggestions, please inform.
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > Thank you very much!
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > Regards
>> >> >> >>> >> > >> >> > Menaka
>> >> >> >>> >> > >> >> >
>> >> >> >>> >> > >> >> > --
>> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >>> University
>> >> >> >>> >> > >> >> > of Peradeniyaya.
>> >> >> >>> >> > >> >> > LinkedIn <
>> http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>> >> > >> >>
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> >
>> >> >> >>> >> > >> > --
>> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
>> >> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> University
>> >> >> >>> of
>> >> >> >>> >> > >> > Peradeniyaya.
>> >> >> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>> >> > >>
>> >> >> >>> >> > >
>> >> >> >>> >> > >
>> >> >> >>> >> > >
>> >> >> >>> >> > > --
>> >> >> >>> >> > > Menaka Madushanka Jayawardena
>> >> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> University
>> >> >> of
>> >> >> >>> >> > > Peradeniyaya.
>> >> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>> >> >
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >> --
>> >> >> >>> >> Menaka Madushanka Jayawardena
>> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of
>> >> >> >>> >> Peradeniyaya.
>> >> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>> >>
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> > --
>> >> >> >>> > Menaka Madushanka Jayawardena
>> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >>> > University of Peradeniyaya.
>> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Menaka Madushanka Jayawardena
>> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> >> University of Peradeniyaya.
>> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Menaka Madushanka Jayawardena
>> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> > University of Peradeniyaya.
>> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hello Gale,
Great work. :-)
I did notice the mygrid pages said the information was out of date.
>
Yes. I also faced the same condition when I was starting the project. The
documentation will be updated very soon as the project releases. :-)
I am to write the full complete documentation for the command line tool.
I'll appreciate your support for it. :-)
Cheers.
Menaka
On 29 June 2015 at 22:10, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> >I found this doc in
> >http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>
> Thanks for the link. I also found this mygrid link:
> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle,
> which is very clear about the .wfbundle file extension.
>
> I did notice the mygrid pages said the information was out of date.
> So, I also looked at the taverna incubator documentation, and the
> incubator SCUFL API page pointed me to a github page for the latest
> information. I found the github SCUFL examples to be helpful:
>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples
> .
> In the readme file, the t2flowtowfbundle tool describes the conversion
> of a .t2flow file to a SCUFL2 .wfbundle.
>
> Although I did find one example of a ".scufl2 bundle"
> (http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> ), most of the references indicate the correct file extension is
> .wfbundle. So, I removed the .scufl2 references from my mapping table.
> Please let me know if I missed something here.
>
> I also updated the table to reflect the .wfbundle --> .json and
> .wfbundle --> .iwir mappings.
>
> Thanks!
>
> Gale
>
> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hi Gale,
> >
> > So, .wfbundles can be converted to .json and .iwir formats as well as
> >> .structure?
> >
> >
> > Yes.
> >
> > Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> (taverna-sculf2-wfbundle)
> >> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
> >
> >
> > I found this doc in
> > http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
> >
> > Cheers
> > Menaka
> >
> > On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> > According to the documentations provided, SCUFL is an experimental
> >> module.
> >> > So It has not added to the tool yet.
> >>
> >> Okay, I see now. That makes sense. FYI, because I am a visual person,
> >> I took the Taverna
> >> Language Module information and created a diagram:
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> >>
> >> > The taverna language is capable of converting .t2flow workflows into
> >> > .wfbundle and other formats, and .wfbundles into formats except
> .t2flow.
> >>
> >> So, .wfbundles can be converted to .json and .iwir formats as well as
> >> .structure?
> >> If so, I will update my table.
> >>
> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> >> Taverna
> >> > 3)
> >>
> >> Is it true that .wfbundle is the *bundle* format of Taverna 3
> >> (taverna-sculf2-wfbundle)
> >> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
> >>
> >> > Input file type detection was done to avoid any exceptions when
> reading
> >> the
> >> > wokflow file. ...
> >> > In new_features2, I removed it because I have entered the wrong
> logic. I
> >> > restored it.
> >>
> >> Okay, understood.
> >>
> >> Thank you!
> >>
> >> Gale
> >>
> >> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> > According to the documentations provided, SCUFL is an experimental
> >> module.
> >> > So It has not added to the tool yet.
> >> >
> >> > I presumed that.scufl2 workflows could be converted to the same
> >> >> formats as .t2flow workflows, but if that's not correct, let me know
> >> >> and I'll fix it.
> >> >
> >> > The taverna language is capable of converting .t2flow workflows into
> >> > .wfbundle and other formats, and .wfbundles into formats except
> .t2flow.
> >> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> >> Taverna
> >> > 3)
> >> >
> >> > Also, I was wondering about something you said in one of your June
> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >> >> features2).
> >> >> You said "File type detection removed."
> >> >>
> >> >> Which file type detection is this? Is this related to Stain's June
> 4th
> >> >> email, in which he said the input format is auto-guessed by
> >> >> WorkflowBundleIO? Just wondering, because in my blog I included this
> >> >> comment and I wanted to make sure it is still accurate.
> >> >
> >> >
> >> > Input file type detection was done to avoid any exceptions when
> reading
> >> the
> >> > wokflow file. The WorkflowBundleIO can guess the media type and read
> the
> >> > bundle but, the input format could be wrongly entered by the user. We
> >> can't
> >> > promise that the user could always do the correct thing. Also in
> >> recursive
> >> > conversion, there could be other files also.
> >> >
> >> > In new_features2, I removed it because I have entered the wrong
> logic. I
> >> > restored it.
> >> >
> >> > Thank you
> >> > Menaka
> >> >
> >> >
> >> >
> >> > On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> A couple more things.
> >> >>
> >> >> I am trying to organize my understanding of how the conversions work,
> >> >> so I wrote a new blog post with a conversion table:
> >> >>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >> >>
> >> >> I presumed that.scufl2 workflows could be converted to the same
> >> >> formats as .t2flow workflows, but if that's not correct, let me know
> >> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed?
> The
> >> >> table is my best guess from reading all of the emails, so please let
> >> >> me know if anything is wrong, or if I missed something.
> >> >>
> >> >> Also, I was wondering about something you said in one of your June
> >> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >> >> features2).
> >> >> You said "File type detection removed."
> >> >>
> >> >> Which file type detection is this? Is this related to Stain's June
> 4th
> >> >> email, in which he said the input format is auto-guessed by
> >> >> WorkflowBundleIO? Just wondering, because in my blog I included this
> >> >> comment and I wanted to make sure it is still accurate.
> >> >>
> >> >> Thanks!
> >> >>
> >> >> Gale
> >> >>
> >> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Have a nice weekend too.....!!! :-)
> >> >> >
> >> >> > On 27 June 2015 at 00:24, Menaka Madushanka <menaka12350@gmail.com
> >
> >> >> wrote:
> >> >> >
> >> >> >> Hi Gale,
> >> >> >> I'm really appreciate your feedback on my blogs. I'm very new and
> >> there
> >> >> >> could be some flows. Thank you very much for showing them. :-)
> >> >> >>
> >> >> >> 1) Yes, the types of bundle formats that can be converted are
> listed
> >> in
> >> >> >> this blog.
> >> >> >>
> >> >> >>
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> >> >> The bundles are not workflows.
> >> >> >>
> >> >> >> 2) No. It seems like the way I have wrote it somewhat
> misleading.....
> >> >> >> Actually scufl2 workflows are not Bundles. Those are two different
> >> APIs.
> >> >> >> I'll update the blog. :-)
> >> >> >>
> >> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be
> converted
> >> into
> >> >> >> robundle.
> >> >> >>
> >> >> >> 4). Yes Gale. That modification should be done. Other wise it
> looks
> >> like
> >> >> >> any format could be converted into Robundle. I'll update my blog
> too.
> >> >> >>
> >> >> >> Are there any more facts that need clarification about the blogs
> >> please
> >> >> >> ask me. :)
> >> >> >>
> >> >> >> Thank you very much Gale.
> >> >> >> Menaka
> >> >> >>
> >> >> >> On 27 June 2015 at 00:00, Gale Naylor <
> galen@noventussolutions.com>
> >> >> wrote:
> >> >> >>
> >> >> >>> Hi Menaka,
> >> >> >>>
> >> >> >>> I've been reading and learning more about research objects, and I
> >> >> >>> think I understand better what is going on, but I still have some
> >> >> >>> questions.
> >> >> >>>
> >> >> >>> 1) I am curious as to which file types *can* be converted to
> >> .robundle
> >> >> >>> format? (I must have missed something because I thought .t2flow
> and
> >> >> >>> .wfbundle were the only allowed input file types.)
> >> >> >>>
> >> >> >>> 2) In rereading your June 18th blog post, I see you say that the
> >> >> >>> command line tool is for converting and managing workflow
> "bundles"
> >> as
> >> >> >>> well as research object bundles. Are t2flow files "workflow
> bundles"
> >> >> >>> or just "workflows?" Or is there not a practical difference?
> >> >> >>>
> >> >> >>> 3) I understand now that not all file format conversions are
> valid.
> >> >> >>> I'm trying to understand this better. In your June 18th blog post
> >> you
> >> >> >>> say:
> >> >> >>>
> >> >> >>> "The conversion function supports converting .t2flow and
> .wfbundle
> >> >> >>> formats into following formats:
> >> >> >>>
> >> >> >>> .structure
> >> >> >>>
> >> >> >>> .json
> >> >> >>>
> >> >> >>> .iwir
> >> >> >>>
> >> >> >>> .wfbundle
> >> >> >>>
> >> >> >>> .wfdesc.ttl –> (development in progress)
> >> >> >>>
> >> >> >>> .robundle –> (development in progress)"
> >> >> >>>
> >> >> >>> To me, reading this looks like all combinations are valid.
> >> >> >>>
> >> >> >>> I'm wondering, can both .t2flow and .wfbundle files be converted
> to
> >> >> >>> all file types *except* robundle?
> >> >> >>>
> >> >> >>>
> >> >> >>> 4) I fixed the examples in my blog post. Should I also change
> the
> >> >> >>> --robundle option description to say "Output bundle as .robundle"
> >> >> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> >> >> >>> option.)
> >> >> >>>
> >> >> >>> Thanks for the feedback and the correct link to the example!
> >> >> >>>
> >> >> >>> Have a nice weekend.
> >> >> >>>
> >> >> >>> Gale
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >> >>> <me...@gmail.com> wrote:
> >> >> >>> > Hi Gale,
> >> >> >>> > Use this link
> >> >> >>> >
> >> >> >>>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >> >>> >
> >> >> >>> > Cheers
> >> >> >>> > Menaka
> >> >> >>> >
> >> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> >> galen@noventussolutions.com>
> >> >> >>> wrote:
> >> >> >>> >
> >> >> >>> >> Hi Menaka,
> >> >> >>> >>
> >> >> >>> >> Thank you for the feedback and clarifying information. Sorry
> not
> >> to
> >> >> >>> respond
> >> >> >>> >> sooner. I am learning about bundles, etc. and reading the link
> >> you
> >> >> >>> sent.
> >> >> >>> >>
> >> >> >>> >> One thing, I'm having trouble getting to the example in the
> >> Examples
> >> >> >>> of Use
> >> >> >>> >> Section: "Example in full is at
> >> >> >>> org.apache.taverna.robundle.TestExample"
> >> >> >>> >>
> >> >> >>> >> Can you help me? This is what I've done so far:
> >> >> >>> >>
> >> >> >>> >> - Clicking on the link gets me the "This is not the web page
> you
> >> are
> >> >> >>> >> looking
> >> >> >>> >> for" page. (This is the actual link address:
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >> >>> >> )
> >> >> >>> >>
> >> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also
> doesn't
> >> >> work
> >> >> >>> for
> >> >> >>> >> me. I didn't think it would, but I tried anyway.
> >> >> >>> >>
> >> >> >>> >> - Searching for "taverna robundle TestExample" on the main
> >> >> Apache.com
> >> >> >>> page
> >> >> >>> >> yields no results.
> >> >> >>> >>
> >> >> >>> >> I will continue to read and understand the RO Bundle API page,
> >> but I
> >> >> >>> would
> >> >> >>> >> like to see the full Test Example, if possible.
> >> >> >>> >>
> >> >> >>> >> Thanks!
> >> >> >>> >>
> >> >> >>> >> Gale
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> -----Original Message-----
> >> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >> >>> >> To: dev@taverna.incubator.apache.org
> >> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert
> command
> >> >> doc
> >> >> >>> >>
> >> >> >>> >> That's cool.....!! :-)
> >> >> >>> >> Correction:
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >> >>> >>
> >> >> >>> >> > Example 2: Simple conversion, multiple input files, no
> options
> >> >> >>> >> >
> >> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >> >> /someFile2.wfbundle
> >> >> >>> >> >
> >> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle*
> into
> >> >> >>> >> > *.robundle* format and saves the output files to the
> >> */converted*
> >> >> >>> >> > folder in the current working directory.
> >> >> >>> >> >
> >> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
> >> robundle
> >> >> >>> format.
> >> >> >>> >> Its only for some specific bundle formats. Go through this doc
> >> for
> >> >> more
> >> >> >>> >> info.
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >> >>> >>
> >> >> >>> >> cheers.
> >> >> >>> >>
> >> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> >> galen@noventussolutions.com>
> >> >> >>> wrote:
> >> >> >>> >>
> >> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the
> two
> >> >> blog
> >> >> >>> >> > posts to use the <pre> tag, and it looks great. I also made
> a
> >> few
> >> >> >>> >> > refinements.
> >> >> >>> >> >
> >> >> >>> >> > Thanks,
> >> >> >>> >> > Gale
> >> >> >>> >> >
> >> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >> >>> >> > <me...@gmail.com> wrote:
> >> >> >>> >> > > Thank you very much Gale,
> >> >> >>> >> > >
> >> >> >>> >> > > I showed the output-format without brackets to indicate
> it is
> >> >> >>> >> > >> required and not optional because it appears to be always
> >> >> >>> necessary
> >> >> >>> >> > >
> >> >> >>> >> > >
> >> >> >>> >> > > That would be more accurate I think. I'm very new for
> >> >> >>> documentation.
> >> >> >>> >> > Thank
> >> >> >>> >> > > you very much.
> >> >> >>> >> > >
> >> >> >>> >> > > I left the -json output file type as having a single
> dash,
> >> but
> >> >> all
> >> >> >>> >> > >> the other output types have double-dashes. Should I
> change
> >> the
> >> >> >>> json
> >> >> >>> >> > >> output argument to --json?
> >> >> >>> >> > >>
> >> >> >>> >> > > -json should be --json. In my email that was a mistake. So
> >> you
> >> >> can
> >> >> >>> >> > > use
> >> >> >>> >> > --.
> >> >> >>> >> > >
> >> >> >>> >> > > (Wordpress is driving me crazy because it is showing the
> >> >> >>> >> > > double-dashes
> >> >> >>> >> > >> as long single dashes, even when I use the monospace
> >> >> font-family.
> >> >> >>> >> > >> Any
> >> >> >>> >> > >> suggestions?)
> >> >> >>> >> > >>
> >> >> >>> >> > >
> >> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> >> >> >>> preformatted.
> >> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >> >> >>> >> > >
> >> >> >>> >> >
> >> >> >>>
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >>> >> > >
> >> >> >>> >> > > Thank you very much.
> >> >> >>> >> > > Menaka
> >> >> >>> >> > >
> >> >> >>> >> > > I'll go through your documentations.
> >> >> >>> >> > >
> >> >> >>> >> > >
> >> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> >> galen@noventussolutions.com
> >> >> >>> >
> >> >> >>> >> > wrote:
> >> >> >>> >> > >
> >> >> >>> >> > >> Hi Menaka,
> >> >> >>> >> > >>
> >> >> >>> >> > >> Thanks for updating your blog! I have some additional
> >> feedback
> >> >> in
> >> >> >>> >> > >> the form of two blog posts. One has a detailed
> description
> >> (as
> >> >> I
> >> >> >>> >> > >> understand it) of the convert command and one has several
> >> >> >>> examples,
> >> >> >>> >> > >> building on the examples in your blog. I hope these will
> >> help
> >> >> the
> >> >> >>> >> > >> discussion of the command structure. Here are the links:
> >> >> >>> >> > >>
> >> >> >>> >> > >>
> >> >> >>> >> > >>
> >> >> >>> >> >
> >> >> >>>
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >>> >> > mmand-line-convert-command/
> >> >> >>> >> > >>
> >> >> >>> >> > >>
> >> >> >>> >> > >>
> >> >> >>> >> >
> >> >> >>>
> >> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >> >>> >> > mmand-line-convert-examples/
> >> >> >>> >> > >>
> >> >> >>> >> > >> Some things to note:
> >> >> >>> >> > >>
> >> >> >>> >> > >> (1) l basically used your June 18th post, but a few
> things
> >> >> (like
> >> >> >>> >> > >> the validate command) are from earlier posts/emails.
> >> >> >>> >> > >>
> >> >> >>> >> > >> (2) I showed the output-format without brackets to
> indicate
> >> it
> >> >> is
> >> >> >>> >> > >> required and not optional because it appears to be always
> >> >> >>> necessary.
> >> >> >>> >> > >>
> >> >> >>> >> > >> (3) The way I understand the overall command structure,
> it
> >> >> seemed
> >> >> >>> >> > >> that all options (e.g., the output file directory) should
> >> come
> >> >> >>> >> > >> before the input-file-list, so that's what I assumed.
> >> >> >>> >> > >>
> >> >> >>> >> > >> (4) I left the -json output file type as having a single
> >> dash,
> >> >> but
> >> >> >>> >> > >> all the other output types have double-dashes. Should I
> >> change
> >> >> the
> >> >> >>> >> > >> json output argument to --json?
> >> >> >>> >> > >>
> >> >> >>> >> > >> Please let me know if anything is incorrect and I will
> >> change
> >> >> it.
> >> >> >>> I
> >> >> >>> >> > >> realize the command structure is fluid, and I'm happy to
> >> make
> >> >> any
> >> >> >>> >> > >> changes as things evolve.
> >> >> >>> >> > >>
> >> >> >>> >> > >> (Wordpress is driving me crazy because it is showing the
> >> >> >>> >> > >> double-dashes as long single dashes, even when I use the
> >> >> monospace
> >> >> >>> >> > >> font-family. Any
> >> >> >>> >> > >> suggestions?)
> >> >> >>> >> > >>
> >> >> >>> >> > >> Thanks,
> >> >> >>> >> > >>
> >> >> >>> >> > >> Gale
> >> >> >>> >> > >>
> >> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> >> >>> >> > >> <me...@gmail.com> wrote:
> >> >> >>> >> > >> > Hi Gale,
> >> >> >>> >> > >> >
> >> >> >>> >> > >> > Thank you very much.
> >> >> >>> >> > >> >
> >> >> >>> >> > >> > . Can you help me
> >> >> >>> >> > >> >> understand what you mean when you say the files will
> get
> >> >> saved
> >> >> >>> >> > >> >> to the C directory?
> >> >> >>> >> > >> >
> >> >> >>> >> > >> > That was a mistake :-). I updated the blog. That
> should be
> >> >> >>> >> > >> > corrected
> >> >> >>> >> > as
> >> >> >>> >> > >> > *$tavlang convert –json -r -i
> /home/usrname/toConvert/ –>
> >> >> >>> >> > >> > *Convert
> >> >> >>> >> > the
> >> >> >>> >> > >> > files and save them in the …/toConvert/converted/
> >> directory.
> >> >> >>> >> > >> >
> >> >> >>> >> > >> > I would appreciate more feedback, modifications etc. So
> >> with
> >> >> the
> >> >> >>> >> > >> > help
> >> >> >>> >> > of
> >> >> >>> >> > >> > the community we could come up with a much better
> >> structure.
> >> >> >>> >> > >> > Cheers
> >> >> >>> >> > >> > Menaka
> >> >> >>> >> > >> >
> >> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >> >>> >> > >> > <ga...@noventussolutions.com>
> >> >> >>> >> > >> wrote:
> >> >> >>> >> > >> >
> >> >> >>> >> > >> >> Hi Menaka,
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> I am very happy to help, and I understand the command
> >> >> structure
> >> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
> >> post; it
> >> >> >>> was
> >> >> >>> >> > >> >> very helpful.
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> I am a little confused about your recursive example.
> Can
> >> you
> >> >> >>> >> > >> >> help me understand what you mean when you say the
> files
> >> will
> >> >> >>> get
> >> >> >>> >> > >> >> saved to the C directory? Because you show the output
> >> being
> >> >> >>> saved
> >> >> >>> >> > >> >> to:
> >> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> This is the example:
> >> >> >>> >> > >> >> $tavlang convert –json -r -i
> /home/usrname/toConvert/ –>
> >> >> >>> >> > >> >> Convert the files and save them in the C directory.
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> Thank you!
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> Gale
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> B
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >> >> >>> >> > >> >> > Hi Gale,
> >> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very
> much.
> >> :-)
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > 1) Is this still the basic structure of the command:
> >> >> tavlang
> >> >> >>> >> > convert
> >> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I
> wrong in
> >> >> >>> >> > >> >> >> thinking
> >> >> >>> >> > that
> >> >> >>> >> > >> the
> >> >> >>> >> > >> >> >> output formats are handled as options?
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > Yes there is a little difference in the structure of
> >> >> commands
> >> >> >>> >> > >> >> > now
> >> >> >>> >> > and
> >> >> >>> >> > >> >> then.
> >> >> >>> >> > >> >> > So for the moment the command structure is like
> this.
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
> >> [arguments]
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so,
> under
> >> >> what
> >> >> >>> >> > >> >> circumstances?
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > No. In recursive case the input will be a directory
> >> >> >>> containing
> >> >> >>> >> > >> .t2flow of
> >> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
> >> >> >>> recursive
> >> >> >>> >> > >> >> > and
> >> >> >>> >> > non
> >> >> >>> >> > >> >> > recursive cases.
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > I created a blog about the conversion command.
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >>
> >> >> >>> >> > >>
> >> >> >>> >> >
> >> >> >>>
> >> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >> >>> >> > age-command-line-conversion-documentation/
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > If you have some suggestions, please inform.
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > Thank you very much!
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > Regards
> >> >> >>> >> > >> >> > Menaka
> >> >> >>> >> > >> >> >
> >> >> >>> >> > >> >> > --
> >> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >> >> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >>> University
> >> >> >>> >> > >> >> > of Peradeniyaya.
> >> >> >>> >> > >> >> > LinkedIn <
> http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>> >> > >> >>
> >> >> >>> >> > >> >
> >> >> >>> >> > >> >
> >> >> >>> >> > >> >
> >> >> >>> >> > >> > --
> >> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> University
> >> >> >>> of
> >> >> >>> >> > >> > Peradeniyaya.
> >> >> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>> >> > >>
> >> >> >>> >> > >
> >> >> >>> >> > >
> >> >> >>> >> > >
> >> >> >>> >> > > --
> >> >> >>> >> > > Menaka Madushanka Jayawardena
> >> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University
> >> >> of
> >> >> >>> >> > > Peradeniyaya.
> >> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> --
> >> >> >>> >> Menaka Madushanka Jayawardena
> >> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of
> >> >> >>> >> Peradeniyaya.
> >> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>> >>
> >> >> >>> >
> >> >> >>> >
> >> >> >>> >
> >> >> >>> > --
> >> >> >>> > Menaka Madushanka Jayawardena
> >> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >>> > University of Peradeniyaya.
> >> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Menaka Madushanka Jayawardena
> >> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> >> University of Peradeniyaya.
> >> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Stian Soiland-Reyes <st...@apache.org>.
You are right, we should not use .scufl2.. that's an older extension.
On 29 June 2015 at 17:40, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
>>I found this doc in
>>http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>
> Thanks for the link. I also found this mygrid link:
> http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle,
> which is very clear about the .wfbundle file extension.
>
> I did notice the mygrid pages said the information was out of date.
> So, I also looked at the taverna incubator documentation, and the
> incubator SCUFL API page pointed me to a github page for the latest
> information. I found the github SCUFL examples to be helpful:
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples.
> In the readme file, the t2flowtowfbundle tool describes the conversion
> of a .t2flow file to a SCUFL2 .wfbundle.
>
> Although I did find one example of a ".scufl2 bundle"
> (http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
> ), most of the references indicate the correct file extension is
> .wfbundle. So, I removed the .scufl2 references from my mapping table.
> Please let me know if I missed something here.
>
> I also updated the table to reflect the .wfbundle --> .json and
> .wfbundle --> .iwir mappings.
>
> Thanks!
>
> Gale
>
> On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
>> Hi Gale,
>>
>> So, .wfbundles can be converted to .json and .iwir formats as well as
>>> .structure?
>>
>>
>> Yes.
>>
>> Is it true that .wfbundle is the *bundle* format of Taverna 3
>>> (taverna-sculf2-wfbundle)
>>> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>>
>>
>> I found this doc in
>> http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>>
>> Cheers
>> Menaka
>>
>> On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>>> Hi Menaka,
>>>
>>> > According to the documentations provided, SCUFL is an experimental
>>> module.
>>> > So It has not added to the tool yet.
>>>
>>> Okay, I see now. That makes sense. FYI, because I am a visual person,
>>> I took the Taverna
>>> Language Module information and created a diagram:
>>>
>>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>>>
>>> > The taverna language is capable of converting .t2flow workflows into
>>> > .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>>>
>>> So, .wfbundles can be converted to .json and .iwir formats as well as
>>> .structure?
>>> If so, I will update my table.
>>>
>>> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>>> Taverna
>>> > 3)
>>>
>>> Is it true that .wfbundle is the *bundle* format of Taverna 3
>>> (taverna-sculf2-wfbundle)
>>> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>>>
>>> > Input file type detection was done to avoid any exceptions when reading
>>> the
>>> > wokflow file. ...
>>> > In new_features2, I removed it because I have entered the wrong logic. I
>>> > restored it.
>>>
>>> Okay, understood.
>>>
>>> Thank you!
>>>
>>> Gale
>>>
>>> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>> > Hi Gale,
>>> > According to the documentations provided, SCUFL is an experimental
>>> module.
>>> > So It has not added to the tool yet.
>>> >
>>> > I presumed that.scufl2 workflows could be converted to the same
>>> >> formats as .t2flow workflows, but if that's not correct, let me know
>>> >> and I'll fix it.
>>> >
>>> > The taverna language is capable of converting .t2flow workflows into
>>> > .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>>> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>>> Taverna
>>> > 3)
>>> >
>>> > Also, I was wondering about something you said in one of your June
>>> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>>> >> features2).
>>> >> You said "File type detection removed."
>>> >>
>>> >> Which file type detection is this? Is this related to Stain's June 4th
>>> >> email, in which he said the input format is auto-guessed by
>>> >> WorkflowBundleIO? Just wondering, because in my blog I included this
>>> >> comment and I wanted to make sure it is still accurate.
>>> >
>>> >
>>> > Input file type detection was done to avoid any exceptions when reading
>>> the
>>> > wokflow file. The WorkflowBundleIO can guess the media type and read the
>>> > bundle but, the input format could be wrongly entered by the user. We
>>> can't
>>> > promise that the user could always do the correct thing. Also in
>>> recursive
>>> > conversion, there could be other files also.
>>> >
>>> > In new_features2, I removed it because I have entered the wrong logic. I
>>> > restored it.
>>> >
>>> > Thank you
>>> > Menaka
>>> >
>>> >
>>> >
>>> > On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >
>>> >> Hi Menaka,
>>> >>
>>> >> A couple more things.
>>> >>
>>> >> I am trying to organize my understanding of how the conversions work,
>>> >> so I wrote a new blog post with a conversion table:
>>> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>>> >>
>>> >> I presumed that.scufl2 workflows could be converted to the same
>>> >> formats as .t2flow workflows, but if that's not correct, let me know
>>> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
>>> >> table is my best guess from reading all of the emails, so please let
>>> >> me know if anything is wrong, or if I missed something.
>>> >>
>>> >> Also, I was wondering about something you said in one of your June
>>> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>>> >> features2).
>>> >> You said "File type detection removed."
>>> >>
>>> >> Which file type detection is this? Is this related to Stain's June 4th
>>> >> email, in which he said the input format is auto-guessed by
>>> >> WorkflowBundleIO? Just wondering, because in my blog I included this
>>> >> comment and I wanted to make sure it is still accurate.
>>> >>
>>> >> Thanks!
>>> >>
>>> >> Gale
>>> >>
>>> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>>> >> <me...@gmail.com> wrote:
>>> >> > Have a nice weekend too.....!!! :-)
>>> >> >
>>> >> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
>>> >> wrote:
>>> >> >
>>> >> >> Hi Gale,
>>> >> >> I'm really appreciate your feedback on my blogs. I'm very new and
>>> there
>>> >> >> could be some flows. Thank you very much for showing them. :-)
>>> >> >>
>>> >> >> 1) Yes, the types of bundle formats that can be converted are listed
>>> in
>>> >> >> this blog.
>>> >> >>
>>> >> >>
>>> >>
>>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>>> >> >> The bundles are not workflows.
>>> >> >>
>>> >> >> 2) No. It seems like the way I have wrote it somewhat misleading.....
>>> >> >> Actually scufl2 workflows are not Bundles. Those are two different
>>> APIs.
>>> >> >> I'll update the blog. :-)
>>> >> >>
>>> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted
>>> into
>>> >> >> robundle.
>>> >> >>
>>> >> >> 4). Yes Gale. That modification should be done. Other wise it looks
>>> like
>>> >> >> any format could be converted into Robundle. I'll update my blog too.
>>> >> >>
>>> >> >> Are there any more facts that need clarification about the blogs
>>> please
>>> >> >> ask me. :)
>>> >> >>
>>> >> >> Thank you very much Gale.
>>> >> >> Menaka
>>> >> >>
>>> >> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
>>> >> wrote:
>>> >> >>
>>> >> >>> Hi Menaka,
>>> >> >>>
>>> >> >>> I've been reading and learning more about research objects, and I
>>> >> >>> think I understand better what is going on, but I still have some
>>> >> >>> questions.
>>> >> >>>
>>> >> >>> 1) I am curious as to which file types *can* be converted to
>>> .robundle
>>> >> >>> format? (I must have missed something because I thought .t2flow and
>>> >> >>> .wfbundle were the only allowed input file types.)
>>> >> >>>
>>> >> >>> 2) In rereading your June 18th blog post, I see you say that the
>>> >> >>> command line tool is for converting and managing workflow "bundles"
>>> as
>>> >> >>> well as research object bundles. Are t2flow files "workflow bundles"
>>> >> >>> or just "workflows?" Or is there not a practical difference?
>>> >> >>>
>>> >> >>> 3) I understand now that not all file format conversions are valid.
>>> >> >>> I'm trying to understand this better. In your June 18th blog post
>>> you
>>> >> >>> say:
>>> >> >>>
>>> >> >>> "The conversion function supports converting .t2flow and .wfbundle
>>> >> >>> formats into following formats:
>>> >> >>>
>>> >> >>> .structure
>>> >> >>>
>>> >> >>> .json
>>> >> >>>
>>> >> >>> .iwir
>>> >> >>>
>>> >> >>> .wfbundle
>>> >> >>>
>>> >> >>> .wfdesc.ttl –> (development in progress)
>>> >> >>>
>>> >> >>> .robundle –> (development in progress)"
>>> >> >>>
>>> >> >>> To me, reading this looks like all combinations are valid.
>>> >> >>>
>>> >> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>> >> >>> all file types *except* robundle?
>>> >> >>>
>>> >> >>>
>>> >> >>> 4) I fixed the examples in my blog post. Should I also change the
>>> >> >>> --robundle option description to say "Output bundle as .robundle"
>>> >> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>> >> >>> option.)
>>> >> >>>
>>> >> >>> Thanks for the feedback and the correct link to the example!
>>> >> >>>
>>> >> >>> Have a nice weekend.
>>> >> >>>
>>> >> >>> Gale
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> >> >>> <me...@gmail.com> wrote:
>>> >> >>> > Hi Gale,
>>> >> >>> > Use this link
>>> >> >>> >
>>> >> >>>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >> >>> >
>>> >> >>> > Cheers
>>> >> >>> > Menaka
>>> >> >>> >
>>> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>>> galen@noventussolutions.com>
>>> >> >>> wrote:
>>> >> >>> >
>>> >> >>> >> Hi Menaka,
>>> >> >>> >>
>>> >> >>> >> Thank you for the feedback and clarifying information. Sorry not
>>> to
>>> >> >>> respond
>>> >> >>> >> sooner. I am learning about bundles, etc. and reading the link
>>> you
>>> >> >>> sent.
>>> >> >>> >>
>>> >> >>> >> One thing, I'm having trouble getting to the example in the
>>> Examples
>>> >> >>> of Use
>>> >> >>> >> Section: "Example in full is at
>>> >> >>> org.apache.taverna.robundle.TestExample"
>>> >> >>> >>
>>> >> >>> >> Can you help me? This is what I've done so far:
>>> >> >>> >>
>>> >> >>> >> - Clicking on the link gets me the "This is not the web page you
>>> are
>>> >> >>> >> looking
>>> >> >>> >> for" page. (This is the actual link address:
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >> >>> >> )
>>> >> >>> >>
>>> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
>>> >> work
>>> >> >>> for
>>> >> >>> >> me. I didn't think it would, but I tried anyway.
>>> >> >>> >>
>>> >> >>> >> - Searching for "taverna robundle TestExample" on the main
>>> >> Apache.com
>>> >> >>> page
>>> >> >>> >> yields no results.
>>> >> >>> >>
>>> >> >>> >> I will continue to read and understand the RO Bundle API page,
>>> but I
>>> >> >>> would
>>> >> >>> >> like to see the full Test Example, if possible.
>>> >> >>> >>
>>> >> >>> >> Thanks!
>>> >> >>> >>
>>> >> >>> >> Gale
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>> >> -----Original Message-----
>>> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >> >>> >> To: dev@taverna.incubator.apache.org
>>> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert command
>>> >> doc
>>> >> >>> >>
>>> >> >>> >> That's cool.....!! :-)
>>> >> >>> >> Correction:
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >> >>> >>
>>> >> >>> >> > Example 2: Simple conversion, multiple input files, no options
>>> >> >>> >> >
>>> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>>> >> /someFile2.wfbundle
>>> >> >>> >> >
>>> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>> >> >>> >> > *.robundle* format and saves the output files to the
>>> */converted*
>>> >> >>> >> > folder in the current working directory.
>>> >> >>> >> >
>>> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
>>> robundle
>>> >> >>> format.
>>> >> >>> >> Its only for some specific bundle formats. Go through this doc
>>> for
>>> >> more
>>> >> >>> >> info.
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >> >>> >>
>>> >> >>> >> cheers.
>>> >> >>> >>
>>> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>>> galen@noventussolutions.com>
>>> >> >>> wrote:
>>> >> >>> >>
>>> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
>>> >> blog
>>> >> >>> >> > posts to use the <pre> tag, and it looks great. I also made a
>>> few
>>> >> >>> >> > refinements.
>>> >> >>> >> >
>>> >> >>> >> > Thanks,
>>> >> >>> >> > Gale
>>> >> >>> >> >
>>> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>> >> >>> >> > <me...@gmail.com> wrote:
>>> >> >>> >> > > Thank you very much Gale,
>>> >> >>> >> > >
>>> >> >>> >> > > I showed the output-format without brackets to indicate it is
>>> >> >>> >> > >> required and not optional because it appears to be always
>>> >> >>> necessary
>>> >> >>> >> > >
>>> >> >>> >> > >
>>> >> >>> >> > > That would be more accurate I think. I'm very new for
>>> >> >>> documentation.
>>> >> >>> >> > Thank
>>> >> >>> >> > > you very much.
>>> >> >>> >> > >
>>> >> >>> >> > > I left the -json output file type as having a single dash,
>>> but
>>> >> all
>>> >> >>> >> > >> the other output types have double-dashes. Should I change
>>> the
>>> >> >>> json
>>> >> >>> >> > >> output argument to --json?
>>> >> >>> >> > >>
>>> >> >>> >> > > -json should be --json. In my email that was a mistake. So
>>> you
>>> >> can
>>> >> >>> >> > > use
>>> >> >>> >> > --.
>>> >> >>> >> > >
>>> >> >>> >> > > (Wordpress is driving me crazy because it is showing the
>>> >> >>> >> > > double-dashes
>>> >> >>> >> > >> as long single dashes, even when I use the monospace
>>> >> font-family.
>>> >> >>> >> > >> Any
>>> >> >>> >> > >> suggestions?)
>>> >> >>> >> > >>
>>> >> >>> >> > >
>>> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>>> >> >>> preformatted.
>>> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>> >> >>> >> > >
>>> >> >>> >> >
>>> >> >>>
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> >>> >> > age-command-line-conversion-documentation/
>>> >> >>> >> > >
>>> >> >>> >> > > Thank you very much.
>>> >> >>> >> > > Menaka
>>> >> >>> >> > >
>>> >> >>> >> > > I'll go through your documentations.
>>> >> >>> >> > >
>>> >> >>> >> > >
>>> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>>> >> galen@noventussolutions.com
>>> >> >>> >
>>> >> >>> >> > wrote:
>>> >> >>> >> > >
>>> >> >>> >> > >> Hi Menaka,
>>> >> >>> >> > >>
>>> >> >>> >> > >> Thanks for updating your blog! I have some additional
>>> feedback
>>> >> in
>>> >> >>> >> > >> the form of two blog posts. One has a detailed description
>>> (as
>>> >> I
>>> >> >>> >> > >> understand it) of the convert command and one has several
>>> >> >>> examples,
>>> >> >>> >> > >> building on the examples in your blog. I hope these will
>>> help
>>> >> the
>>> >> >>> >> > >> discussion of the command structure. Here are the links:
>>> >> >>> >> > >>
>>> >> >>> >> > >>
>>> >> >>> >> > >>
>>> >> >>> >> >
>>> >> >>>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> >>> >> > mmand-line-convert-command/
>>> >> >>> >> > >>
>>> >> >>> >> > >>
>>> >> >>> >> > >>
>>> >> >>> >> >
>>> >> >>>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> >>> >> > mmand-line-convert-examples/
>>> >> >>> >> > >>
>>> >> >>> >> > >> Some things to note:
>>> >> >>> >> > >>
>>> >> >>> >> > >> (1) l basically used your June 18th post, but a few things
>>> >> (like
>>> >> >>> >> > >> the validate command) are from earlier posts/emails.
>>> >> >>> >> > >>
>>> >> >>> >> > >> (2) I showed the output-format without brackets to indicate
>>> it
>>> >> is
>>> >> >>> >> > >> required and not optional because it appears to be always
>>> >> >>> necessary.
>>> >> >>> >> > >>
>>> >> >>> >> > >> (3) The way I understand the overall command structure, it
>>> >> seemed
>>> >> >>> >> > >> that all options (e.g., the output file directory) should
>>> come
>>> >> >>> >> > >> before the input-file-list, so that's what I assumed.
>>> >> >>> >> > >>
>>> >> >>> >> > >> (4) I left the -json output file type as having a single
>>> dash,
>>> >> but
>>> >> >>> >> > >> all the other output types have double-dashes. Should I
>>> change
>>> >> the
>>> >> >>> >> > >> json output argument to --json?
>>> >> >>> >> > >>
>>> >> >>> >> > >> Please let me know if anything is incorrect and I will
>>> change
>>> >> it.
>>> >> >>> I
>>> >> >>> >> > >> realize the command structure is fluid, and I'm happy to
>>> make
>>> >> any
>>> >> >>> >> > >> changes as things evolve.
>>> >> >>> >> > >>
>>> >> >>> >> > >> (Wordpress is driving me crazy because it is showing the
>>> >> >>> >> > >> double-dashes as long single dashes, even when I use the
>>> >> monospace
>>> >> >>> >> > >> font-family. Any
>>> >> >>> >> > >> suggestions?)
>>> >> >>> >> > >>
>>> >> >>> >> > >> Thanks,
>>> >> >>> >> > >>
>>> >> >>> >> > >> Gale
>>> >> >>> >> > >>
>>> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>> >> >>> >> > >> <me...@gmail.com> wrote:
>>> >> >>> >> > >> > Hi Gale,
>>> >> >>> >> > >> >
>>> >> >>> >> > >> > Thank you very much.
>>> >> >>> >> > >> >
>>> >> >>> >> > >> > . Can you help me
>>> >> >>> >> > >> >> understand what you mean when you say the files will get
>>> >> saved
>>> >> >>> >> > >> >> to the C directory?
>>> >> >>> >> > >> >
>>> >> >>> >> > >> > That was a mistake :-). I updated the blog. That should be
>>> >> >>> >> > >> > corrected
>>> >> >>> >> > as
>>> >> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> >>> >> > >> > *Convert
>>> >> >>> >> > the
>>> >> >>> >> > >> > files and save them in the …/toConvert/converted/
>>> directory.
>>> >> >>> >> > >> >
>>> >> >>> >> > >> > I would appreciate more feedback, modifications etc. So
>>> with
>>> >> the
>>> >> >>> >> > >> > help
>>> >> >>> >> > of
>>> >> >>> >> > >> > the community we could come up with a much better
>>> structure.
>>> >> >>> >> > >> > Cheers
>>> >> >>> >> > >> > Menaka
>>> >> >>> >> > >> >
>>> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >> >>> >> > >> > <ga...@noventussolutions.com>
>>> >> >>> >> > >> wrote:
>>> >> >>> >> > >> >
>>> >> >>> >> > >> >> Hi Menaka,
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> I am very happy to help, and I understand the command
>>> >> structure
>>> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
>>> post; it
>>> >> >>> was
>>> >> >>> >> > >> >> very helpful.
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> I am a little confused about your recursive example. Can
>>> you
>>> >> >>> >> > >> >> help me understand what you mean when you say the files
>>> will
>>> >> >>> get
>>> >> >>> >> > >> >> saved to the C directory? Because you show the output
>>> being
>>> >> >>> saved
>>> >> >>> >> > >> >> to:
>>> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> This is the example:
>>> >> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> >>> >> > >> >> Convert the files and save them in the C directory.
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> Thank you!
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> Gale
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> B
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>> >> >>> >> > >> >> <me...@gmail.com> wrote:
>>> >> >>> >> > >> >> > Hi Gale,
>>> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very much.
>>> :-)
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > 1) Is this still the basic structure of the command:
>>> >> tavlang
>>> >> >>> >> > convert
>>> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>> >> >>> >> > >> >> >> thinking
>>> >> >>> >> > that
>>> >> >>> >> > >> the
>>> >> >>> >> > >> >> >> output formats are handled as options?
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > Yes there is a little difference in the structure of
>>> >> commands
>>> >> >>> >> > >> >> > now
>>> >> >>> >> > and
>>> >> >>> >> > >> >> then.
>>> >> >>> >> > >> >> > So for the moment the command structure is like this.
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
>>> [arguments]
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
>>> >> what
>>> >> >>> >> > >> >> circumstances?
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > No. In recursive case the input will be a directory
>>> >> >>> containing
>>> >> >>> >> > >> .t2flow of
>>> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
>>> >> >>> recursive
>>> >> >>> >> > >> >> > and
>>> >> >>> >> > non
>>> >> >>> >> > >> >> > recursive cases.
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > I created a blog about the conversion command.
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >>
>>> >> >>> >> > >>
>>> >> >>> >> >
>>> >> >>>
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> >>> >> > age-command-line-conversion-documentation/
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > If you have some suggestions, please inform.
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > Thank you very much!
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > Regards
>>> >> >>> >> > >> >> > Menaka
>>> >> >>> >> > >> >> >
>>> >> >>> >> > >> >> > --
>>> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>>> >> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >>> University
>>> >> >>> >> > >> >> > of Peradeniyaya.
>>> >> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>> >> > >> >>
>>> >> >>> >> > >> >
>>> >> >>> >> > >> >
>>> >> >>> >> > >> >
>>> >> >>> >> > >> > --
>>> >> >>> >> > >> > Menaka Madushanka Jayawardena
>>> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> University
>>> >> >>> of
>>> >> >>> >> > >> > Peradeniyaya.
>>> >> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>> >> > >>
>>> >> >>> >> > >
>>> >> >>> >> > >
>>> >> >>> >> > >
>>> >> >>> >> > > --
>>> >> >>> >> > > Menaka Madushanka Jayawardena
>>> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University
>>> >> of
>>> >> >>> >> > > Peradeniyaya.
>>> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>> >> >
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>> >>
>>> >> >>> >> --
>>> >> >>> >> Menaka Madushanka Jayawardena
>>> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> >>> >> Peradeniyaya.
>>> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>> >>
>>> >> >>> >
>>> >> >>> >
>>> >> >>> >
>>> >> >>> > --
>>> >> >>> > Menaka Madushanka Jayawardena
>>> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >>> > University of Peradeniyaya.
>>> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> Menaka Madushanka Jayawardena
>>> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> >> University of Peradeniyaya.
>>> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Menaka Madushanka Jayawardena
>>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> >> > University of Peradeniyaya.
>>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
--
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
>I found this doc in
>http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
Thanks for the link. I also found this mygrid link:
http://dev.mygrid.org.uk/wiki/display/developer/Taverna+Workflow+Bundle,
which is very clear about the .wfbundle file extension.
I did notice the mygrid pages said the information was out of date.
So, I also looked at the taverna incubator documentation, and the
incubator SCUFL API page pointed me to a github page for the latest
information. I found the github SCUFL examples to be helpful:
https://github.com/apache/incubator-taverna-language/tree/master/taverna-scufl2-examples.
In the readme file, the t2flowtowfbundle tool describes the conversion
of a .t2flow file to a SCUFL2 .wfbundle.
Although I did find one example of a ".scufl2 bundle"
(http://dev.mygrid.org.uk/wiki/display/developer/2011-02+Scufl2+status
), most of the references indicate the correct file extension is
.wfbundle. So, I removed the .scufl2 references from my mapping table.
Please let me know if I missed something here.
I also updated the table to reflect the .wfbundle --> .json and
.wfbundle --> .iwir mappings.
Thanks!
Gale
On Sat, Jun 27, 2015 at 1:38 PM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hi Gale,
>
> So, .wfbundles can be converted to .json and .iwir formats as well as
>> .structure?
>
>
> Yes.
>
> Is it true that .wfbundle is the *bundle* format of Taverna 3
>> (taverna-sculf2-wfbundle)
>> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>
>
> I found this doc in
> http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
>
> Cheers
> Menaka
>
> On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> > According to the documentations provided, SCUFL is an experimental
>> module.
>> > So It has not added to the tool yet.
>>
>> Okay, I see now. That makes sense. FYI, because I am a visual person,
>> I took the Taverna
>> Language Module information and created a diagram:
>>
>> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>>
>> > The taverna language is capable of converting .t2flow workflows into
>> > .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>>
>> So, .wfbundles can be converted to .json and .iwir formats as well as
>> .structure?
>> If so, I will update my table.
>>
>> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>> Taverna
>> > 3)
>>
>> Is it true that .wfbundle is the *bundle* format of Taverna 3
>> (taverna-sculf2-wfbundle)
>> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>>
>> > Input file type detection was done to avoid any exceptions when reading
>> the
>> > wokflow file. ...
>> > In new_features2, I removed it because I have entered the wrong logic. I
>> > restored it.
>>
>> Okay, understood.
>>
>> Thank you!
>>
>> Gale
>>
>> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> > According to the documentations provided, SCUFL is an experimental
>> module.
>> > So It has not added to the tool yet.
>> >
>> > I presumed that.scufl2 workflows could be converted to the same
>> >> formats as .t2flow workflows, but if that's not correct, let me know
>> >> and I'll fix it.
>> >
>> > The taverna language is capable of converting .t2flow workflows into
>> > .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
>> Taverna
>> > 3)
>> >
>> > Also, I was wondering about something you said in one of your June
>> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> >> features2).
>> >> You said "File type detection removed."
>> >>
>> >> Which file type detection is this? Is this related to Stain's June 4th
>> >> email, in which he said the input format is auto-guessed by
>> >> WorkflowBundleIO? Just wondering, because in my blog I included this
>> >> comment and I wanted to make sure it is still accurate.
>> >
>> >
>> > Input file type detection was done to avoid any exceptions when reading
>> the
>> > wokflow file. The WorkflowBundleIO can guess the media type and read the
>> > bundle but, the input format could be wrongly entered by the user. We
>> can't
>> > promise that the user could always do the correct thing. Also in
>> recursive
>> > conversion, there could be other files also.
>> >
>> > In new_features2, I removed it because I have entered the wrong logic. I
>> > restored it.
>> >
>> > Thank you
>> > Menaka
>> >
>> >
>> >
>> > On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> A couple more things.
>> >>
>> >> I am trying to organize my understanding of how the conversions work,
>> >> so I wrote a new blog post with a conversion table:
>> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>> >>
>> >> I presumed that.scufl2 workflows could be converted to the same
>> >> formats as .t2flow workflows, but if that's not correct, let me know
>> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
>> >> table is my best guess from reading all of the emails, so please let
>> >> me know if anything is wrong, or if I missed something.
>> >>
>> >> Also, I was wondering about something you said in one of your June
>> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> >> features2).
>> >> You said "File type detection removed."
>> >>
>> >> Which file type detection is this? Is this related to Stain's June 4th
>> >> email, in which he said the input format is auto-guessed by
>> >> WorkflowBundleIO? Just wondering, because in my blog I included this
>> >> comment and I wanted to make sure it is still accurate.
>> >>
>> >> Thanks!
>> >>
>> >> Gale
>> >>
>> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Have a nice weekend too.....!!! :-)
>> >> >
>> >> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
>> >> wrote:
>> >> >
>> >> >> Hi Gale,
>> >> >> I'm really appreciate your feedback on my blogs. I'm very new and
>> there
>> >> >> could be some flows. Thank you very much for showing them. :-)
>> >> >>
>> >> >> 1) Yes, the types of bundle formats that can be converted are listed
>> in
>> >> >> this blog.
>> >> >>
>> >> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> >> The bundles are not workflows.
>> >> >>
>> >> >> 2) No. It seems like the way I have wrote it somewhat misleading.....
>> >> >> Actually scufl2 workflows are not Bundles. Those are two different
>> APIs.
>> >> >> I'll update the blog. :-)
>> >> >>
>> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted
>> into
>> >> >> robundle.
>> >> >>
>> >> >> 4). Yes Gale. That modification should be done. Other wise it looks
>> like
>> >> >> any format could be converted into Robundle. I'll update my blog too.
>> >> >>
>> >> >> Are there any more facts that need clarification about the blogs
>> please
>> >> >> ask me. :)
>> >> >>
>> >> >> Thank you very much Gale.
>> >> >> Menaka
>> >> >>
>> >> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
>> >> wrote:
>> >> >>
>> >> >>> Hi Menaka,
>> >> >>>
>> >> >>> I've been reading and learning more about research objects, and I
>> >> >>> think I understand better what is going on, but I still have some
>> >> >>> questions.
>> >> >>>
>> >> >>> 1) I am curious as to which file types *can* be converted to
>> .robundle
>> >> >>> format? (I must have missed something because I thought .t2flow and
>> >> >>> .wfbundle were the only allowed input file types.)
>> >> >>>
>> >> >>> 2) In rereading your June 18th blog post, I see you say that the
>> >> >>> command line tool is for converting and managing workflow "bundles"
>> as
>> >> >>> well as research object bundles. Are t2flow files "workflow bundles"
>> >> >>> or just "workflows?" Or is there not a practical difference?
>> >> >>>
>> >> >>> 3) I understand now that not all file format conversions are valid.
>> >> >>> I'm trying to understand this better. In your June 18th blog post
>> you
>> >> >>> say:
>> >> >>>
>> >> >>> "The conversion function supports converting .t2flow and .wfbundle
>> >> >>> formats into following formats:
>> >> >>>
>> >> >>> .structure
>> >> >>>
>> >> >>> .json
>> >> >>>
>> >> >>> .iwir
>> >> >>>
>> >> >>> .wfbundle
>> >> >>>
>> >> >>> .wfdesc.ttl –> (development in progress)
>> >> >>>
>> >> >>> .robundle –> (development in progress)"
>> >> >>>
>> >> >>> To me, reading this looks like all combinations are valid.
>> >> >>>
>> >> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>> >> >>> all file types *except* robundle?
>> >> >>>
>> >> >>>
>> >> >>> 4) I fixed the examples in my blog post. Should I also change the
>> >> >>> --robundle option description to say "Output bundle as .robundle"
>> >> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>> >> >>> option.)
>> >> >>>
>> >> >>> Thanks for the feedback and the correct link to the example!
>> >> >>>
>> >> >>> Have a nice weekend.
>> >> >>>
>> >> >>> Gale
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >> >>> <me...@gmail.com> wrote:
>> >> >>> > Hi Gale,
>> >> >>> > Use this link
>> >> >>> >
>> >> >>>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >> >>> >
>> >> >>> > Cheers
>> >> >>> > Menaka
>> >> >>> >
>> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
>> galen@noventussolutions.com>
>> >> >>> wrote:
>> >> >>> >
>> >> >>> >> Hi Menaka,
>> >> >>> >>
>> >> >>> >> Thank you for the feedback and clarifying information. Sorry not
>> to
>> >> >>> respond
>> >> >>> >> sooner. I am learning about bundles, etc. and reading the link
>> you
>> >> >>> sent.
>> >> >>> >>
>> >> >>> >> One thing, I'm having trouble getting to the example in the
>> Examples
>> >> >>> of Use
>> >> >>> >> Section: "Example in full is at
>> >> >>> org.apache.taverna.robundle.TestExample"
>> >> >>> >>
>> >> >>> >> Can you help me? This is what I've done so far:
>> >> >>> >>
>> >> >>> >> - Clicking on the link gets me the "This is not the web page you
>> are
>> >> >>> >> looking
>> >> >>> >> for" page. (This is the actual link address:
>> >> >>> >>
>> >> >>> >>
>> >> >>>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> >>> >> )
>> >> >>> >>
>> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
>> >> work
>> >> >>> for
>> >> >>> >> me. I didn't think it would, but I tried anyway.
>> >> >>> >>
>> >> >>> >> - Searching for "taverna robundle TestExample" on the main
>> >> Apache.com
>> >> >>> page
>> >> >>> >> yields no results.
>> >> >>> >>
>> >> >>> >> I will continue to read and understand the RO Bundle API page,
>> but I
>> >> >>> would
>> >> >>> >> like to see the full Test Example, if possible.
>> >> >>> >>
>> >> >>> >> Thanks!
>> >> >>> >>
>> >> >>> >> Gale
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> -----Original Message-----
>> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> >>> >> To: dev@taverna.incubator.apache.org
>> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert command
>> >> doc
>> >> >>> >>
>> >> >>> >> That's cool.....!! :-)
>> >> >>> >> Correction:
>> >> >>> >>
>> >> >>> >>
>> >> >>>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >> >>> >>
>> >> >>> >> > Example 2: Simple conversion, multiple input files, no options
>> >> >>> >> >
>> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> >> /someFile2.wfbundle
>> >> >>> >> >
>> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>> >> >>> >> > *.robundle* format and saves the output files to the
>> */converted*
>> >> >>> >> > folder in the current working directory.
>> >> >>> >> >
>> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
>> robundle
>> >> >>> format.
>> >> >>> >> Its only for some specific bundle formats. Go through this doc
>> for
>> >> more
>> >> >>> >> info.
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >> >>> >>
>> >> >>> >> cheers.
>> >> >>> >>
>> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
>> galen@noventussolutions.com>
>> >> >>> wrote:
>> >> >>> >>
>> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
>> >> blog
>> >> >>> >> > posts to use the <pre> tag, and it looks great. I also made a
>> few
>> >> >>> >> > refinements.
>> >> >>> >> >
>> >> >>> >> > Thanks,
>> >> >>> >> > Gale
>> >> >>> >> >
>> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> >>> >> > <me...@gmail.com> wrote:
>> >> >>> >> > > Thank you very much Gale,
>> >> >>> >> > >
>> >> >>> >> > > I showed the output-format without brackets to indicate it is
>> >> >>> >> > >> required and not optional because it appears to be always
>> >> >>> necessary
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > > That would be more accurate I think. I'm very new for
>> >> >>> documentation.
>> >> >>> >> > Thank
>> >> >>> >> > > you very much.
>> >> >>> >> > >
>> >> >>> >> > > I left the -json output file type as having a single dash,
>> but
>> >> all
>> >> >>> >> > >> the other output types have double-dashes. Should I change
>> the
>> >> >>> json
>> >> >>> >> > >> output argument to --json?
>> >> >>> >> > >>
>> >> >>> >> > > -json should be --json. In my email that was a mistake. So
>> you
>> >> can
>> >> >>> >> > > use
>> >> >>> >> > --.
>> >> >>> >> > >
>> >> >>> >> > > (Wordpress is driving me crazy because it is showing the
>> >> >>> >> > > double-dashes
>> >> >>> >> > >> as long single dashes, even when I use the monospace
>> >> font-family.
>> >> >>> >> > >> Any
>> >> >>> >> > >> suggestions?)
>> >> >>> >> > >>
>> >> >>> >> > >
>> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>> >> >>> preformatted.
>> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >> >>> >> > >
>> >> >>> >> >
>> >> >>>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >>> >> > age-command-line-conversion-documentation/
>> >> >>> >> > >
>> >> >>> >> > > Thank you very much.
>> >> >>> >> > > Menaka
>> >> >>> >> > >
>> >> >>> >> > > I'll go through your documentations.
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> >> galen@noventussolutions.com
>> >> >>> >
>> >> >>> >> > wrote:
>> >> >>> >> > >
>> >> >>> >> > >> Hi Menaka,
>> >> >>> >> > >>
>> >> >>> >> > >> Thanks for updating your blog! I have some additional
>> feedback
>> >> in
>> >> >>> >> > >> the form of two blog posts. One has a detailed description
>> (as
>> >> I
>> >> >>> >> > >> understand it) of the convert command and one has several
>> >> >>> examples,
>> >> >>> >> > >> building on the examples in your blog. I hope these will
>> help
>> >> the
>> >> >>> >> > >> discussion of the command structure. Here are the links:
>> >> >>> >> > >>
>> >> >>> >> > >>
>> >> >>> >> > >>
>> >> >>> >> >
>> >> >>>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >>> >> > mmand-line-convert-command/
>> >> >>> >> > >>
>> >> >>> >> > >>
>> >> >>> >> > >>
>> >> >>> >> >
>> >> >>>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> >>> >> > mmand-line-convert-examples/
>> >> >>> >> > >>
>> >> >>> >> > >> Some things to note:
>> >> >>> >> > >>
>> >> >>> >> > >> (1) l basically used your June 18th post, but a few things
>> >> (like
>> >> >>> >> > >> the validate command) are from earlier posts/emails.
>> >> >>> >> > >>
>> >> >>> >> > >> (2) I showed the output-format without brackets to indicate
>> it
>> >> is
>> >> >>> >> > >> required and not optional because it appears to be always
>> >> >>> necessary.
>> >> >>> >> > >>
>> >> >>> >> > >> (3) The way I understand the overall command structure, it
>> >> seemed
>> >> >>> >> > >> that all options (e.g., the output file directory) should
>> come
>> >> >>> >> > >> before the input-file-list, so that's what I assumed.
>> >> >>> >> > >>
>> >> >>> >> > >> (4) I left the -json output file type as having a single
>> dash,
>> >> but
>> >> >>> >> > >> all the other output types have double-dashes. Should I
>> change
>> >> the
>> >> >>> >> > >> json output argument to --json?
>> >> >>> >> > >>
>> >> >>> >> > >> Please let me know if anything is incorrect and I will
>> change
>> >> it.
>> >> >>> I
>> >> >>> >> > >> realize the command structure is fluid, and I'm happy to
>> make
>> >> any
>> >> >>> >> > >> changes as things evolve.
>> >> >>> >> > >>
>> >> >>> >> > >> (Wordpress is driving me crazy because it is showing the
>> >> >>> >> > >> double-dashes as long single dashes, even when I use the
>> >> monospace
>> >> >>> >> > >> font-family. Any
>> >> >>> >> > >> suggestions?)
>> >> >>> >> > >>
>> >> >>> >> > >> Thanks,
>> >> >>> >> > >>
>> >> >>> >> > >> Gale
>> >> >>> >> > >>
>> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> >>> >> > >> <me...@gmail.com> wrote:
>> >> >>> >> > >> > Hi Gale,
>> >> >>> >> > >> >
>> >> >>> >> > >> > Thank you very much.
>> >> >>> >> > >> >
>> >> >>> >> > >> > . Can you help me
>> >> >>> >> > >> >> understand what you mean when you say the files will get
>> >> saved
>> >> >>> >> > >> >> to the C directory?
>> >> >>> >> > >> >
>> >> >>> >> > >> > That was a mistake :-). I updated the blog. That should be
>> >> >>> >> > >> > corrected
>> >> >>> >> > as
>> >> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> >>> >> > >> > *Convert
>> >> >>> >> > the
>> >> >>> >> > >> > files and save them in the …/toConvert/converted/
>> directory.
>> >> >>> >> > >> >
>> >> >>> >> > >> > I would appreciate more feedback, modifications etc. So
>> with
>> >> the
>> >> >>> >> > >> > help
>> >> >>> >> > of
>> >> >>> >> > >> > the community we could come up with a much better
>> structure.
>> >> >>> >> > >> > Cheers
>> >> >>> >> > >> > Menaka
>> >> >>> >> > >> >
>> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> >>> >> > >> > <ga...@noventussolutions.com>
>> >> >>> >> > >> wrote:
>> >> >>> >> > >> >
>> >> >>> >> > >> >> Hi Menaka,
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> I am very happy to help, and I understand the command
>> >> structure
>> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
>> post; it
>> >> >>> was
>> >> >>> >> > >> >> very helpful.
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> I am a little confused about your recursive example. Can
>> you
>> >> >>> >> > >> >> help me understand what you mean when you say the files
>> will
>> >> >>> get
>> >> >>> >> > >> >> saved to the C directory? Because you show the output
>> being
>> >> >>> saved
>> >> >>> >> > >> >> to:
>> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> This is the example:
>> >> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> >>> >> > >> >> Convert the files and save them in the C directory.
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> Thank you!
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> Gale
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> B
>> >> >>> >> > >> >>
>> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> >>> >> > >> >> <me...@gmail.com> wrote:
>> >> >>> >> > >> >> > Hi Gale,
>> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very much.
>> :-)
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > 1) Is this still the basic structure of the command:
>> >> tavlang
>> >> >>> >> > convert
>> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>> >> >>> >> > >> >> >> thinking
>> >> >>> >> > that
>> >> >>> >> > >> the
>> >> >>> >> > >> >> >> output formats are handled as options?
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > Yes there is a little difference in the structure of
>> >> commands
>> >> >>> >> > >> >> > now
>> >> >>> >> > and
>> >> >>> >> > >> >> then.
>> >> >>> >> > >> >> > So for the moment the command structure is like this.
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
>> [arguments]
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
>> >> what
>> >> >>> >> > >> >> circumstances?
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > No. In recursive case the input will be a directory
>> >> >>> containing
>> >> >>> >> > >> .t2flow of
>> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
>> >> >>> recursive
>> >> >>> >> > >> >> > and
>> >> >>> >> > non
>> >> >>> >> > >> >> > recursive cases.
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > I created a blog about the conversion command.
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >>
>> >> >>> >> > >>
>> >> >>> >> >
>> >> >>>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> >>> >> > age-command-line-conversion-documentation/
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > If you have some suggestions, please inform.
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > Thank you very much!
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > Regards
>> >> >>> >> > >> >> > Menaka
>> >> >>> >> > >> >> >
>> >> >>> >> > >> >> > --
>> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >>> University
>> >> >>> >> > >> >> > of Peradeniyaya.
>> >> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>> >> > >> >>
>> >> >>> >> > >> >
>> >> >>> >> > >> >
>> >> >>> >> > >> >
>> >> >>> >> > >> > --
>> >> >>> >> > >> > Menaka Madushanka Jayawardena
>> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> University
>> >> >>> of
>> >> >>> >> > >> > Peradeniyaya.
>> >> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>> >> > >>
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > >
>> >> >>> >> > > --
>> >> >>> >> > > Menaka Madushanka Jayawardena
>> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University
>> >> of
>> >> >>> >> > > Peradeniyaya.
>> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> --
>> >> >>> >> Menaka Madushanka Jayawardena
>> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> >>> >> Peradeniyaya.
>> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > --
>> >> >>> > Menaka Madushanka Jayawardena
>> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >>> > University of Peradeniyaya.
>> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Menaka Madushanka Jayawardena
>> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> >> University of Peradeniyaya.
>> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
So, .wfbundles can be converted to .json and .iwir formats as well as
> .structure?
Yes.
Is it true that .wfbundle is the *bundle* format of Taverna 3
> (taverna-sculf2-wfbundle)
> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
I found this doc in
http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API
Cheers
Menaka
On 27 June 2015 at 22:46, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> > According to the documentations provided, SCUFL is an experimental
> module.
> > So It has not added to the tool yet.
>
> Okay, I see now. That makes sense. FYI, because I am a visual person,
> I took the Taverna
> Language Module information and created a diagram:
>
> https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
>
> > The taverna language is capable of converting .t2flow workflows into
> > .wfbundle and other formats, and .wfbundles into formats except .t2flow.
>
> So, .wfbundles can be converted to .json and .iwir formats as well as
> .structure?
> If so, I will update my table.
>
> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> Taverna
> > 3)
>
> Is it true that .wfbundle is the *bundle* format of Taverna 3
> (taverna-sculf2-wfbundle)
> and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
>
> > Input file type detection was done to avoid any exceptions when reading
> the
> > wokflow file. ...
> > In new_features2, I removed it because I have entered the wrong logic. I
> > restored it.
>
> Okay, understood.
>
> Thank you!
>
> Gale
>
> On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hi Gale,
> > According to the documentations provided, SCUFL is an experimental
> module.
> > So It has not added to the tool yet.
> >
> > I presumed that.scufl2 workflows could be converted to the same
> >> formats as .t2flow workflows, but if that's not correct, let me know
> >> and I'll fix it.
> >
> > The taverna language is capable of converting .t2flow workflows into
> > .wfbundle and other formats, and .wfbundles into formats except .t2flow.
> > (.t2flow is the format of Taverna 2 and .wfbundle is the format of
> Taverna
> > 3)
> >
> > Also, I was wondering about something you said in one of your June
> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >> features2).
> >> You said "File type detection removed."
> >>
> >> Which file type detection is this? Is this related to Stain's June 4th
> >> email, in which he said the input format is auto-guessed by
> >> WorkflowBundleIO? Just wondering, because in my blog I included this
> >> comment and I wanted to make sure it is still accurate.
> >
> >
> > Input file type detection was done to avoid any exceptions when reading
> the
> > wokflow file. The WorkflowBundleIO can guess the media type and read the
> > bundle but, the input format could be wrongly entered by the user. We
> can't
> > promise that the user could always do the correct thing. Also in
> recursive
> > conversion, there could be other files also.
> >
> > In new_features2, I removed it because I have entered the wrong logic. I
> > restored it.
> >
> > Thank you
> > Menaka
> >
> >
> >
> > On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> A couple more things.
> >>
> >> I am trying to organize my understanding of how the conversions work,
> >> so I wrote a new blog post with a conversion table:
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
> >>
> >> I presumed that.scufl2 workflows could be converted to the same
> >> formats as .t2flow workflows, but if that's not correct, let me know
> >> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
> >> table is my best guess from reading all of the emails, so please let
> >> me know if anything is wrong, or if I missed something.
> >>
> >> Also, I was wondering about something you said in one of your June
> >> 25th emails ([GitHub] incubator-taverna-language pull request: New
> >> features2).
> >> You said "File type detection removed."
> >>
> >> Which file type detection is this? Is this related to Stain's June 4th
> >> email, in which he said the input format is auto-guessed by
> >> WorkflowBundleIO? Just wondering, because in my blog I included this
> >> comment and I wanted to make sure it is still accurate.
> >>
> >> Thanks!
> >>
> >> Gale
> >>
> >> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Have a nice weekend too.....!!! :-)
> >> >
> >> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
> >> wrote:
> >> >
> >> >> Hi Gale,
> >> >> I'm really appreciate your feedback on my blogs. I'm very new and
> there
> >> >> could be some flows. Thank you very much for showing them. :-)
> >> >>
> >> >> 1) Yes, the types of bundle formats that can be converted are listed
> in
> >> >> this blog.
> >> >>
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> >> The bundles are not workflows.
> >> >>
> >> >> 2) No. It seems like the way I have wrote it somewhat misleading.....
> >> >> Actually scufl2 workflows are not Bundles. Those are two different
> APIs.
> >> >> I'll update the blog. :-)
> >> >>
> >> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted
> into
> >> >> robundle.
> >> >>
> >> >> 4). Yes Gale. That modification should be done. Other wise it looks
> like
> >> >> any format could be converted into Robundle. I'll update my blog too.
> >> >>
> >> >> Are there any more facts that need clarification about the blogs
> please
> >> >> ask me. :)
> >> >>
> >> >> Thank you very much Gale.
> >> >> Menaka
> >> >>
> >> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >>
> >> >>> Hi Menaka,
> >> >>>
> >> >>> I've been reading and learning more about research objects, and I
> >> >>> think I understand better what is going on, but I still have some
> >> >>> questions.
> >> >>>
> >> >>> 1) I am curious as to which file types *can* be converted to
> .robundle
> >> >>> format? (I must have missed something because I thought .t2flow and
> >> >>> .wfbundle were the only allowed input file types.)
> >> >>>
> >> >>> 2) In rereading your June 18th blog post, I see you say that the
> >> >>> command line tool is for converting and managing workflow "bundles"
> as
> >> >>> well as research object bundles. Are t2flow files "workflow bundles"
> >> >>> or just "workflows?" Or is there not a practical difference?
> >> >>>
> >> >>> 3) I understand now that not all file format conversions are valid.
> >> >>> I'm trying to understand this better. In your June 18th blog post
> you
> >> >>> say:
> >> >>>
> >> >>> "The conversion function supports converting .t2flow and .wfbundle
> >> >>> formats into following formats:
> >> >>>
> >> >>> .structure
> >> >>>
> >> >>> .json
> >> >>>
> >> >>> .iwir
> >> >>>
> >> >>> .wfbundle
> >> >>>
> >> >>> .wfdesc.ttl –> (development in progress)
> >> >>>
> >> >>> .robundle –> (development in progress)"
> >> >>>
> >> >>> To me, reading this looks like all combinations are valid.
> >> >>>
> >> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
> >> >>> all file types *except* robundle?
> >> >>>
> >> >>>
> >> >>> 4) I fixed the examples in my blog post. Should I also change the
> >> >>> --robundle option description to say "Output bundle as .robundle"
> >> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> >> >>> option.)
> >> >>>
> >> >>> Thanks for the feedback and the correct link to the example!
> >> >>>
> >> >>> Have a nice weekend.
> >> >>>
> >> >>> Gale
> >> >>>
> >> >>>
> >> >>>
> >> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >> >>> <me...@gmail.com> wrote:
> >> >>> > Hi Gale,
> >> >>> > Use this link
> >> >>> >
> >> >>>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >> >>> >
> >> >>> > Cheers
> >> >>> > Menaka
> >> >>> >
> >> >>> > On 25 June 2015 at 05:34, Gale Naylor <
> galen@noventussolutions.com>
> >> >>> wrote:
> >> >>> >
> >> >>> >> Hi Menaka,
> >> >>> >>
> >> >>> >> Thank you for the feedback and clarifying information. Sorry not
> to
> >> >>> respond
> >> >>> >> sooner. I am learning about bundles, etc. and reading the link
> you
> >> >>> sent.
> >> >>> >>
> >> >>> >> One thing, I'm having trouble getting to the example in the
> Examples
> >> >>> of Use
> >> >>> >> Section: "Example in full is at
> >> >>> org.apache.taverna.robundle.TestExample"
> >> >>> >>
> >> >>> >> Can you help me? This is what I've done so far:
> >> >>> >>
> >> >>> >> - Clicking on the link gets me the "This is not the web page you
> are
> >> >>> >> looking
> >> >>> >> for" page. (This is the actual link address:
> >> >>> >>
> >> >>> >>
> >> >>>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> >>> >> )
> >> >>> >>
> >> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
> >> work
> >> >>> for
> >> >>> >> me. I didn't think it would, but I tried anyway.
> >> >>> >>
> >> >>> >> - Searching for "taverna robundle TestExample" on the main
> >> Apache.com
> >> >>> page
> >> >>> >> yields no results.
> >> >>> >>
> >> >>> >> I will continue to read and understand the RO Bundle API page,
> but I
> >> >>> would
> >> >>> >> like to see the full Test Example, if possible.
> >> >>> >>
> >> >>> >> Thanks!
> >> >>> >>
> >> >>> >> Gale
> >> >>> >>
> >> >>> >>
> >> >>> >> -----Original Message-----
> >> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> >>> >> To: dev@taverna.incubator.apache.org
> >> >>> >> Subject: Re: Taverna Language Command Line tool - convert command
> >> doc
> >> >>> >>
> >> >>> >> That's cool.....!! :-)
> >> >>> >> Correction:
> >> >>> >>
> >> >>> >>
> >> >>>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >> >>> >>
> >> >>> >> > Example 2: Simple conversion, multiple input files, no options
> >> >>> >> >
> >> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> >> /someFile2.wfbundle
> >> >>> >> >
> >> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> >> >>> >> > *.robundle* format and saves the output files to the
> */converted*
> >> >>> >> > folder in the current working directory.
> >> >>> >> >
> >> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into
> robundle
> >> >>> format.
> >> >>> >> Its only for some specific bundle formats. Go through this doc
> for
> >> more
> >> >>> >> info.
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >> >>> >>
> >> >>> >> cheers.
> >> >>> >>
> >> >>> >> On 20 June 2015 at 22:43, Gale Naylor <
> galen@noventussolutions.com>
> >> >>> wrote:
> >> >>> >>
> >> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
> >> blog
> >> >>> >> > posts to use the <pre> tag, and it looks great. I also made a
> few
> >> >>> >> > refinements.
> >> >>> >> >
> >> >>> >> > Thanks,
> >> >>> >> > Gale
> >> >>> >> >
> >> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> >>> >> > <me...@gmail.com> wrote:
> >> >>> >> > > Thank you very much Gale,
> >> >>> >> > >
> >> >>> >> > > I showed the output-format without brackets to indicate it is
> >> >>> >> > >> required and not optional because it appears to be always
> >> >>> necessary
> >> >>> >> > >
> >> >>> >> > >
> >> >>> >> > > That would be more accurate I think. I'm very new for
> >> >>> documentation.
> >> >>> >> > Thank
> >> >>> >> > > you very much.
> >> >>> >> > >
> >> >>> >> > > I left the -json output file type as having a single dash,
> but
> >> all
> >> >>> >> > >> the other output types have double-dashes. Should I change
> the
> >> >>> json
> >> >>> >> > >> output argument to --json?
> >> >>> >> > >>
> >> >>> >> > > -json should be --json. In my email that was a mistake. So
> you
> >> can
> >> >>> >> > > use
> >> >>> >> > --.
> >> >>> >> > >
> >> >>> >> > > (Wordpress is driving me crazy because it is showing the
> >> >>> >> > > double-dashes
> >> >>> >> > >> as long single dashes, even when I use the monospace
> >> font-family.
> >> >>> >> > >> Any
> >> >>> >> > >> suggestions?)
> >> >>> >> > >>
> >> >>> >> > >
> >> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> >> >>> preformatted.
> >> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >> >>> >> > >
> >> >>> >> >
> >> >>>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >>> >> > age-command-line-conversion-documentation/
> >> >>> >> > >
> >> >>> >> > > Thank you very much.
> >> >>> >> > > Menaka
> >> >>> >> > >
> >> >>> >> > > I'll go through your documentations.
> >> >>> >> > >
> >> >>> >> > >
> >> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> >> galen@noventussolutions.com
> >> >>> >
> >> >>> >> > wrote:
> >> >>> >> > >
> >> >>> >> > >> Hi Menaka,
> >> >>> >> > >>
> >> >>> >> > >> Thanks for updating your blog! I have some additional
> feedback
> >> in
> >> >>> >> > >> the form of two blog posts. One has a detailed description
> (as
> >> I
> >> >>> >> > >> understand it) of the convert command and one has several
> >> >>> examples,
> >> >>> >> > >> building on the examples in your blog. I hope these will
> help
> >> the
> >> >>> >> > >> discussion of the command structure. Here are the links:
> >> >>> >> > >>
> >> >>> >> > >>
> >> >>> >> > >>
> >> >>> >> >
> >> >>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >>> >> > mmand-line-convert-command/
> >> >>> >> > >>
> >> >>> >> > >>
> >> >>> >> > >>
> >> >>> >> >
> >> >>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> >>> >> > mmand-line-convert-examples/
> >> >>> >> > >>
> >> >>> >> > >> Some things to note:
> >> >>> >> > >>
> >> >>> >> > >> (1) l basically used your June 18th post, but a few things
> >> (like
> >> >>> >> > >> the validate command) are from earlier posts/emails.
> >> >>> >> > >>
> >> >>> >> > >> (2) I showed the output-format without brackets to indicate
> it
> >> is
> >> >>> >> > >> required and not optional because it appears to be always
> >> >>> necessary.
> >> >>> >> > >>
> >> >>> >> > >> (3) The way I understand the overall command structure, it
> >> seemed
> >> >>> >> > >> that all options (e.g., the output file directory) should
> come
> >> >>> >> > >> before the input-file-list, so that's what I assumed.
> >> >>> >> > >>
> >> >>> >> > >> (4) I left the -json output file type as having a single
> dash,
> >> but
> >> >>> >> > >> all the other output types have double-dashes. Should I
> change
> >> the
> >> >>> >> > >> json output argument to --json?
> >> >>> >> > >>
> >> >>> >> > >> Please let me know if anything is incorrect and I will
> change
> >> it.
> >> >>> I
> >> >>> >> > >> realize the command structure is fluid, and I'm happy to
> make
> >> any
> >> >>> >> > >> changes as things evolve.
> >> >>> >> > >>
> >> >>> >> > >> (Wordpress is driving me crazy because it is showing the
> >> >>> >> > >> double-dashes as long single dashes, even when I use the
> >> monospace
> >> >>> >> > >> font-family. Any
> >> >>> >> > >> suggestions?)
> >> >>> >> > >>
> >> >>> >> > >> Thanks,
> >> >>> >> > >>
> >> >>> >> > >> Gale
> >> >>> >> > >>
> >> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> >>> >> > >> <me...@gmail.com> wrote:
> >> >>> >> > >> > Hi Gale,
> >> >>> >> > >> >
> >> >>> >> > >> > Thank you very much.
> >> >>> >> > >> >
> >> >>> >> > >> > . Can you help me
> >> >>> >> > >> >> understand what you mean when you say the files will get
> >> saved
> >> >>> >> > >> >> to the C directory?
> >> >>> >> > >> >
> >> >>> >> > >> > That was a mistake :-). I updated the blog. That should be
> >> >>> >> > >> > corrected
> >> >>> >> > as
> >> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >>> >> > >> > *Convert
> >> >>> >> > the
> >> >>> >> > >> > files and save them in the …/toConvert/converted/
> directory.
> >> >>> >> > >> >
> >> >>> >> > >> > I would appreciate more feedback, modifications etc. So
> with
> >> the
> >> >>> >> > >> > help
> >> >>> >> > of
> >> >>> >> > >> > the community we could come up with a much better
> structure.
> >> >>> >> > >> > Cheers
> >> >>> >> > >> > Menaka
> >> >>> >> > >> >
> >> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> >>> >> > >> > <ga...@noventussolutions.com>
> >> >>> >> > >> wrote:
> >> >>> >> > >> >
> >> >>> >> > >> >> Hi Menaka,
> >> >>> >> > >> >>
> >> >>> >> > >> >> I am very happy to help, and I understand the command
> >> structure
> >> >>> >> > >> >> is a little fluid right now. Thank you for the blog
> post; it
> >> >>> was
> >> >>> >> > >> >> very helpful.
> >> >>> >> > >> >>
> >> >>> >> > >> >> I am a little confused about your recursive example. Can
> you
> >> >>> >> > >> >> help me understand what you mean when you say the files
> will
> >> >>> get
> >> >>> >> > >> >> saved to the C directory? Because you show the output
> being
> >> >>> saved
> >> >>> >> > >> >> to:
> >> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >>> >> > >> >>
> >> >>> >> > >> >> This is the example:
> >> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >>> >> > >> >> Convert the files and save them in the C directory.
> >> >>> >> > >> >>
> >> >>> >> > >> >> Thank you!
> >> >>> >> > >> >>
> >> >>> >> > >> >> Gale
> >> >>> >> > >> >>
> >> >>> >> > >> >> B
> >> >>> >> > >> >>
> >> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >>> >> > >> >> <me...@gmail.com> wrote:
> >> >>> >> > >> >> > Hi Gale,
> >> >>> >> > >> >> > I extremely appreciate your help. Thank you very much.
> :-)
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > 1) Is this still the basic structure of the command:
> >> tavlang
> >> >>> >> > convert
> >> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
> >> >>> >> > >> >> >> thinking
> >> >>> >> > that
> >> >>> >> > >> the
> >> >>> >> > >> >> >> output formats are handled as options?
> >> >>> >> > >> >> >
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > Yes there is a little difference in the structure of
> >> commands
> >> >>> >> > >> >> > now
> >> >>> >> > and
> >> >>> >> > >> >> then.
> >> >>> >> > >> >> > So for the moment the command structure is like this.
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > $tavlang convert [--out-put format] [options]
> [arguments]
> >> >>> >> > >> >> >
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
> >> what
> >> >>> >> > >> >> circumstances?
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > No. In recursive case the input will be a directory
> >> >>> containing
> >> >>> >> > >> .t2flow of
> >> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
> >> >>> recursive
> >> >>> >> > >> >> > and
> >> >>> >> > non
> >> >>> >> > >> >> > recursive cases.
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > I created a blog about the conversion command.
> >> >>> >> > >> >> >
> >> >>> >> > >> >>
> >> >>> >> > >>
> >> >>> >> >
> >> >>>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> >>> >> > age-command-line-conversion-documentation/
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > If you have some suggestions, please inform.
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > Thank you very much!
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > Regards
> >> >>> >> > >> >> > Menaka
> >> >>> >> > >> >> >
> >> >>> >> > >> >> > --
> >> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >>> University
> >> >>> >> > >> >> > of Peradeniyaya.
> >> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>> >> > >> >>
> >> >>> >> > >> >
> >> >>> >> > >> >
> >> >>> >> > >> >
> >> >>> >> > >> > --
> >> >>> >> > >> > Menaka Madushanka Jayawardena
> >> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University
> >> >>> of
> >> >>> >> > >> > Peradeniyaya.
> >> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>> >> > >>
> >> >>> >> > >
> >> >>> >> > >
> >> >>> >> > >
> >> >>> >> > > --
> >> >>> >> > > Menaka Madushanka Jayawardena
> >> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University
> >> of
> >> >>> >> > > Peradeniyaya.
> >> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>> >> >
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >> --
> >> >>> >> Menaka Madushanka Jayawardena
> >> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> >>> >> Peradeniyaya.
> >> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>> >>
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > Menaka Madushanka Jayawardena
> >> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >>> > University of Peradeniyaya.
> >> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Menaka Madushanka Jayawardena
> >> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> University of Peradeniyaya.
> >> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
> According to the documentations provided, SCUFL is an experimental module.
> So It has not added to the tool yet.
Okay, I see now. That makes sense. FYI, because I am a visual person,
I took the Taverna
Language Module information and created a diagram:
https://galenaylor.wordpress.com/2015/06/27/apache-taverna-language-modules-diagram/
> The taverna language is capable of converting .t2flow workflows into
> .wfbundle and other formats, and .wfbundles into formats except .t2flow.
So, .wfbundles can be converted to .json and .iwir formats as well as
.structure?
If so, I will update my table.
> (.t2flow is the format of Taverna 2 and .wfbundle is the format of Taverna
> 3)
Is it true that .wfbundle is the *bundle* format of Taverna 3
(taverna-sculf2-wfbundle)
and scufl2 is the *workflow* format of Taverna 3 (taverna-scufl2-api)?
> Input file type detection was done to avoid any exceptions when reading the
> wokflow file. ...
> In new_features2, I removed it because I have entered the wrong logic. I
> restored it.
Okay, understood.
Thank you!
Gale
On Fri, Jun 26, 2015 at 1:48 PM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hi Gale,
> According to the documentations provided, SCUFL is an experimental module.
> So It has not added to the tool yet.
>
> I presumed that.scufl2 workflows could be converted to the same
>> formats as .t2flow workflows, but if that's not correct, let me know
>> and I'll fix it.
>
> The taverna language is capable of converting .t2flow workflows into
> .wfbundle and other formats, and .wfbundles into formats except .t2flow.
> (.t2flow is the format of Taverna 2 and .wfbundle is the format of Taverna
> 3)
>
> Also, I was wondering about something you said in one of your June
>> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> features2).
>> You said "File type detection removed."
>>
>> Which file type detection is this? Is this related to Stain's June 4th
>> email, in which he said the input format is auto-guessed by
>> WorkflowBundleIO? Just wondering, because in my blog I included this
>> comment and I wanted to make sure it is still accurate.
>
>
> Input file type detection was done to avoid any exceptions when reading the
> wokflow file. The WorkflowBundleIO can guess the media type and read the
> bundle but, the input format could be wrongly entered by the user. We can't
> promise that the user could always do the correct thing. Also in recursive
> conversion, there could be other files also.
>
> In new_features2, I removed it because I have entered the wrong logic. I
> restored it.
>
> Thank you
> Menaka
>
>
>
> On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> A couple more things.
>>
>> I am trying to organize my understanding of how the conversions work,
>> so I wrote a new blog post with a conversion table:
>>
>> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>>
>> I presumed that.scufl2 workflows could be converted to the same
>> formats as .t2flow workflows, but if that's not correct, let me know
>> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
>> table is my best guess from reading all of the emails, so please let
>> me know if anything is wrong, or if I missed something.
>>
>> Also, I was wondering about something you said in one of your June
>> 25th emails ([GitHub] incubator-taverna-language pull request: New
>> features2).
>> You said "File type detection removed."
>>
>> Which file type detection is this? Is this related to Stain's June 4th
>> email, in which he said the input format is auto-guessed by
>> WorkflowBundleIO? Just wondering, because in my blog I included this
>> comment and I wanted to make sure it is still accurate.
>>
>> Thanks!
>>
>> Gale
>>
>> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Have a nice weekend too.....!!! :-)
>> >
>> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
>> wrote:
>> >
>> >> Hi Gale,
>> >> I'm really appreciate your feedback on my blogs. I'm very new and there
>> >> could be some flows. Thank you very much for showing them. :-)
>> >>
>> >> 1) Yes, the types of bundle formats that can be converted are listed in
>> >> this blog.
>> >>
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> >> The bundles are not workflows.
>> >>
>> >> 2) No. It seems like the way I have wrote it somewhat misleading.....
>> >> Actually scufl2 workflows are not Bundles. Those are two different APIs.
>> >> I'll update the blog. :-)
>> >>
>> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>> >> robundle.
>> >>
>> >> 4). Yes Gale. That modification should be done. Other wise it looks like
>> >> any format could be converted into Robundle. I'll update my blog too.
>> >>
>> >> Are there any more facts that need clarification about the blogs please
>> >> ask me. :)
>> >>
>> >> Thank you very much Gale.
>> >> Menaka
>> >>
>> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >>
>> >>> Hi Menaka,
>> >>>
>> >>> I've been reading and learning more about research objects, and I
>> >>> think I understand better what is going on, but I still have some
>> >>> questions.
>> >>>
>> >>> 1) I am curious as to which file types *can* be converted to .robundle
>> >>> format? (I must have missed something because I thought .t2flow and
>> >>> .wfbundle were the only allowed input file types.)
>> >>>
>> >>> 2) In rereading your June 18th blog post, I see you say that the
>> >>> command line tool is for converting and managing workflow "bundles" as
>> >>> well as research object bundles. Are t2flow files "workflow bundles"
>> >>> or just "workflows?" Or is there not a practical difference?
>> >>>
>> >>> 3) I understand now that not all file format conversions are valid.
>> >>> I'm trying to understand this better. In your June 18th blog post you
>> >>> say:
>> >>>
>> >>> "The conversion function supports converting .t2flow and .wfbundle
>> >>> formats into following formats:
>> >>>
>> >>> .structure
>> >>>
>> >>> .json
>> >>>
>> >>> .iwir
>> >>>
>> >>> .wfbundle
>> >>>
>> >>> .wfdesc.ttl –> (development in progress)
>> >>>
>> >>> .robundle –> (development in progress)"
>> >>>
>> >>> To me, reading this looks like all combinations are valid.
>> >>>
>> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>> >>> all file types *except* robundle?
>> >>>
>> >>>
>> >>> 4) I fixed the examples in my blog post. Should I also change the
>> >>> --robundle option description to say "Output bundle as .robundle"
>> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>> >>> option.)
>> >>>
>> >>> Thanks for the feedback and the correct link to the example!
>> >>>
>> >>> Have a nice weekend.
>> >>>
>> >>> Gale
>> >>>
>> >>>
>> >>>
>> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> >>> <me...@gmail.com> wrote:
>> >>> > Hi Gale,
>> >>> > Use this link
>> >>> >
>> >>>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >>> >
>> >>> > Cheers
>> >>> > Menaka
>> >>> >
>> >>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>> >>> wrote:
>> >>> >
>> >>> >> Hi Menaka,
>> >>> >>
>> >>> >> Thank you for the feedback and clarifying information. Sorry not to
>> >>> respond
>> >>> >> sooner. I am learning about bundles, etc. and reading the link you
>> >>> sent.
>> >>> >>
>> >>> >> One thing, I'm having trouble getting to the example in the Examples
>> >>> of Use
>> >>> >> Section: "Example in full is at
>> >>> org.apache.taverna.robundle.TestExample"
>> >>> >>
>> >>> >> Can you help me? This is what I've done so far:
>> >>> >>
>> >>> >> - Clicking on the link gets me the "This is not the web page you are
>> >>> >> looking
>> >>> >> for" page. (This is the actual link address:
>> >>> >>
>> >>> >>
>> >>>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >>> >> )
>> >>> >>
>> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
>> work
>> >>> for
>> >>> >> me. I didn't think it would, but I tried anyway.
>> >>> >>
>> >>> >> - Searching for "taverna robundle TestExample" on the main
>> Apache.com
>> >>> page
>> >>> >> yields no results.
>> >>> >>
>> >>> >> I will continue to read and understand the RO Bundle API page, but I
>> >>> would
>> >>> >> like to see the full Test Example, if possible.
>> >>> >>
>> >>> >> Thanks!
>> >>> >>
>> >>> >> Gale
>> >>> >>
>> >>> >>
>> >>> >> -----Original Message-----
>> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >>> >> To: dev@taverna.incubator.apache.org
>> >>> >> Subject: Re: Taverna Language Command Line tool - convert command
>> doc
>> >>> >>
>> >>> >> That's cool.....!! :-)
>> >>> >> Correction:
>> >>> >>
>> >>> >>
>> >>>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >>> >>
>> >>> >> > Example 2: Simple conversion, multiple input files, no options
>> >>> >> >
>> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
>> /someFile2.wfbundle
>> >>> >> >
>> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>> >>> >> > *.robundle* format and saves the output files to the */converted*
>> >>> >> > folder in the current working directory.
>> >>> >> >
>> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>> >>> format.
>> >>> >> Its only for some specific bundle formats. Go through this doc for
>> more
>> >>> >> info.
>> >>> >>
>> >>> >>
>> >>> >>
>> >>>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >>> >>
>> >>> >> cheers.
>> >>> >>
>> >>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>> >>> wrote:
>> >>> >>
>> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
>> blog
>> >>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>> >>> >> > refinements.
>> >>> >> >
>> >>> >> > Thanks,
>> >>> >> > Gale
>> >>> >> >
>> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >>> >> > <me...@gmail.com> wrote:
>> >>> >> > > Thank you very much Gale,
>> >>> >> > >
>> >>> >> > > I showed the output-format without brackets to indicate it is
>> >>> >> > >> required and not optional because it appears to be always
>> >>> necessary
>> >>> >> > >
>> >>> >> > >
>> >>> >> > > That would be more accurate I think. I'm very new for
>> >>> documentation.
>> >>> >> > Thank
>> >>> >> > > you very much.
>> >>> >> > >
>> >>> >> > > I left the -json output file type as having a single dash, but
>> all
>> >>> >> > >> the other output types have double-dashes. Should I change the
>> >>> json
>> >>> >> > >> output argument to --json?
>> >>> >> > >>
>> >>> >> > > -json should be --json. In my email that was a mistake. So you
>> can
>> >>> >> > > use
>> >>> >> > --.
>> >>> >> > >
>> >>> >> > > (Wordpress is driving me crazy because it is showing the
>> >>> >> > > double-dashes
>> >>> >> > >> as long single dashes, even when I use the monospace
>> font-family.
>> >>> >> > >> Any
>> >>> >> > >> suggestions?)
>> >>> >> > >>
>> >>> >> > >
>> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>> >>> preformatted.
>> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >>> >> > >
>> >>> >> >
>> >>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >>> >> > age-command-line-conversion-documentation/
>> >>> >> > >
>> >>> >> > > Thank you very much.
>> >>> >> > > Menaka
>> >>> >> > >
>> >>> >> > > I'll go through your documentations.
>> >>> >> > >
>> >>> >> > >
>> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
>> galen@noventussolutions.com
>> >>> >
>> >>> >> > wrote:
>> >>> >> > >
>> >>> >> > >> Hi Menaka,
>> >>> >> > >>
>> >>> >> > >> Thanks for updating your blog! I have some additional feedback
>> in
>> >>> >> > >> the form of two blog posts. One has a detailed description (as
>> I
>> >>> >> > >> understand it) of the convert command and one has several
>> >>> examples,
>> >>> >> > >> building on the examples in your blog. I hope these will help
>> the
>> >>> >> > >> discussion of the command structure. Here are the links:
>> >>> >> > >>
>> >>> >> > >>
>> >>> >> > >>
>> >>> >> >
>> >>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >>> >> > mmand-line-convert-command/
>> >>> >> > >>
>> >>> >> > >>
>> >>> >> > >>
>> >>> >> >
>> >>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >>> >> > mmand-line-convert-examples/
>> >>> >> > >>
>> >>> >> > >> Some things to note:
>> >>> >> > >>
>> >>> >> > >> (1) l basically used your June 18th post, but a few things
>> (like
>> >>> >> > >> the validate command) are from earlier posts/emails.
>> >>> >> > >>
>> >>> >> > >> (2) I showed the output-format without brackets to indicate it
>> is
>> >>> >> > >> required and not optional because it appears to be always
>> >>> necessary.
>> >>> >> > >>
>> >>> >> > >> (3) The way I understand the overall command structure, it
>> seemed
>> >>> >> > >> that all options (e.g., the output file directory) should come
>> >>> >> > >> before the input-file-list, so that's what I assumed.
>> >>> >> > >>
>> >>> >> > >> (4) I left the -json output file type as having a single dash,
>> but
>> >>> >> > >> all the other output types have double-dashes. Should I change
>> the
>> >>> >> > >> json output argument to --json?
>> >>> >> > >>
>> >>> >> > >> Please let me know if anything is incorrect and I will change
>> it.
>> >>> I
>> >>> >> > >> realize the command structure is fluid, and I'm happy to make
>> any
>> >>> >> > >> changes as things evolve.
>> >>> >> > >>
>> >>> >> > >> (Wordpress is driving me crazy because it is showing the
>> >>> >> > >> double-dashes as long single dashes, even when I use the
>> monospace
>> >>> >> > >> font-family. Any
>> >>> >> > >> suggestions?)
>> >>> >> > >>
>> >>> >> > >> Thanks,
>> >>> >> > >>
>> >>> >> > >> Gale
>> >>> >> > >>
>> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >>> >> > >> <me...@gmail.com> wrote:
>> >>> >> > >> > Hi Gale,
>> >>> >> > >> >
>> >>> >> > >> > Thank you very much.
>> >>> >> > >> >
>> >>> >> > >> > . Can you help me
>> >>> >> > >> >> understand what you mean when you say the files will get
>> saved
>> >>> >> > >> >> to the C directory?
>> >>> >> > >> >
>> >>> >> > >> > That was a mistake :-). I updated the blog. That should be
>> >>> >> > >> > corrected
>> >>> >> > as
>> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >>> >> > >> > *Convert
>> >>> >> > the
>> >>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>> >>> >> > >> >
>> >>> >> > >> > I would appreciate more feedback, modifications etc. So with
>> the
>> >>> >> > >> > help
>> >>> >> > of
>> >>> >> > >> > the community we could come up with a much better structure.
>> >>> >> > >> > Cheers
>> >>> >> > >> > Menaka
>> >>> >> > >> >
>> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >>> >> > >> > <ga...@noventussolutions.com>
>> >>> >> > >> wrote:
>> >>> >> > >> >
>> >>> >> > >> >> Hi Menaka,
>> >>> >> > >> >>
>> >>> >> > >> >> I am very happy to help, and I understand the command
>> structure
>> >>> >> > >> >> is a little fluid right now. Thank you for the blog post; it
>> >>> was
>> >>> >> > >> >> very helpful.
>> >>> >> > >> >>
>> >>> >> > >> >> I am a little confused about your recursive example. Can you
>> >>> >> > >> >> help me understand what you mean when you say the files will
>> >>> get
>> >>> >> > >> >> saved to the C directory? Because you show the output being
>> >>> saved
>> >>> >> > >> >> to:
>> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >>> >> > >> >>
>> >>> >> > >> >> This is the example:
>> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >>> >> > >> >> Convert the files and save them in the C directory.
>> >>> >> > >> >>
>> >>> >> > >> >> Thank you!
>> >>> >> > >> >>
>> >>> >> > >> >> Gale
>> >>> >> > >> >>
>> >>> >> > >> >> B
>> >>> >> > >> >>
>> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >>> >> > >> >> <me...@gmail.com> wrote:
>> >>> >> > >> >> > Hi Gale,
>> >>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>> >>> >> > >> >> >
>> >>> >> > >> >> > 1) Is this still the basic structure of the command:
>> tavlang
>> >>> >> > convert
>> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>> >>> >> > >> >> >> thinking
>> >>> >> > that
>> >>> >> > >> the
>> >>> >> > >> >> >> output formats are handled as options?
>> >>> >> > >> >> >
>> >>> >> > >> >> >
>> >>> >> > >> >> > Yes there is a little difference in the structure of
>> commands
>> >>> >> > >> >> > now
>> >>> >> > and
>> >>> >> > >> >> then.
>> >>> >> > >> >> > So for the moment the command structure is like this.
>> >>> >> > >> >> >
>> >>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>> >>> >> > >> >> >
>> >>> >> > >> >> >
>> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
>> what
>> >>> >> > >> >> circumstances?
>> >>> >> > >> >> >
>> >>> >> > >> >> > No. In recursive case the input will be a directory
>> >>> containing
>> >>> >> > >> .t2flow of
>> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
>> >>> recursive
>> >>> >> > >> >> > and
>> >>> >> > non
>> >>> >> > >> >> > recursive cases.
>> >>> >> > >> >> >
>> >>> >> > >> >> > I created a blog about the conversion command.
>> >>> >> > >> >> >
>> >>> >> > >> >>
>> >>> >> > >>
>> >>> >> >
>> >>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >>> >> > age-command-line-conversion-documentation/
>> >>> >> > >> >> >
>> >>> >> > >> >> > If you have some suggestions, please inform.
>> >>> >> > >> >> >
>> >>> >> > >> >> > Thank you very much!
>> >>> >> > >> >> >
>> >>> >> > >> >> > Regards
>> >>> >> > >> >> > Menaka
>> >>> >> > >> >> >
>> >>> >> > >> >> > --
>> >>> >> > >> >> > Menaka Madushanka Jayawardena
>> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >>> University
>> >>> >> > >> >> > of Peradeniyaya.
>> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>> >> > >> >>
>> >>> >> > >> >
>> >>> >> > >> >
>> >>> >> > >> >
>> >>> >> > >> > --
>> >>> >> > >> > Menaka Madushanka Jayawardena
>> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University
>> >>> of
>> >>> >> > >> > Peradeniyaya.
>> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>> >> > >>
>> >>> >> > >
>> >>> >> > >
>> >>> >> > >
>> >>> >> > > --
>> >>> >> > > Menaka Madushanka Jayawardena
>> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>> of
>> >>> >> > > Peradeniyaya.
>> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>> >> >
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> --
>> >>> >> Menaka Madushanka Jayawardena
>> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >>> >> Peradeniyaya.
>> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>> >>
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Menaka Madushanka Jayawardena
>> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >>> > University of Peradeniyaya.
>> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Menaka Madushanka Jayawardena
>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> University of Peradeniyaya.
>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
According to the documentations provided, SCUFL is an experimental module.
So It has not added to the tool yet.
I presumed that.scufl2 workflows could be converted to the same
> formats as .t2flow workflows, but if that's not correct, let me know
> and I'll fix it.
The taverna language is capable of converting .t2flow workflows into
.wfbundle and other formats, and .wfbundles into formats except .t2flow.
(.t2flow is the format of Taverna 2 and .wfbundle is the format of Taverna
3)
Also, I was wondering about something you said in one of your June
> 25th emails ([GitHub] incubator-taverna-language pull request: New
> features2).
> You said "File type detection removed."
>
> Which file type detection is this? Is this related to Stain's June 4th
> email, in which he said the input format is auto-guessed by
> WorkflowBundleIO? Just wondering, because in my blog I included this
> comment and I wanted to make sure it is still accurate.
Input file type detection was done to avoid any exceptions when reading the
wokflow file. The WorkflowBundleIO can guess the media type and read the
bundle but, the input format could be wrongly entered by the user. We can't
promise that the user could always do the correct thing. Also in recursive
conversion, there could be other files also.
In new_features2, I removed it because I have entered the wrong logic. I
restored it.
Thank you
Menaka
On 27 June 2015 at 01:54, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> A couple more things.
>
> I am trying to organize my understanding of how the conversions work,
> so I wrote a new blog post with a conversion table:
>
> https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
>
> I presumed that.scufl2 workflows could be converted to the same
> formats as .t2flow workflows, but if that's not correct, let me know
> and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
> table is my best guess from reading all of the emails, so please let
> me know if anything is wrong, or if I missed something.
>
> Also, I was wondering about something you said in one of your June
> 25th emails ([GitHub] incubator-taverna-language pull request: New
> features2).
> You said "File type detection removed."
>
> Which file type detection is this? Is this related to Stain's June 4th
> email, in which he said the input format is auto-guessed by
> WorkflowBundleIO? Just wondering, because in my blog I included this
> comment and I wanted to make sure it is still accurate.
>
> Thanks!
>
> Gale
>
> On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Have a nice weekend too.....!!! :-)
> >
> > On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com>
> wrote:
> >
> >> Hi Gale,
> >> I'm really appreciate your feedback on my blogs. I'm very new and there
> >> could be some flows. Thank you very much for showing them. :-)
> >>
> >> 1) Yes, the types of bundle formats that can be converted are listed in
> >> this blog.
> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> >> The bundles are not workflows.
> >>
> >> 2) No. It seems like the way I have wrote it somewhat misleading.....
> >> Actually scufl2 workflows are not Bundles. Those are two different APIs.
> >> I'll update the blog. :-)
> >>
> >> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
> >> robundle.
> >>
> >> 4). Yes Gale. That modification should be done. Other wise it looks like
> >> any format could be converted into Robundle. I'll update my blog too.
> >>
> >> Are there any more facts that need clarification about the blogs please
> >> ask me. :)
> >>
> >> Thank you very much Gale.
> >> Menaka
> >>
> >> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >>
> >>> Hi Menaka,
> >>>
> >>> I've been reading and learning more about research objects, and I
> >>> think I understand better what is going on, but I still have some
> >>> questions.
> >>>
> >>> 1) I am curious as to which file types *can* be converted to .robundle
> >>> format? (I must have missed something because I thought .t2flow and
> >>> .wfbundle were the only allowed input file types.)
> >>>
> >>> 2) In rereading your June 18th blog post, I see you say that the
> >>> command line tool is for converting and managing workflow "bundles" as
> >>> well as research object bundles. Are t2flow files "workflow bundles"
> >>> or just "workflows?" Or is there not a practical difference?
> >>>
> >>> 3) I understand now that not all file format conversions are valid.
> >>> I'm trying to understand this better. In your June 18th blog post you
> >>> say:
> >>>
> >>> "The conversion function supports converting .t2flow and .wfbundle
> >>> formats into following formats:
> >>>
> >>> .structure
> >>>
> >>> .json
> >>>
> >>> .iwir
> >>>
> >>> .wfbundle
> >>>
> >>> .wfdesc.ttl –> (development in progress)
> >>>
> >>> .robundle –> (development in progress)"
> >>>
> >>> To me, reading this looks like all combinations are valid.
> >>>
> >>> I'm wondering, can both .t2flow and .wfbundle files be converted to
> >>> all file types *except* robundle?
> >>>
> >>>
> >>> 4) I fixed the examples in my blog post. Should I also change the
> >>> --robundle option description to say "Output bundle as .robundle"
> >>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> >>> option.)
> >>>
> >>> Thanks for the feedback and the correct link to the example!
> >>>
> >>> Have a nice weekend.
> >>>
> >>> Gale
> >>>
> >>>
> >>>
> >>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> >>> <me...@gmail.com> wrote:
> >>> > Hi Gale,
> >>> > Use this link
> >>> >
> >>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >>> >
> >>> > Cheers
> >>> > Menaka
> >>> >
> >>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
> >>> wrote:
> >>> >
> >>> >> Hi Menaka,
> >>> >>
> >>> >> Thank you for the feedback and clarifying information. Sorry not to
> >>> respond
> >>> >> sooner. I am learning about bundles, etc. and reading the link you
> >>> sent.
> >>> >>
> >>> >> One thing, I'm having trouble getting to the example in the Examples
> >>> of Use
> >>> >> Section: "Example in full is at
> >>> org.apache.taverna.robundle.TestExample"
> >>> >>
> >>> >> Can you help me? This is what I've done so far:
> >>> >>
> >>> >> - Clicking on the link gets me the "This is not the web page you are
> >>> >> looking
> >>> >> for" page. (This is the actual link address:
> >>> >>
> >>> >>
> >>>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >>> >> )
> >>> >>
> >>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't
> work
> >>> for
> >>> >> me. I didn't think it would, but I tried anyway.
> >>> >>
> >>> >> - Searching for "taverna robundle TestExample" on the main
> Apache.com
> >>> page
> >>> >> yields no results.
> >>> >>
> >>> >> I will continue to read and understand the RO Bundle API page, but I
> >>> would
> >>> >> like to see the full Test Example, if possible.
> >>> >>
> >>> >> Thanks!
> >>> >>
> >>> >> Gale
> >>> >>
> >>> >>
> >>> >> -----Original Message-----
> >>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >>> >> Sent: Saturday, June 20, 2015 11:09 AM
> >>> >> To: dev@taverna.incubator.apache.org
> >>> >> Subject: Re: Taverna Language Command Line tool - convert command
> doc
> >>> >>
> >>> >> That's cool.....!! :-)
> >>> >> Correction:
> >>> >>
> >>> >>
> >>>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >>> >>
> >>> >> > Example 2: Simple conversion, multiple input files, no options
> >>> >> >
> >>> >> > $tavlang convert –-robundle /someFile1.wfbundle
> /someFile2.wfbundle
> >>> >> >
> >>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> >>> >> > *.robundle* format and saves the output files to the */converted*
> >>> >> > folder in the current working directory.
> >>> >> >
> >>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
> >>> format.
> >>> >> Its only for some specific bundle formats. Go through this doc for
> more
> >>> >> info.
> >>> >>
> >>> >>
> >>> >>
> >>>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >>> >>
> >>> >> cheers.
> >>> >>
> >>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
> >>> wrote:
> >>> >>
> >>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two
> blog
> >>> >> > posts to use the <pre> tag, and it looks great. I also made a few
> >>> >> > refinements.
> >>> >> >
> >>> >> > Thanks,
> >>> >> > Gale
> >>> >> >
> >>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >>> >> > <me...@gmail.com> wrote:
> >>> >> > > Thank you very much Gale,
> >>> >> > >
> >>> >> > > I showed the output-format without brackets to indicate it is
> >>> >> > >> required and not optional because it appears to be always
> >>> necessary
> >>> >> > >
> >>> >> > >
> >>> >> > > That would be more accurate I think. I'm very new for
> >>> documentation.
> >>> >> > Thank
> >>> >> > > you very much.
> >>> >> > >
> >>> >> > > I left the -json output file type as having a single dash, but
> all
> >>> >> > >> the other output types have double-dashes. Should I change the
> >>> json
> >>> >> > >> output argument to --json?
> >>> >> > >>
> >>> >> > > -json should be --json. In my email that was a mistake. So you
> can
> >>> >> > > use
> >>> >> > --.
> >>> >> > >
> >>> >> > > (Wordpress is driving me crazy because it is showing the
> >>> >> > > double-dashes
> >>> >> > >> as long single dashes, even when I use the monospace
> font-family.
> >>> >> > >> Any
> >>> >> > >> suggestions?)
> >>> >> > >>
> >>> >> > >
> >>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
> >>> preformatted.
> >>> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >>> >> > >
> >>> >> >
> >>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>> >> > age-command-line-conversion-documentation/
> >>> >> > >
> >>> >> > > Thank you very much.
> >>> >> > > Menaka
> >>> >> > >
> >>> >> > > I'll go through your documentations.
> >>> >> > >
> >>> >> > >
> >>> >> > > On 20 June 2015 at 03:43, Gale Naylor <
> galen@noventussolutions.com
> >>> >
> >>> >> > wrote:
> >>> >> > >
> >>> >> > >> Hi Menaka,
> >>> >> > >>
> >>> >> > >> Thanks for updating your blog! I have some additional feedback
> in
> >>> >> > >> the form of two blog posts. One has a detailed description (as
> I
> >>> >> > >> understand it) of the convert command and one has several
> >>> examples,
> >>> >> > >> building on the examples in your blog. I hope these will help
> the
> >>> >> > >> discussion of the command structure. Here are the links:
> >>> >> > >>
> >>> >> > >>
> >>> >> > >>
> >>> >> >
> >>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>> >> > mmand-line-convert-command/
> >>> >> > >>
> >>> >> > >>
> >>> >> > >>
> >>> >> >
> >>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >>> >> > mmand-line-convert-examples/
> >>> >> > >>
> >>> >> > >> Some things to note:
> >>> >> > >>
> >>> >> > >> (1) l basically used your June 18th post, but a few things
> (like
> >>> >> > >> the validate command) are from earlier posts/emails.
> >>> >> > >>
> >>> >> > >> (2) I showed the output-format without brackets to indicate it
> is
> >>> >> > >> required and not optional because it appears to be always
> >>> necessary.
> >>> >> > >>
> >>> >> > >> (3) The way I understand the overall command structure, it
> seemed
> >>> >> > >> that all options (e.g., the output file directory) should come
> >>> >> > >> before the input-file-list, so that's what I assumed.
> >>> >> > >>
> >>> >> > >> (4) I left the -json output file type as having a single dash,
> but
> >>> >> > >> all the other output types have double-dashes. Should I change
> the
> >>> >> > >> json output argument to --json?
> >>> >> > >>
> >>> >> > >> Please let me know if anything is incorrect and I will change
> it.
> >>> I
> >>> >> > >> realize the command structure is fluid, and I'm happy to make
> any
> >>> >> > >> changes as things evolve.
> >>> >> > >>
> >>> >> > >> (Wordpress is driving me crazy because it is showing the
> >>> >> > >> double-dashes as long single dashes, even when I use the
> monospace
> >>> >> > >> font-family. Any
> >>> >> > >> suggestions?)
> >>> >> > >>
> >>> >> > >> Thanks,
> >>> >> > >>
> >>> >> > >> Gale
> >>> >> > >>
> >>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >>> >> > >> <me...@gmail.com> wrote:
> >>> >> > >> > Hi Gale,
> >>> >> > >> >
> >>> >> > >> > Thank you very much.
> >>> >> > >> >
> >>> >> > >> > . Can you help me
> >>> >> > >> >> understand what you mean when you say the files will get
> saved
> >>> >> > >> >> to the C directory?
> >>> >> > >> >
> >>> >> > >> > That was a mistake :-). I updated the blog. That should be
> >>> >> > >> > corrected
> >>> >> > as
> >>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >>> >> > >> > *Convert
> >>> >> > the
> >>> >> > >> > files and save them in the …/toConvert/converted/ directory.
> >>> >> > >> >
> >>> >> > >> > I would appreciate more feedback, modifications etc. So with
> the
> >>> >> > >> > help
> >>> >> > of
> >>> >> > >> > the community we could come up with a much better structure.
> >>> >> > >> > Cheers
> >>> >> > >> > Menaka
> >>> >> > >> >
> >>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >>> >> > >> > <ga...@noventussolutions.com>
> >>> >> > >> wrote:
> >>> >> > >> >
> >>> >> > >> >> Hi Menaka,
> >>> >> > >> >>
> >>> >> > >> >> I am very happy to help, and I understand the command
> structure
> >>> >> > >> >> is a little fluid right now. Thank you for the blog post; it
> >>> was
> >>> >> > >> >> very helpful.
> >>> >> > >> >>
> >>> >> > >> >> I am a little confused about your recursive example. Can you
> >>> >> > >> >> help me understand what you mean when you say the files will
> >>> get
> >>> >> > >> >> saved to the C directory? Because you show the output being
> >>> saved
> >>> >> > >> >> to:
> >>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >>> >> > >> >>
> >>> >> > >> >> This is the example:
> >>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >>> >> > >> >> Convert the files and save them in the C directory.
> >>> >> > >> >>
> >>> >> > >> >> Thank you!
> >>> >> > >> >>
> >>> >> > >> >> Gale
> >>> >> > >> >>
> >>> >> > >> >> B
> >>> >> > >> >>
> >>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >>> >> > >> >> <me...@gmail.com> wrote:
> >>> >> > >> >> > Hi Gale,
> >>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
> >>> >> > >> >> >
> >>> >> > >> >> > 1) Is this still the basic structure of the command:
> tavlang
> >>> >> > convert
> >>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
> >>> >> > >> >> >> thinking
> >>> >> > that
> >>> >> > >> the
> >>> >> > >> >> >> output formats are handled as options?
> >>> >> > >> >> >
> >>> >> > >> >> >
> >>> >> > >> >> > Yes there is a little difference in the structure of
> commands
> >>> >> > >> >> > now
> >>> >> > and
> >>> >> > >> >> then.
> >>> >> > >> >> > So for the moment the command structure is like this.
> >>> >> > >> >> >
> >>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
> >>> >> > >> >> >
> >>> >> > >> >> >
> >>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under
> what
> >>> >> > >> >> circumstances?
> >>> >> > >> >> >
> >>> >> > >> >> > No. In recursive case the input will be a directory
> >>> containing
> >>> >> > >> .t2flow of
> >>> >> > >> >> > .wfbundle files. The output dir is optional for both
> >>> recursive
> >>> >> > >> >> > and
> >>> >> > non
> >>> >> > >> >> > recursive cases.
> >>> >> > >> >> >
> >>> >> > >> >> > I created a blog about the conversion command.
> >>> >> > >> >> >
> >>> >> > >> >>
> >>> >> > >>
> >>> >> >
> >>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >>> >> > age-command-line-conversion-documentation/
> >>> >> > >> >> >
> >>> >> > >> >> > If you have some suggestions, please inform.
> >>> >> > >> >> >
> >>> >> > >> >> > Thank you very much!
> >>> >> > >> >> >
> >>> >> > >> >> > Regards
> >>> >> > >> >> > Menaka
> >>> >> > >> >> >
> >>> >> > >> >> > --
> >>> >> > >> >> > Menaka Madushanka Jayawardena
> >>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> University
> >>> >> > >> >> > of Peradeniyaya.
> >>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >> > >> >>
> >>> >> > >> >
> >>> >> > >> >
> >>> >> > >> >
> >>> >> > >> > --
> >>> >> > >> > Menaka Madushanka Jayawardena
> >>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University
> >>> of
> >>> >> > >> > Peradeniyaya.
> >>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >> > >>
> >>> >> > >
> >>> >> > >
> >>> >> > >
> >>> >> > > --
> >>> >> > > Menaka Madushanka Jayawardena
> >>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
> of
> >>> >> > > Peradeniyaya.
> >>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >> >
> >>> >>
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Menaka Madushanka Jayawardena
> >>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >>> >> Peradeniyaya.
> >>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>> >>
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Menaka Madushanka Jayawardena
> >>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >>> > University of Peradeniyaya.
> >>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>>
> >>
> >>
> >>
> >> --
> >> Menaka Madushanka Jayawardena
> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> University of Peradeniyaya.
> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
A couple more things.
I am trying to organize my understanding of how the conversions work,
so I wrote a new blog post with a conversion table:
https://galenaylor.wordpress.com/2015/06/26/apache-taverna-language-command-line-conversion-file-type-mapping/
I presumed that.scufl2 workflows could be converted to the same
formats as .t2flow workflows, but if that's not correct, let me know
and I'll fix it. Should .scufl (Taverna 1) formats also be listed? The
table is my best guess from reading all of the emails, so please let
me know if anything is wrong, or if I missed something.
Also, I was wondering about something you said in one of your June
25th emails ([GitHub] incubator-taverna-language pull request: New
features2).
You said "File type detection removed."
Which file type detection is this? Is this related to Stain's June 4th
email, in which he said the input format is auto-guessed by
WorkflowBundleIO? Just wondering, because in my blog I included this
comment and I wanted to make sure it is still accurate.
Thanks!
Gale
On Fri, Jun 26, 2015 at 11:55 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Have a nice weekend too.....!!! :-)
>
> On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com> wrote:
>
>> Hi Gale,
>> I'm really appreciate your feedback on my blogs. I'm very new and there
>> could be some flows. Thank you very much for showing them. :-)
>>
>> 1) Yes, the types of bundle formats that can be converted are listed in
>> this blog.
>>
>> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
>> The bundles are not workflows.
>>
>> 2) No. It seems like the way I have wrote it somewhat misleading.....
>> Actually scufl2 workflows are not Bundles. Those are two different APIs.
>> I'll update the blog. :-)
>>
>> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
>> robundle.
>>
>> 4). Yes Gale. That modification should be done. Other wise it looks like
>> any format could be converted into Robundle. I'll update my blog too.
>>
>> Are there any more facts that need clarification about the blogs please
>> ask me. :)
>>
>> Thank you very much Gale.
>> Menaka
>>
>> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>>> Hi Menaka,
>>>
>>> I've been reading and learning more about research objects, and I
>>> think I understand better what is going on, but I still have some
>>> questions.
>>>
>>> 1) I am curious as to which file types *can* be converted to .robundle
>>> format? (I must have missed something because I thought .t2flow and
>>> .wfbundle were the only allowed input file types.)
>>>
>>> 2) In rereading your June 18th blog post, I see you say that the
>>> command line tool is for converting and managing workflow "bundles" as
>>> well as research object bundles. Are t2flow files "workflow bundles"
>>> or just "workflows?" Or is there not a practical difference?
>>>
>>> 3) I understand now that not all file format conversions are valid.
>>> I'm trying to understand this better. In your June 18th blog post you
>>> say:
>>>
>>> "The conversion function supports converting .t2flow and .wfbundle
>>> formats into following formats:
>>>
>>> .structure
>>>
>>> .json
>>>
>>> .iwir
>>>
>>> .wfbundle
>>>
>>> .wfdesc.ttl –> (development in progress)
>>>
>>> .robundle –> (development in progress)"
>>>
>>> To me, reading this looks like all combinations are valid.
>>>
>>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>>> all file types *except* robundle?
>>>
>>>
>>> 4) I fixed the examples in my blog post. Should I also change the
>>> --robundle option description to say "Output bundle as .robundle"
>>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>>> option.)
>>>
>>> Thanks for the feedback and the correct link to the example!
>>>
>>> Have a nice weekend.
>>>
>>> Gale
>>>
>>>
>>>
>>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>>> <me...@gmail.com> wrote:
>>> > Hi Gale,
>>> > Use this link
>>> >
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>>> >
>>> > Cheers
>>> > Menaka
>>> >
>>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >
>>> >> Hi Menaka,
>>> >>
>>> >> Thank you for the feedback and clarifying information. Sorry not to
>>> respond
>>> >> sooner. I am learning about bundles, etc. and reading the link you
>>> sent.
>>> >>
>>> >> One thing, I'm having trouble getting to the example in the Examples
>>> of Use
>>> >> Section: "Example in full is at
>>> org.apache.taverna.robundle.TestExample"
>>> >>
>>> >> Can you help me? This is what I've done so far:
>>> >>
>>> >> - Clicking on the link gets me the "This is not the web page you are
>>> >> looking
>>> >> for" page. (This is the actual link address:
>>> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>>> >> )
>>> >>
>>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
>>> for
>>> >> me. I didn't think it would, but I tried anyway.
>>> >>
>>> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>>> page
>>> >> yields no results.
>>> >>
>>> >> I will continue to read and understand the RO Bundle API page, but I
>>> would
>>> >> like to see the full Test Example, if possible.
>>> >>
>>> >> Thanks!
>>> >>
>>> >> Gale
>>> >>
>>> >>
>>> >> -----Original Message-----
>>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>>> >> Sent: Saturday, June 20, 2015 11:09 AM
>>> >> To: dev@taverna.incubator.apache.org
>>> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>>> >>
>>> >> That's cool.....!! :-)
>>> >> Correction:
>>> >>
>>> >>
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>> >>
>>> >> > Example 2: Simple conversion, multiple input files, no options
>>> >> >
>>> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>>> >> >
>>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>>> >> > *.robundle* format and saves the output files to the */converted*
>>> >> > folder in the current working directory.
>>> >> >
>>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>>> format.
>>> >> Its only for some specific bundle formats. Go through this doc for more
>>> >> info.
>>> >>
>>> >>
>>> >>
>>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>> >>
>>> >> cheers.
>>> >>
>>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>>> wrote:
>>> >>
>>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>>> >> > refinements.
>>> >> >
>>> >> > Thanks,
>>> >> > Gale
>>> >> >
>>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>>> >> > <me...@gmail.com> wrote:
>>> >> > > Thank you very much Gale,
>>> >> > >
>>> >> > > I showed the output-format without brackets to indicate it is
>>> >> > >> required and not optional because it appears to be always
>>> necessary
>>> >> > >
>>> >> > >
>>> >> > > That would be more accurate I think. I'm very new for
>>> documentation.
>>> >> > Thank
>>> >> > > you very much.
>>> >> > >
>>> >> > > I left the -json output file type as having a single dash, but all
>>> >> > >> the other output types have double-dashes. Should I change the
>>> json
>>> >> > >> output argument to --json?
>>> >> > >>
>>> >> > > -json should be --json. In my email that was a mistake. So you can
>>> >> > > use
>>> >> > --.
>>> >> > >
>>> >> > > (Wordpress is driving me crazy because it is showing the
>>> >> > > double-dashes
>>> >> > >> as long single dashes, even when I use the monospace font-family.
>>> >> > >> Any
>>> >> > >> suggestions?)
>>> >> > >>
>>> >> > >
>>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>>> preformatted.
>>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>>> >> > >
>>> >> >
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> > age-command-line-conversion-documentation/
>>> >> > >
>>> >> > > Thank you very much.
>>> >> > > Menaka
>>> >> > >
>>> >> > > I'll go through your documentations.
>>> >> > >
>>> >> > >
>>> >> > > On 20 June 2015 at 03:43, Gale Naylor <galen@noventussolutions.com
>>> >
>>> >> > wrote:
>>> >> > >
>>> >> > >> Hi Menaka,
>>> >> > >>
>>> >> > >> Thanks for updating your blog! I have some additional feedback in
>>> >> > >> the form of two blog posts. One has a detailed description (as I
>>> >> > >> understand it) of the convert command and one has several
>>> examples,
>>> >> > >> building on the examples in your blog. I hope these will help the
>>> >> > >> discussion of the command structure. Here are the links:
>>> >> > >>
>>> >> > >>
>>> >> > >>
>>> >> >
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> > mmand-line-convert-command/
>>> >> > >>
>>> >> > >>
>>> >> > >>
>>> >> >
>>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>>> >> > mmand-line-convert-examples/
>>> >> > >>
>>> >> > >> Some things to note:
>>> >> > >>
>>> >> > >> (1) l basically used your June 18th post, but a few things (like
>>> >> > >> the validate command) are from earlier posts/emails.
>>> >> > >>
>>> >> > >> (2) I showed the output-format without brackets to indicate it is
>>> >> > >> required and not optional because it appears to be always
>>> necessary.
>>> >> > >>
>>> >> > >> (3) The way I understand the overall command structure, it seemed
>>> >> > >> that all options (e.g., the output file directory) should come
>>> >> > >> before the input-file-list, so that's what I assumed.
>>> >> > >>
>>> >> > >> (4) I left the -json output file type as having a single dash, but
>>> >> > >> all the other output types have double-dashes. Should I change the
>>> >> > >> json output argument to --json?
>>> >> > >>
>>> >> > >> Please let me know if anything is incorrect and I will change it.
>>> I
>>> >> > >> realize the command structure is fluid, and I'm happy to make any
>>> >> > >> changes as things evolve.
>>> >> > >>
>>> >> > >> (Wordpress is driving me crazy because it is showing the
>>> >> > >> double-dashes as long single dashes, even when I use the monospace
>>> >> > >> font-family. Any
>>> >> > >> suggestions?)
>>> >> > >>
>>> >> > >> Thanks,
>>> >> > >>
>>> >> > >> Gale
>>> >> > >>
>>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>>> >> > >> <me...@gmail.com> wrote:
>>> >> > >> > Hi Gale,
>>> >> > >> >
>>> >> > >> > Thank you very much.
>>> >> > >> >
>>> >> > >> > . Can you help me
>>> >> > >> >> understand what you mean when you say the files will get saved
>>> >> > >> >> to the C directory?
>>> >> > >> >
>>> >> > >> > That was a mistake :-). I updated the blog. That should be
>>> >> > >> > corrected
>>> >> > as
>>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> > >> > *Convert
>>> >> > the
>>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>>> >> > >> >
>>> >> > >> > I would appreciate more feedback, modifications etc. So with the
>>> >> > >> > help
>>> >> > of
>>> >> > >> > the community we could come up with a much better structure.
>>> >> > >> > Cheers
>>> >> > >> > Menaka
>>> >> > >> >
>>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>>> >> > >> > <ga...@noventussolutions.com>
>>> >> > >> wrote:
>>> >> > >> >
>>> >> > >> >> Hi Menaka,
>>> >> > >> >>
>>> >> > >> >> I am very happy to help, and I understand the command structure
>>> >> > >> >> is a little fluid right now. Thank you for the blog post; it
>>> was
>>> >> > >> >> very helpful.
>>> >> > >> >>
>>> >> > >> >> I am a little confused about your recursive example. Can you
>>> >> > >> >> help me understand what you mean when you say the files will
>>> get
>>> >> > >> >> saved to the C directory? Because you show the output being
>>> saved
>>> >> > >> >> to:
>>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>>> >> > >> >>
>>> >> > >> >> This is the example:
>>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>>> >> > >> >> Convert the files and save them in the C directory.
>>> >> > >> >>
>>> >> > >> >> Thank you!
>>> >> > >> >>
>>> >> > >> >> Gale
>>> >> > >> >>
>>> >> > >> >> B
>>> >> > >> >>
>>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>>> >> > >> >> <me...@gmail.com> wrote:
>>> >> > >> >> > Hi Gale,
>>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>>> >> > >> >> >
>>> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
>>> >> > convert
>>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>>> >> > >> >> >> thinking
>>> >> > that
>>> >> > >> the
>>> >> > >> >> >> output formats are handled as options?
>>> >> > >> >> >
>>> >> > >> >> >
>>> >> > >> >> > Yes there is a little difference in the structure of commands
>>> >> > >> >> > now
>>> >> > and
>>> >> > >> >> then.
>>> >> > >> >> > So for the moment the command structure is like this.
>>> >> > >> >> >
>>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>>> >> > >> >> >
>>> >> > >> >> >
>>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>>> >> > >> >> circumstances?
>>> >> > >> >> >
>>> >> > >> >> > No. In recursive case the input will be a directory
>>> containing
>>> >> > >> .t2flow of
>>> >> > >> >> > .wfbundle files. The output dir is optional for both
>>> recursive
>>> >> > >> >> > and
>>> >> > non
>>> >> > >> >> > recursive cases.
>>> >> > >> >> >
>>> >> > >> >> > I created a blog about the conversion command.
>>> >> > >> >> >
>>> >> > >> >>
>>> >> > >>
>>> >> >
>>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>>> >> > age-command-line-conversion-documentation/
>>> >> > >> >> >
>>> >> > >> >> > If you have some suggestions, please inform.
>>> >> > >> >> >
>>> >> > >> >> > Thank you very much!
>>> >> > >> >> >
>>> >> > >> >> > Regards
>>> >> > >> >> > Menaka
>>> >> > >> >> >
>>> >> > >> >> > --
>>> >> > >> >> > Menaka Madushanka Jayawardena
>>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> University
>>> >> > >> >> > of Peradeniyaya.
>>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> > >> >>
>>> >> > >> >
>>> >> > >> >
>>> >> > >> >
>>> >> > >> > --
>>> >> > >> > Menaka Madushanka Jayawardena
>>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>>> of
>>> >> > >> > Peradeniyaya.
>>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> > >>
>>> >> > >
>>> >> > >
>>> >> > >
>>> >> > > --
>>> >> > > Menaka Madushanka Jayawardena
>>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> > > Peradeniyaya.
>>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Menaka Madushanka Jayawardena
>>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>>> >> Peradeniyaya.
>>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>>> > University of Peradeniyaya.
>>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Have a nice weekend too.....!!! :-)
On 27 June 2015 at 00:24, Menaka Madushanka <me...@gmail.com> wrote:
> Hi Gale,
> I'm really appreciate your feedback on my blogs. I'm very new and there
> could be some flows. Thank you very much for showing them. :-)
>
> 1) Yes, the types of bundle formats that can be converted are listed in
> this blog.
>
> https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
> The bundles are not workflows.
>
> 2) No. It seems like the way I have wrote it somewhat misleading.....
> Actually scufl2 workflows are not Bundles. Those are two different APIs.
> I'll update the blog. :-)
>
> 3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
> robundle.
>
> 4). Yes Gale. That modification should be done. Other wise it looks like
> any format could be converted into Robundle. I'll update my blog too.
>
> Are there any more facts that need clarification about the blogs please
> ask me. :)
>
> Thank you very much Gale.
> Menaka
>
> On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> I've been reading and learning more about research objects, and I
>> think I understand better what is going on, but I still have some
>> questions.
>>
>> 1) I am curious as to which file types *can* be converted to .robundle
>> format? (I must have missed something because I thought .t2flow and
>> .wfbundle were the only allowed input file types.)
>>
>> 2) In rereading your June 18th blog post, I see you say that the
>> command line tool is for converting and managing workflow "bundles" as
>> well as research object bundles. Are t2flow files "workflow bundles"
>> or just "workflows?" Or is there not a practical difference?
>>
>> 3) I understand now that not all file format conversions are valid.
>> I'm trying to understand this better. In your June 18th blog post you
>> say:
>>
>> "The conversion function supports converting .t2flow and .wfbundle
>> formats into following formats:
>>
>> .structure
>>
>> .json
>>
>> .iwir
>>
>> .wfbundle
>>
>> .wfdesc.ttl –> (development in progress)
>>
>> .robundle –> (development in progress)"
>>
>> To me, reading this looks like all combinations are valid.
>>
>> I'm wondering, can both .t2flow and .wfbundle files be converted to
>> all file types *except* robundle?
>>
>>
>> 4) I fixed the examples in my blog post. Should I also change the
>> --robundle option description to say "Output bundle as .robundle"
>> instead of "Output workflow as .robundle" ? (Same for .wfbundle
>> option.)
>>
>> Thanks for the feedback and the correct link to the example!
>>
>> Have a nice weekend.
>>
>> Gale
>>
>>
>>
>> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> > Use this link
>> >
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>> >
>> > Cheers
>> > Menaka
>> >
>> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> Thank you for the feedback and clarifying information. Sorry not to
>> respond
>> >> sooner. I am learning about bundles, etc. and reading the link you
>> sent.
>> >>
>> >> One thing, I'm having trouble getting to the example in the Examples
>> of Use
>> >> Section: "Example in full is at
>> org.apache.taverna.robundle.TestExample"
>> >>
>> >> Can you help me? This is what I've done so far:
>> >>
>> >> - Clicking on the link gets me the "This is not the web page you are
>> >> looking
>> >> for" page. (This is the actual link address:
>> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> >> )
>> >>
>> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
>> for
>> >> me. I didn't think it would, but I tried anyway.
>> >>
>> >> - Searching for "taverna robundle TestExample" on the main Apache.com
>> page
>> >> yields no results.
>> >>
>> >> I will continue to read and understand the RO Bundle API page, but I
>> would
>> >> like to see the full Test Example, if possible.
>> >>
>> >> Thanks!
>> >>
>> >> Gale
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> >> Sent: Saturday, June 20, 2015 11:09 AM
>> >> To: dev@taverna.incubator.apache.org
>> >> Subject: Re: Taverna Language Command Line tool - convert command doc
>> >>
>> >> That's cool.....!! :-)
>> >> Correction:
>> >>
>> >>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>> >>
>> >> > Example 2: Simple conversion, multiple input files, no options
>> >> >
>> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>> >> >
>> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>> >> > *.robundle* format and saves the output files to the */converted*
>> >> > folder in the current working directory.
>> >> >
>> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
>> format.
>> >> Its only for some specific bundle formats. Go through this doc for more
>> >> info.
>> >>
>> >>
>> >>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>> >>
>> >> cheers.
>> >>
>> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >>
>> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>> >> > posts to use the <pre> tag, and it looks great. I also made a few
>> >> > refinements.
>> >> >
>> >> > Thanks,
>> >> > Gale
>> >> >
>> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> >> > <me...@gmail.com> wrote:
>> >> > > Thank you very much Gale,
>> >> > >
>> >> > > I showed the output-format without brackets to indicate it is
>> >> > >> required and not optional because it appears to be always
>> necessary
>> >> > >
>> >> > >
>> >> > > That would be more accurate I think. I'm very new for
>> documentation.
>> >> > Thank
>> >> > > you very much.
>> >> > >
>> >> > > I left the -json output file type as having a single dash, but all
>> >> > >> the other output types have double-dashes. Should I change the
>> json
>> >> > >> output argument to --json?
>> >> > >>
>> >> > > -json should be --json. In my email that was a mistake. So you can
>> >> > > use
>> >> > --.
>> >> > >
>> >> > > (Wordpress is driving me crazy because it is showing the
>> >> > > double-dashes
>> >> > >> as long single dashes, even when I use the monospace font-family.
>> >> > >> Any
>> >> > >> suggestions?)
>> >> > >>
>> >> > >
>> >> > > Yes, wordpress does what it wants, but not us. :-) Use
>> preformatted.
>> >> > > Not paragraph. Then it would be ok. I updated my blog.
>> >> > >
>> >> >
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> > age-command-line-conversion-documentation/
>> >> > >
>> >> > > Thank you very much.
>> >> > > Menaka
>> >> > >
>> >> > > I'll go through your documentations.
>> >> > >
>> >> > >
>> >> > > On 20 June 2015 at 03:43, Gale Naylor <galen@noventussolutions.com
>> >
>> >> > wrote:
>> >> > >
>> >> > >> Hi Menaka,
>> >> > >>
>> >> > >> Thanks for updating your blog! I have some additional feedback in
>> >> > >> the form of two blog posts. One has a detailed description (as I
>> >> > >> understand it) of the convert command and one has several
>> examples,
>> >> > >> building on the examples in your blog. I hope these will help the
>> >> > >> discussion of the command structure. Here are the links:
>> >> > >>
>> >> > >>
>> >> > >>
>> >> >
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> > mmand-line-convert-command/
>> >> > >>
>> >> > >>
>> >> > >>
>> >> >
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> >> > mmand-line-convert-examples/
>> >> > >>
>> >> > >> Some things to note:
>> >> > >>
>> >> > >> (1) l basically used your June 18th post, but a few things (like
>> >> > >> the validate command) are from earlier posts/emails.
>> >> > >>
>> >> > >> (2) I showed the output-format without brackets to indicate it is
>> >> > >> required and not optional because it appears to be always
>> necessary.
>> >> > >>
>> >> > >> (3) The way I understand the overall command structure, it seemed
>> >> > >> that all options (e.g., the output file directory) should come
>> >> > >> before the input-file-list, so that's what I assumed.
>> >> > >>
>> >> > >> (4) I left the -json output file type as having a single dash, but
>> >> > >> all the other output types have double-dashes. Should I change the
>> >> > >> json output argument to --json?
>> >> > >>
>> >> > >> Please let me know if anything is incorrect and I will change it.
>> I
>> >> > >> realize the command structure is fluid, and I'm happy to make any
>> >> > >> changes as things evolve.
>> >> > >>
>> >> > >> (Wordpress is driving me crazy because it is showing the
>> >> > >> double-dashes as long single dashes, even when I use the monospace
>> >> > >> font-family. Any
>> >> > >> suggestions?)
>> >> > >>
>> >> > >> Thanks,
>> >> > >>
>> >> > >> Gale
>> >> > >>
>> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> >> > >> <me...@gmail.com> wrote:
>> >> > >> > Hi Gale,
>> >> > >> >
>> >> > >> > Thank you very much.
>> >> > >> >
>> >> > >> > . Can you help me
>> >> > >> >> understand what you mean when you say the files will get saved
>> >> > >> >> to the C directory?
>> >> > >> >
>> >> > >> > That was a mistake :-). I updated the blog. That should be
>> >> > >> > corrected
>> >> > as
>> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> > >> > *Convert
>> >> > the
>> >> > >> > files and save them in the …/toConvert/converted/ directory.
>> >> > >> >
>> >> > >> > I would appreciate more feedback, modifications etc. So with the
>> >> > >> > help
>> >> > of
>> >> > >> > the community we could come up with a much better structure.
>> >> > >> > Cheers
>> >> > >> > Menaka
>> >> > >> >
>> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> >> > >> > <ga...@noventussolutions.com>
>> >> > >> wrote:
>> >> > >> >
>> >> > >> >> Hi Menaka,
>> >> > >> >>
>> >> > >> >> I am very happy to help, and I understand the command structure
>> >> > >> >> is a little fluid right now. Thank you for the blog post; it
>> was
>> >> > >> >> very helpful.
>> >> > >> >>
>> >> > >> >> I am a little confused about your recursive example. Can you
>> >> > >> >> help me understand what you mean when you say the files will
>> get
>> >> > >> >> saved to the C directory? Because you show the output being
>> saved
>> >> > >> >> to:
>> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> >> > >> >>
>> >> > >> >> This is the example:
>> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> >> > >> >> Convert the files and save them in the C directory.
>> >> > >> >>
>> >> > >> >> Thank you!
>> >> > >> >>
>> >> > >> >> Gale
>> >> > >> >>
>> >> > >> >> B
>> >> > >> >>
>> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> > >> >> <me...@gmail.com> wrote:
>> >> > >> >> > Hi Gale,
>> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>> >> > >> >> >
>> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
>> >> > convert
>> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
>> >> > >> >> >> thinking
>> >> > that
>> >> > >> the
>> >> > >> >> >> output formats are handled as options?
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> > Yes there is a little difference in the structure of commands
>> >> > >> >> > now
>> >> > and
>> >> > >> >> then.
>> >> > >> >> > So for the moment the command structure is like this.
>> >> > >> >> >
>> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>> >> > >> >> >
>> >> > >> >> >
>> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>> >> > >> >> circumstances?
>> >> > >> >> >
>> >> > >> >> > No. In recursive case the input will be a directory
>> containing
>> >> > >> .t2flow of
>> >> > >> >> > .wfbundle files. The output dir is optional for both
>> recursive
>> >> > >> >> > and
>> >> > non
>> >> > >> >> > recursive cases.
>> >> > >> >> >
>> >> > >> >> > I created a blog about the conversion command.
>> >> > >> >> >
>> >> > >> >>
>> >> > >>
>> >> >
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> >> > age-command-line-conversion-documentation/
>> >> > >> >> >
>> >> > >> >> > If you have some suggestions, please inform.
>> >> > >> >> >
>> >> > >> >> > Thank you very much!
>> >> > >> >> >
>> >> > >> >> > Regards
>> >> > >> >> > Menaka
>> >> > >> >> >
>> >> > >> >> > --
>> >> > >> >> > Menaka Madushanka Jayawardena
>> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University
>> >> > >> >> > of Peradeniyaya.
>> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> > >> >>
>> >> > >> >
>> >> > >> >
>> >> > >> >
>> >> > >> > --
>> >> > >> > Menaka Madushanka Jayawardena
>> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>> of
>> >> > >> > Peradeniyaya.
>> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> > >>
>> >> > >
>> >> > >
>> >> > >
>> >> > > --
>> >> > > Menaka Madushanka Jayawardena
>> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> > > Peradeniyaya.
>> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Menaka Madushanka Jayawardena
>> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> >> Peradeniyaya.
>> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
I'm really appreciate your feedback on my blogs. I'm very new and there
could be some flows. Thank you very much for showing them. :-)
1) Yes, the types of bundle formats that can be converted are listed in
this blog.
https://menakamadushanka.wordpress.com/2015/06/20/taverna-language-command-line-tool-conversion-documentation-research-objects/
The bundles are not workflows.
2) No. It seems like the way I have wrote it somewhat misleading.....
Actually scufl2 workflows are not Bundles. Those are two different APIs.
I'll update the blog. :-)
3).Yes, my mistake. Neither .t2flow nor wfbundle could be converted into
robundle.
4). Yes Gale. That modification should be done. Other wise it looks like
any format could be converted into Robundle. I'll update my blog too.
Are there any more facts that need clarification about the blogs please ask
me. :)
Thank you very much Gale.
Menaka
On 27 June 2015 at 00:00, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> I've been reading and learning more about research objects, and I
> think I understand better what is going on, but I still have some
> questions.
>
> 1) I am curious as to which file types *can* be converted to .robundle
> format? (I must have missed something because I thought .t2flow and
> .wfbundle were the only allowed input file types.)
>
> 2) In rereading your June 18th blog post, I see you say that the
> command line tool is for converting and managing workflow "bundles" as
> well as research object bundles. Are t2flow files "workflow bundles"
> or just "workflows?" Or is there not a practical difference?
>
> 3) I understand now that not all file format conversions are valid.
> I'm trying to understand this better. In your June 18th blog post you
> say:
>
> "The conversion function supports converting .t2flow and .wfbundle
> formats into following formats:
>
> .structure
>
> .json
>
> .iwir
>
> .wfbundle
>
> .wfdesc.ttl –> (development in progress)
>
> .robundle –> (development in progress)"
>
> To me, reading this looks like all combinations are valid.
>
> I'm wondering, can both .t2flow and .wfbundle files be converted to
> all file types *except* robundle?
>
>
> 4) I fixed the examples in my blog post. Should I also change the
> --robundle option description to say "Output bundle as .robundle"
> instead of "Output workflow as .robundle" ? (Same for .wfbundle
> option.)
>
> Thanks for the feedback and the correct link to the example!
>
> Have a nice weekend.
>
> Gale
>
>
>
> On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hi Gale,
> > Use this link
> >
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
> >
> > Cheers
> > Menaka
> >
> > On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> Thank you for the feedback and clarifying information. Sorry not to
> respond
> >> sooner. I am learning about bundles, etc. and reading the link you sent.
> >>
> >> One thing, I'm having trouble getting to the example in the Examples of
> Use
> >> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
> >>
> >> Can you help me? This is what I've done so far:
> >>
> >> - Clicking on the link gets me the "This is not the web page you are
> >> looking
> >> for" page. (This is the actual link address:
> >>
> >>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> >> )
> >>
> >> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work
> for
> >> me. I didn't think it would, but I tried anyway.
> >>
> >> - Searching for "taverna robundle TestExample" on the main Apache.com
> page
> >> yields no results.
> >>
> >> I will continue to read and understand the RO Bundle API page, but I
> would
> >> like to see the full Test Example, if possible.
> >>
> >> Thanks!
> >>
> >> Gale
> >>
> >>
> >> -----Original Message-----
> >> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> >> Sent: Saturday, June 20, 2015 11:09 AM
> >> To: dev@taverna.incubator.apache.org
> >> Subject: Re: Taverna Language Command Line tool - convert command doc
> >>
> >> That's cool.....!! :-)
> >> Correction:
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >>
> >> > Example 2: Simple conversion, multiple input files, no options
> >> >
> >> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
> >> >
> >> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> >> > *.robundle* format and saves the output files to the */converted*
> >> > folder in the current working directory.
> >> >
> >> Taverna language *cannot* convert .wfbundles/.t2flow into robundle
> format.
> >> Its only for some specific bundle formats. Go through this doc for more
> >> info.
> >>
> >>
> >>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
> >>
> >> cheers.
> >>
> >> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >>
> >> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
> >> > posts to use the <pre> tag, and it looks great. I also made a few
> >> > refinements.
> >> >
> >> > Thanks,
> >> > Gale
> >> >
> >> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> >> > <me...@gmail.com> wrote:
> >> > > Thank you very much Gale,
> >> > >
> >> > > I showed the output-format without brackets to indicate it is
> >> > >> required and not optional because it appears to be always necessary
> >> > >
> >> > >
> >> > > That would be more accurate I think. I'm very new for documentation.
> >> > Thank
> >> > > you very much.
> >> > >
> >> > > I left the -json output file type as having a single dash, but all
> >> > >> the other output types have double-dashes. Should I change the json
> >> > >> output argument to --json?
> >> > >>
> >> > > -json should be --json. In my email that was a mistake. So you can
> >> > > use
> >> > --.
> >> > >
> >> > > (Wordpress is driving me crazy because it is showing the
> >> > > double-dashes
> >> > >> as long single dashes, even when I use the monospace font-family.
> >> > >> Any
> >> > >> suggestions?)
> >> > >>
> >> > >
> >> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
> >> > > Not paragraph. Then it would be ok. I updated my blog.
> >> > >
> >> >
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> > age-command-line-conversion-documentation/
> >> > >
> >> > > Thank you very much.
> >> > > Menaka
> >> > >
> >> > > I'll go through your documentations.
> >> > >
> >> > >
> >> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
> >> > wrote:
> >> > >
> >> > >> Hi Menaka,
> >> > >>
> >> > >> Thanks for updating your blog! I have some additional feedback in
> >> > >> the form of two blog posts. One has a detailed description (as I
> >> > >> understand it) of the convert command and one has several examples,
> >> > >> building on the examples in your blog. I hope these will help the
> >> > >> discussion of the command structure. Here are the links:
> >> > >>
> >> > >>
> >> > >>
> >> >
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> > mmand-line-convert-command/
> >> > >>
> >> > >>
> >> > >>
> >> >
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> >> > mmand-line-convert-examples/
> >> > >>
> >> > >> Some things to note:
> >> > >>
> >> > >> (1) l basically used your June 18th post, but a few things (like
> >> > >> the validate command) are from earlier posts/emails.
> >> > >>
> >> > >> (2) I showed the output-format without brackets to indicate it is
> >> > >> required and not optional because it appears to be always
> necessary.
> >> > >>
> >> > >> (3) The way I understand the overall command structure, it seemed
> >> > >> that all options (e.g., the output file directory) should come
> >> > >> before the input-file-list, so that's what I assumed.
> >> > >>
> >> > >> (4) I left the -json output file type as having a single dash, but
> >> > >> all the other output types have double-dashes. Should I change the
> >> > >> json output argument to --json?
> >> > >>
> >> > >> Please let me know if anything is incorrect and I will change it. I
> >> > >> realize the command structure is fluid, and I'm happy to make any
> >> > >> changes as things evolve.
> >> > >>
> >> > >> (Wordpress is driving me crazy because it is showing the
> >> > >> double-dashes as long single dashes, even when I use the monospace
> >> > >> font-family. Any
> >> > >> suggestions?)
> >> > >>
> >> > >> Thanks,
> >> > >>
> >> > >> Gale
> >> > >>
> >> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> > >> <me...@gmail.com> wrote:
> >> > >> > Hi Gale,
> >> > >> >
> >> > >> > Thank you very much.
> >> > >> >
> >> > >> > . Can you help me
> >> > >> >> understand what you mean when you say the files will get saved
> >> > >> >> to the C directory?
> >> > >> >
> >> > >> > That was a mistake :-). I updated the blog. That should be
> >> > >> > corrected
> >> > as
> >> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> > >> > *Convert
> >> > the
> >> > >> > files and save them in the …/toConvert/converted/ directory.
> >> > >> >
> >> > >> > I would appreciate more feedback, modifications etc. So with the
> >> > >> > help
> >> > of
> >> > >> > the community we could come up with a much better structure.
> >> > >> > Cheers
> >> > >> > Menaka
> >> > >> >
> >> > >> > On 19 June 2015 at 22:32, Gale Naylor
> >> > >> > <ga...@noventussolutions.com>
> >> > >> wrote:
> >> > >> >
> >> > >> >> Hi Menaka,
> >> > >> >>
> >> > >> >> I am very happy to help, and I understand the command structure
> >> > >> >> is a little fluid right now. Thank you for the blog post; it was
> >> > >> >> very helpful.
> >> > >> >>
> >> > >> >> I am a little confused about your recursive example. Can you
> >> > >> >> help me understand what you mean when you say the files will get
> >> > >> >> saved to the C directory? Because you show the output being
> saved
> >> > >> >> to:
> >> > >> >> /home/usrname/toConvert/converted/somefile1.json
> >> > >> >>
> >> > >> >> This is the example:
> >> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> > >> >> Convert the files and save them in the C directory.
> >> > >> >>
> >> > >> >> Thank you!
> >> > >> >>
> >> > >> >> Gale
> >> > >> >>
> >> > >> >> B
> >> > >> >>
> >> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> > >> >> <me...@gmail.com> wrote:
> >> > >> >> > Hi Gale,
> >> > >> >> > I extremely appreciate your help. Thank you very much. :-)
> >> > >> >> >
> >> > >> >> > 1) Is this still the basic structure of the command: tavlang
> >> > convert
> >> > >> >> >> [options] <output format> <input files>? Am I wrong in
> >> > >> >> >> thinking
> >> > that
> >> > >> the
> >> > >> >> >> output formats are handled as options?
> >> > >> >> >
> >> > >> >> >
> >> > >> >> > Yes there is a little difference in the structure of commands
> >> > >> >> > now
> >> > and
> >> > >> >> then.
> >> > >> >> > So for the moment the command structure is like this.
> >> > >> >> >
> >> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
> >> > >> >> >
> >> > >> >> >
> >> > >> >> > 2) Are -r and -i ever used independently? If so, under what
> >> > >> >> circumstances?
> >> > >> >> >
> >> > >> >> > No. In recursive case the input will be a directory containing
> >> > >> .t2flow of
> >> > >> >> > .wfbundle files. The output dir is optional for both recursive
> >> > >> >> > and
> >> > non
> >> > >> >> > recursive cases.
> >> > >> >> >
> >> > >> >> > I created a blog about the conversion command.
> >> > >> >> >
> >> > >> >>
> >> > >>
> >> >
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> >> > age-command-line-conversion-documentation/
> >> > >> >> >
> >> > >> >> > If you have some suggestions, please inform.
> >> > >> >> >
> >> > >> >> > Thank you very much!
> >> > >> >> >
> >> > >> >> > Regards
> >> > >> >> > Menaka
> >> > >> >> >
> >> > >> >> > --
> >> > >> >> > Menaka Madushanka Jayawardena
> >> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
> >> > >> >> > of Peradeniyaya.
> >> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> >
> >> > >> > --
> >> > >> > Menaka Madushanka Jayawardena
> >> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> > >> > Peradeniyaya.
> >> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> > >>
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Menaka Madushanka Jayawardena
> >> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> > > Peradeniyaya.
> >> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >
> >>
> >>
> >>
> >> --
> >> Menaka Madushanka Jayawardena
> >> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> Peradeniyaya.
> >> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
I've been reading and learning more about research objects, and I
think I understand better what is going on, but I still have some
questions.
1) I am curious as to which file types *can* be converted to .robundle
format? (I must have missed something because I thought .t2flow and
.wfbundle were the only allowed input file types.)
2) In rereading your June 18th blog post, I see you say that the
command line tool is for converting and managing workflow "bundles" as
well as research object bundles. Are t2flow files "workflow bundles"
or just "workflows?" Or is there not a practical difference?
3) I understand now that not all file format conversions are valid.
I'm trying to understand this better. In your June 18th blog post you
say:
"The conversion function supports converting .t2flow and .wfbundle
formats into following formats:
.structure
.json
.iwir
.wfbundle
.wfdesc.ttl –> (development in progress)
.robundle –> (development in progress)"
To me, reading this looks like all combinations are valid.
I'm wondering, can both .t2flow and .wfbundle files be converted to
all file types *except* robundle?
4) I fixed the examples in my blog post. Should I also change the
--robundle option description to say "Output bundle as .robundle"
instead of "Output workflow as .robundle" ? (Same for .wfbundle
option.)
Thanks for the feedback and the correct link to the example!
Have a nice weekend.
Gale
On Wed, Jun 24, 2015 at 10:52 PM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hi Gale,
> Use this link
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
>
> Cheers
> Menaka
>
> On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> Thank you for the feedback and clarifying information. Sorry not to respond
>> sooner. I am learning about bundles, etc. and reading the link you sent.
>>
>> One thing, I'm having trouble getting to the example in the Examples of Use
>> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
>>
>> Can you help me? This is what I've done so far:
>>
>> - Clicking on the link gets me the "This is not the web page you are
>> looking
>> for" page. (This is the actual link address:
>>
>> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
>> )
>>
>> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work for
>> me. I didn't think it would, but I tried anyway.
>>
>> - Searching for "taverna robundle TestExample" on the main Apache.com page
>> yields no results.
>>
>> I will continue to read and understand the RO Bundle API page, but I would
>> like to see the full Test Example, if possible.
>>
>> Thanks!
>>
>> Gale
>>
>>
>> -----Original Message-----
>> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
>> Sent: Saturday, June 20, 2015 11:09 AM
>> To: dev@taverna.incubator.apache.org
>> Subject: Re: Taverna Language Command Line tool - convert command doc
>>
>> That's cool.....!! :-)
>> Correction:
>>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>
>> > Example 2: Simple conversion, multiple input files, no options
>> >
>> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>> >
>> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
>> > *.robundle* format and saves the output files to the */converted*
>> > folder in the current working directory.
>> >
>> Taverna language *cannot* convert .wfbundles/.t2flow into robundle format.
>> Its only for some specific bundle formats. Go through this doc for more
>> info.
>>
>>
>> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>>
>> cheers.
>>
>> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com> wrote:
>>
>> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
>> > posts to use the <pre> tag, and it looks great. I also made a few
>> > refinements.
>> >
>> > Thanks,
>> > Gale
>> >
>> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
>> > <me...@gmail.com> wrote:
>> > > Thank you very much Gale,
>> > >
>> > > I showed the output-format without brackets to indicate it is
>> > >> required and not optional because it appears to be always necessary
>> > >
>> > >
>> > > That would be more accurate I think. I'm very new for documentation.
>> > Thank
>> > > you very much.
>> > >
>> > > I left the -json output file type as having a single dash, but all
>> > >> the other output types have double-dashes. Should I change the json
>> > >> output argument to --json?
>> > >>
>> > > -json should be --json. In my email that was a mistake. So you can
>> > > use
>> > --.
>> > >
>> > > (Wordpress is driving me crazy because it is showing the
>> > > double-dashes
>> > >> as long single dashes, even when I use the monospace font-family.
>> > >> Any
>> > >> suggestions?)
>> > >>
>> > >
>> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
>> > > Not paragraph. Then it would be ok. I updated my blog.
>> > >
>> > https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> > age-command-line-conversion-documentation/
>> > >
>> > > Thank you very much.
>> > > Menaka
>> > >
>> > > I'll go through your documentations.
>> > >
>> > >
>> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
>> > wrote:
>> > >
>> > >> Hi Menaka,
>> > >>
>> > >> Thanks for updating your blog! I have some additional feedback in
>> > >> the form of two blog posts. One has a detailed description (as I
>> > >> understand it) of the convert command and one has several examples,
>> > >> building on the examples in your blog. I hope these will help the
>> > >> discussion of the command structure. Here are the links:
>> > >>
>> > >>
>> > >>
>> > https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> > mmand-line-convert-command/
>> > >>
>> > >>
>> > >>
>> > https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
>> > mmand-line-convert-examples/
>> > >>
>> > >> Some things to note:
>> > >>
>> > >> (1) l basically used your June 18th post, but a few things (like
>> > >> the validate command) are from earlier posts/emails.
>> > >>
>> > >> (2) I showed the output-format without brackets to indicate it is
>> > >> required and not optional because it appears to be always necessary.
>> > >>
>> > >> (3) The way I understand the overall command structure, it seemed
>> > >> that all options (e.g., the output file directory) should come
>> > >> before the input-file-list, so that's what I assumed.
>> > >>
>> > >> (4) I left the -json output file type as having a single dash, but
>> > >> all the other output types have double-dashes. Should I change the
>> > >> json output argument to --json?
>> > >>
>> > >> Please let me know if anything is incorrect and I will change it. I
>> > >> realize the command structure is fluid, and I'm happy to make any
>> > >> changes as things evolve.
>> > >>
>> > >> (Wordpress is driving me crazy because it is showing the
>> > >> double-dashes as long single dashes, even when I use the monospace
>> > >> font-family. Any
>> > >> suggestions?)
>> > >>
>> > >> Thanks,
>> > >>
>> > >> Gale
>> > >>
>> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> > >> <me...@gmail.com> wrote:
>> > >> > Hi Gale,
>> > >> >
>> > >> > Thank you very much.
>> > >> >
>> > >> > . Can you help me
>> > >> >> understand what you mean when you say the files will get saved
>> > >> >> to the C directory?
>> > >> >
>> > >> > That was a mistake :-). I updated the blog. That should be
>> > >> > corrected
>> > as
>> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> > >> > *Convert
>> > the
>> > >> > files and save them in the …/toConvert/converted/ directory.
>> > >> >
>> > >> > I would appreciate more feedback, modifications etc. So with the
>> > >> > help
>> > of
>> > >> > the community we could come up with a much better structure.
>> > >> > Cheers
>> > >> > Menaka
>> > >> >
>> > >> > On 19 June 2015 at 22:32, Gale Naylor
>> > >> > <ga...@noventussolutions.com>
>> > >> wrote:
>> > >> >
>> > >> >> Hi Menaka,
>> > >> >>
>> > >> >> I am very happy to help, and I understand the command structure
>> > >> >> is a little fluid right now. Thank you for the blog post; it was
>> > >> >> very helpful.
>> > >> >>
>> > >> >> I am a little confused about your recursive example. Can you
>> > >> >> help me understand what you mean when you say the files will get
>> > >> >> saved to the C directory? Because you show the output being saved
>> > >> >> to:
>> > >> >> /home/usrname/toConvert/converted/somefile1.json
>> > >> >>
>> > >> >> This is the example:
>> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
>> > >> >> Convert the files and save them in the C directory.
>> > >> >>
>> > >> >> Thank you!
>> > >> >>
>> > >> >> Gale
>> > >> >>
>> > >> >> B
>> > >> >>
>> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> > >> >> <me...@gmail.com> wrote:
>> > >> >> > Hi Gale,
>> > >> >> > I extremely appreciate your help. Thank you very much. :-)
>> > >> >> >
>> > >> >> > 1) Is this still the basic structure of the command: tavlang
>> > convert
>> > >> >> >> [options] <output format> <input files>? Am I wrong in
>> > >> >> >> thinking
>> > that
>> > >> the
>> > >> >> >> output formats are handled as options?
>> > >> >> >
>> > >> >> >
>> > >> >> > Yes there is a little difference in the structure of commands
>> > >> >> > now
>> > and
>> > >> >> then.
>> > >> >> > So for the moment the command structure is like this.
>> > >> >> >
>> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
>> > >> >> >
>> > >> >> >
>> > >> >> > 2) Are -r and -i ever used independently? If so, under what
>> > >> >> circumstances?
>> > >> >> >
>> > >> >> > No. In recursive case the input will be a directory containing
>> > >> .t2flow of
>> > >> >> > .wfbundle files. The output dir is optional for both recursive
>> > >> >> > and
>> > non
>> > >> >> > recursive cases.
>> > >> >> >
>> > >> >> > I created a blog about the conversion command.
>> > >> >> >
>> > >> >>
>> > >>
>> > https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
>> > age-command-line-conversion-documentation/
>> > >> >> >
>> > >> >> > If you have some suggestions, please inform.
>> > >> >> >
>> > >> >> > Thank you very much!
>> > >> >> >
>> > >> >> > Regards
>> > >> >> > Menaka
>> > >> >> >
>> > >> >> > --
>> > >> >> > Menaka Madushanka Jayawardena
>> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
>> > >> >> > of Peradeniyaya.
>> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > >> >>
>> > >> >
>> > >> >
>> > >> >
>> > >> > --
>> > >> > Menaka Madushanka Jayawardena
>> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> > >> > Peradeniyaya.
>> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > Menaka Madushanka Jayawardena
>> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> > > Peradeniyaya.
>> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
>> Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
Use this link
https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/apache/taverna/robundle/TestExample.java
Cheers
Menaka
On 25 June 2015 at 05:34, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> Thank you for the feedback and clarifying information. Sorry not to respond
> sooner. I am learning about bundles, etc. and reading the link you sent.
>
> One thing, I'm having trouble getting to the example in the Examples of Use
> Section: "Example in full is at org.apache.taverna.robundle.TestExample"
>
> Can you help me? This is what I've done so far:
>
> - Clicking on the link gets me the "This is not the web page you are
> looking
> for" page. (This is the actual link address:
>
> https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java
> )
>
> - Entering "org.apache.taverna.robundle.TestExample" also doesn't work for
> me. I didn't think it would, but I tried anyway.
>
> - Searching for "taverna robundle TestExample" on the main Apache.com page
> yields no results.
>
> I will continue to read and understand the RO Bundle API page, but I would
> like to see the full Test Example, if possible.
>
> Thanks!
>
> Gale
>
>
> -----Original Message-----
> From: Menaka Madushanka [mailto:menaka12350@gmail.com]
> Sent: Saturday, June 20, 2015 11:09 AM
> To: dev@taverna.incubator.apache.org
> Subject: Re: Taverna Language Command Line tool - convert command doc
>
> That's cool.....!! :-)
> Correction:
>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>
> > Example 2: Simple conversion, multiple input files, no options
> >
> > $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
> >
> > Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> > *.robundle* format and saves the output files to the */converted*
> > folder in the current working directory.
> >
> Taverna language *cannot* convert .wfbundles/.t2flow into robundle format.
> Its only for some specific bundle formats. Go through this doc for more
> info.
>
>
> https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
>
> cheers.
>
> On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com> wrote:
>
> > Thank you for the Wordpress tip, Menaka! I have changed the two blog
> > posts to use the <pre> tag, and it looks great. I also made a few
> > refinements.
> >
> > Thanks,
> > Gale
> >
> > On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> > <me...@gmail.com> wrote:
> > > Thank you very much Gale,
> > >
> > > I showed the output-format without brackets to indicate it is
> > >> required and not optional because it appears to be always necessary
> > >
> > >
> > > That would be more accurate I think. I'm very new for documentation.
> > Thank
> > > you very much.
> > >
> > > I left the -json output file type as having a single dash, but all
> > >> the other output types have double-dashes. Should I change the json
> > >> output argument to --json?
> > >>
> > > -json should be --json. In my email that was a mistake. So you can
> > > use
> > --.
> > >
> > > (Wordpress is driving me crazy because it is showing the
> > > double-dashes
> > >> as long single dashes, even when I use the monospace font-family.
> > >> Any
> > >> suggestions?)
> > >>
> > >
> > > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
> > > Not paragraph. Then it would be ok. I updated my blog.
> > >
> > https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> > age-command-line-conversion-documentation/
> > >
> > > Thank you very much.
> > > Menaka
> > >
> > > I'll go through your documentations.
> > >
> > >
> > > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
> > wrote:
> > >
> > >> Hi Menaka,
> > >>
> > >> Thanks for updating your blog! I have some additional feedback in
> > >> the form of two blog posts. One has a detailed description (as I
> > >> understand it) of the convert command and one has several examples,
> > >> building on the examples in your blog. I hope these will help the
> > >> discussion of the command structure. Here are the links:
> > >>
> > >>
> > >>
> > https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> > mmand-line-convert-command/
> > >>
> > >>
> > >>
> > https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> > mmand-line-convert-examples/
> > >>
> > >> Some things to note:
> > >>
> > >> (1) l basically used your June 18th post, but a few things (like
> > >> the validate command) are from earlier posts/emails.
> > >>
> > >> (2) I showed the output-format without brackets to indicate it is
> > >> required and not optional because it appears to be always necessary.
> > >>
> > >> (3) The way I understand the overall command structure, it seemed
> > >> that all options (e.g., the output file directory) should come
> > >> before the input-file-list, so that's what I assumed.
> > >>
> > >> (4) I left the -json output file type as having a single dash, but
> > >> all the other output types have double-dashes. Should I change the
> > >> json output argument to --json?
> > >>
> > >> Please let me know if anything is incorrect and I will change it. I
> > >> realize the command structure is fluid, and I'm happy to make any
> > >> changes as things evolve.
> > >>
> > >> (Wordpress is driving me crazy because it is showing the
> > >> double-dashes as long single dashes, even when I use the monospace
> > >> font-family. Any
> > >> suggestions?)
> > >>
> > >> Thanks,
> > >>
> > >> Gale
> > >>
> > >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> > >> <me...@gmail.com> wrote:
> > >> > Hi Gale,
> > >> >
> > >> > Thank you very much.
> > >> >
> > >> > . Can you help me
> > >> >> understand what you mean when you say the files will get saved
> > >> >> to the C directory?
> > >> >
> > >> > That was a mistake :-). I updated the blog. That should be
> > >> > corrected
> > as
> > >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> > >> > *Convert
> > the
> > >> > files and save them in the …/toConvert/converted/ directory.
> > >> >
> > >> > I would appreciate more feedback, modifications etc. So with the
> > >> > help
> > of
> > >> > the community we could come up with a much better structure.
> > >> > Cheers
> > >> > Menaka
> > >> >
> > >> > On 19 June 2015 at 22:32, Gale Naylor
> > >> > <ga...@noventussolutions.com>
> > >> wrote:
> > >> >
> > >> >> Hi Menaka,
> > >> >>
> > >> >> I am very happy to help, and I understand the command structure
> > >> >> is a little fluid right now. Thank you for the blog post; it was
> > >> >> very helpful.
> > >> >>
> > >> >> I am a little confused about your recursive example. Can you
> > >> >> help me understand what you mean when you say the files will get
> > >> >> saved to the C directory? Because you show the output being saved
> > >> >> to:
> > >> >> /home/usrname/toConvert/converted/somefile1.json
> > >> >>
> > >> >> This is the example:
> > >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> > >> >> Convert the files and save them in the C directory.
> > >> >>
> > >> >> Thank you!
> > >> >>
> > >> >> Gale
> > >> >>
> > >> >> B
> > >> >>
> > >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> > >> >> <me...@gmail.com> wrote:
> > >> >> > Hi Gale,
> > >> >> > I extremely appreciate your help. Thank you very much. :-)
> > >> >> >
> > >> >> > 1) Is this still the basic structure of the command: tavlang
> > convert
> > >> >> >> [options] <output format> <input files>? Am I wrong in
> > >> >> >> thinking
> > that
> > >> the
> > >> >> >> output formats are handled as options?
> > >> >> >
> > >> >> >
> > >> >> > Yes there is a little difference in the structure of commands
> > >> >> > now
> > and
> > >> >> then.
> > >> >> > So for the moment the command structure is like this.
> > >> >> >
> > >> >> > $tavlang convert [--out-put format] [options] [arguments]
> > >> >> >
> > >> >> >
> > >> >> > 2) Are -r and -i ever used independently? If so, under what
> > >> >> circumstances?
> > >> >> >
> > >> >> > No. In recursive case the input will be a directory containing
> > >> .t2flow of
> > >> >> > .wfbundle files. The output dir is optional for both recursive
> > >> >> > and
> > non
> > >> >> > recursive cases.
> > >> >> >
> > >> >> > I created a blog about the conversion command.
> > >> >> >
> > >> >>
> > >>
> > https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> > age-command-line-conversion-documentation/
> > >> >> >
> > >> >> > If you have some suggestions, please inform.
> > >> >> >
> > >> >> > Thank you very much!
> > >> >> >
> > >> >> > Regards
> > >> >> > Menaka
> > >> >> >
> > >> >> > --
> > >> >> > Menaka Madushanka Jayawardena
> > >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
> > >> >> > of Peradeniyaya.
> > >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Menaka Madushanka Jayawardena
> > >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> > >> > Peradeniyaya.
> > >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> > >>
> > >
> > >
> > >
> > > --
> > > Menaka Madushanka Jayawardena
> > > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> > > Peradeniyaya.
> > > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
RE: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
Thank you for the feedback and clarifying information. Sorry not to respond
sooner. I am learning about bundles, etc. and reading the link you sent.
One thing, I'm having trouble getting to the example in the Examples of Use
Section: "Example in full is at org.apache.taverna.robundle.TestExample"
Can you help me? This is what I've done so far:
- Clicking on the link gets me the "This is not the web page you are looking
for" page. (This is the actual link address:
https://github.com/apache/incubator-taverna-language/blob/master/taverna-robundle/src/test/java/org/purl/wf4ever/robundle/TestExample.java)
- Entering "org.apache.taverna.robundle.TestExample" also doesn't work for
me. I didn't think it would, but I tried anyway.
- Searching for "taverna robundle TestExample" on the main Apache.com page
yields no results.
I will continue to read and understand the RO Bundle API page, but I would
like to see the full Test Example, if possible.
Thanks!
Gale
-----Original Message-----
From: Menaka Madushanka [mailto:menaka12350@gmail.com]
Sent: Saturday, June 20, 2015 11:09 AM
To: dev@taverna.incubator.apache.org
Subject: Re: Taverna Language Command Line tool - convert command doc
That's cool.....!! :-)
Correction:
https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> Example 2: Simple conversion, multiple input files, no options
>
> $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>
> Converts */someFile1.wfbundle* and */someFile2.wfbundle* into
> *.robundle* format and saves the output files to the */converted*
> folder in the current working directory.
>
Taverna language *cannot* convert .wfbundles/.t2flow into robundle format.
Its only for some specific bundle formats. Go through this doc for more
info.
https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
cheers.
On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com> wrote:
> Thank you for the Wordpress tip, Menaka! I have changed the two blog
> posts to use the <pre> tag, and it looks great. I also made a few
> refinements.
>
> Thanks,
> Gale
>
> On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Thank you very much Gale,
> >
> > I showed the output-format without brackets to indicate it is
> >> required and not optional because it appears to be always necessary
> >
> >
> > That would be more accurate I think. I'm very new for documentation.
> Thank
> > you very much.
> >
> > I left the -json output file type as having a single dash, but all
> >> the other output types have double-dashes. Should I change the json
> >> output argument to --json?
> >>
> > -json should be --json. In my email that was a mistake. So you can
> > use
> --.
> >
> > (Wordpress is driving me crazy because it is showing the
> > double-dashes
> >> as long single dashes, even when I use the monospace font-family.
> >> Any
> >> suggestions?)
> >>
> >
> > Yes, wordpress does what it wants, but not us. :-) Use preformatted.
> > Not paragraph. Then it would be ok. I updated my blog.
> >
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> age-command-line-conversion-documentation/
> >
> > Thank you very much.
> > Menaka
> >
> > I'll go through your documentations.
> >
> >
> > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> Thanks for updating your blog! I have some additional feedback in
> >> the form of two blog posts. One has a detailed description (as I
> >> understand it) of the convert command and one has several examples,
> >> building on the examples in your blog. I hope these will help the
> >> discussion of the command structure. Here are the links:
> >>
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> mmand-line-convert-command/
> >>
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-co
> mmand-line-convert-examples/
> >>
> >> Some things to note:
> >>
> >> (1) l basically used your June 18th post, but a few things (like
> >> the validate command) are from earlier posts/emails.
> >>
> >> (2) I showed the output-format without brackets to indicate it is
> >> required and not optional because it appears to be always necessary.
> >>
> >> (3) The way I understand the overall command structure, it seemed
> >> that all options (e.g., the output file directory) should come
> >> before the input-file-list, so that's what I assumed.
> >>
> >> (4) I left the -json output file type as having a single dash, but
> >> all the other output types have double-dashes. Should I change the
> >> json output argument to --json?
> >>
> >> Please let me know if anything is incorrect and I will change it. I
> >> realize the command structure is fluid, and I'm happy to make any
> >> changes as things evolve.
> >>
> >> (Wordpress is driving me crazy because it is showing the
> >> double-dashes as long single dashes, even when I use the monospace
> >> font-family. Any
> >> suggestions?)
> >>
> >> Thanks,
> >>
> >> Gale
> >>
> >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> >
> >> > Thank you very much.
> >> >
> >> > . Can you help me
> >> >> understand what you mean when you say the files will get saved
> >> >> to the C directory?
> >> >
> >> > That was a mistake :-). I updated the blog. That should be
> >> > corrected
> as
> >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> > *Convert
> the
> >> > files and save them in the …/toConvert/converted/ directory.
> >> >
> >> > I would appreciate more feedback, modifications etc. So with the
> >> > help
> of
> >> > the community we could come up with a much better structure.
> >> > Cheers
> >> > Menaka
> >> >
> >> > On 19 June 2015 at 22:32, Gale Naylor
> >> > <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> I am very happy to help, and I understand the command structure
> >> >> is a little fluid right now. Thank you for the blog post; it was
> >> >> very helpful.
> >> >>
> >> >> I am a little confused about your recursive example. Can you
> >> >> help me understand what you mean when you say the files will get
> >> >> saved to the C directory? Because you show the output being saved
> >> >> to:
> >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >>
> >> >> This is the example:
> >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –>
> >> >> Convert the files and save them in the C directory.
> >> >>
> >> >> Thank you!
> >> >>
> >> >> Gale
> >> >>
> >> >> B
> >> >>
> >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hi Gale,
> >> >> > I extremely appreciate your help. Thank you very much. :-)
> >> >> >
> >> >> > 1) Is this still the basic structure of the command: tavlang
> convert
> >> >> >> [options] <output format> <input files>? Am I wrong in
> >> >> >> thinking
> that
> >> the
> >> >> >> output formats are handled as options?
> >> >> >
> >> >> >
> >> >> > Yes there is a little difference in the structure of commands
> >> >> > now
> and
> >> >> then.
> >> >> > So for the moment the command structure is like this.
> >> >> >
> >> >> > $tavlang convert [--out-put format] [options] [arguments]
> >> >> >
> >> >> >
> >> >> > 2) Are -r and -i ever used independently? If so, under what
> >> >> circumstances?
> >> >> >
> >> >> > No. In recursive case the input will be a directory containing
> >> .t2flow of
> >> >> > .wfbundle files. The output dir is optional for both recursive
> >> >> > and
> non
> >> >> > recursive cases.
> >> >> >
> >> >> > I created a blog about the conversion command.
> >> >> >
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-langu
> age-command-line-conversion-documentation/
> >> >> >
> >> >> > If you have some suggestions, please inform.
> >> >> >
> >> >> > Thank you very much!
> >> >> >
> >> >> > Regards
> >> >> > Menaka
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University
> >> >> > of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> >> > Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
> > Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of
Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
That's cool.....!! :-)
Correction:
https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> Example 2: Simple conversion, multiple input files, no options
>
> $tavlang convert –-robundle /someFile1.wfbundle /someFile2.wfbundle
>
> Converts */someFile1.wfbundle* and */someFile2.wfbundle* into *.robundle* format
> and saves the output files to the */converted* folder in the current
> working directory.
>
Taverna language *cannot* convert .wfbundles/.t2flow into robundle format.
Its only for some specific bundle formats. Go through this doc for more
info.
https://github.com/apache/incubator-taverna-language/tree/master/taverna-robundle
cheers.
On 20 June 2015 at 22:43, Gale Naylor <ga...@noventussolutions.com> wrote:
> Thank you for the Wordpress tip, Menaka! I have changed the two blog
> posts to use the <pre> tag, and it looks great. I also made a few
> refinements.
>
> Thanks,
> Gale
>
> On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Thank you very much Gale,
> >
> > I showed the output-format without brackets to indicate it is
> >> required and not optional because it appears to be always necessary
> >
> >
> > That would be more accurate I think. I'm very new for documentation.
> Thank
> > you very much.
> >
> > I left the -json output file type as having a single dash, but all
> >> the other output types have double-dashes. Should I change the json
> >> output argument to --json?
> >>
> > -json should be --json. In my email that was a mistake. So you can use
> --.
> >
> > (Wordpress is driving me crazy because it is showing the double-dashes
> >> as long single dashes, even when I use the monospace font-family. Any
> >> suggestions?)
> >>
> >
> > Yes, wordpress does what it wants, but not us. :-) Use preformatted. Not
> > paragraph. Then it would be ok. I updated my blog.
> >
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
> >
> > Thank you very much.
> > Menaka
> >
> > I'll go through your documentations.
> >
> >
> > On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> Thanks for updating your blog! I have some additional feedback in the
> >> form of two blog posts. One has a detailed description (as I
> >> understand it) of the convert command and one has several examples,
> >> building on the examples in your blog. I hope these will help the
> >> discussion of the command structure. Here are the links:
> >>
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-command/
> >>
> >>
> >>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
> >>
> >> Some things to note:
> >>
> >> (1) l basically used your June 18th post, but a few things (like the
> >> validate command) are from earlier posts/emails.
> >>
> >> (2) I showed the output-format without brackets to indicate it is
> >> required and not optional because it appears to be always necessary.
> >>
> >> (3) The way I understand the overall command structure, it seemed that
> >> all options (e.g., the output file directory) should come before the
> >> input-file-list, so that's what I assumed.
> >>
> >> (4) I left the -json output file type as having a single dash, but all
> >> the other output types have double-dashes. Should I change the json
> >> output argument to --json?
> >>
> >> Please let me know if anything is incorrect and I will change it. I
> >> realize the command structure is fluid, and I'm happy to make any
> >> changes as things evolve.
> >>
> >> (Wordpress is driving me crazy because it is showing the double-dashes
> >> as long single dashes, even when I use the monospace font-family. Any
> >> suggestions?)
> >>
> >> Thanks,
> >>
> >> Gale
> >>
> >> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> >
> >> > Thank you very much.
> >> >
> >> > . Can you help me
> >> >> understand what you mean when you say the files will get saved to the
> >> >> C directory?
> >> >
> >> > That was a mistake :-). I updated the blog. That should be corrected
> as
> >> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –> *Convert
> the
> >> > files and save them in the …/toConvert/converted/ directory.
> >> >
> >> > I would appreciate more feedback, modifications etc. So with the help
> of
> >> > the community we could come up with a much better structure.
> >> > Cheers
> >> > Menaka
> >> >
> >> > On 19 June 2015 at 22:32, Gale Naylor <ga...@noventussolutions.com>
> >> wrote:
> >> >
> >> >> Hi Menaka,
> >> >>
> >> >> I am very happy to help, and I understand the command structure is a
> >> >> little fluid right now. Thank you for the blog post; it was very
> >> >> helpful.
> >> >>
> >> >> I am a little confused about your recursive example. Can you help me
> >> >> understand what you mean when you say the files will get saved to the
> >> >> C directory? Because you show the output being saved to:
> >> >> /home/usrname/toConvert/converted/somefile1.json
> >> >>
> >> >> This is the example:
> >> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –> Convert the
> >> >> files and save them in the C directory.
> >> >>
> >> >> Thank you!
> >> >>
> >> >> Gale
> >> >>
> >> >> B
> >> >>
> >> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> >> <me...@gmail.com> wrote:
> >> >> > Hi Gale,
> >> >> > I extremely appreciate your help. Thank you very much. :-)
> >> >> >
> >> >> > 1) Is this still the basic structure of the command: tavlang
> convert
> >> >> >> [options] <output format> <input files>? Am I wrong in thinking
> that
> >> the
> >> >> >> output formats are handled as options?
> >> >> >
> >> >> >
> >> >> > Yes there is a little difference in the structure of commands now
> and
> >> >> then.
> >> >> > So for the moment the command structure is like this.
> >> >> >
> >> >> > $tavlang convert [--out-put format] [options] [arguments]
> >> >> >
> >> >> >
> >> >> > 2) Are -r and -i ever used independently? If so, under what
> >> >> circumstances?
> >> >> >
> >> >> > No. In recursive case the input will be a directory containing
> >> .t2flow of
> >> >> > .wfbundle files. The output dir is optional for both recursive and
> non
> >> >> > recursive cases.
> >> >> >
> >> >> > I created a blog about the conversion command.
> >> >> >
> >> >>
> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
> >> >> >
> >> >> > If you have some suggestions, please inform.
> >> >> >
> >> >> > Thank you very much!
> >> >> >
> >> >> > Regards
> >> >> > Menaka
> >> >> >
> >> >> > --
> >> >> > Menaka Madushanka Jayawardena
> >> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> >> > University of Peradeniyaya.
> >> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Thank you for the Wordpress tip, Menaka! I have changed the two blog
posts to use the <pre> tag, and it looks great. I also made a few
refinements.
Thanks,
Gale
On Fri, Jun 19, 2015 at 11:54 PM, Menaka Madushanka
<me...@gmail.com> wrote:
> Thank you very much Gale,
>
> I showed the output-format without brackets to indicate it is
>> required and not optional because it appears to be always necessary
>
>
> That would be more accurate I think. I'm very new for documentation. Thank
> you very much.
>
> I left the -json output file type as having a single dash, but all
>> the other output types have double-dashes. Should I change the json
>> output argument to --json?
>>
> -json should be --json. In my email that was a mistake. So you can use --.
>
> (Wordpress is driving me crazy because it is showing the double-dashes
>> as long single dashes, even when I use the monospace font-family. Any
>> suggestions?)
>>
>
> Yes, wordpress does what it wants, but not us. :-) Use preformatted. Not
> paragraph. Then it would be ok. I updated my blog.
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
>
> Thank you very much.
> Menaka
>
> I'll go through your documentations.
>
>
> On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> Thanks for updating your blog! I have some additional feedback in the
>> form of two blog posts. One has a detailed description (as I
>> understand it) of the convert command and one has several examples,
>> building on the examples in your blog. I hope these will help the
>> discussion of the command structure. Here are the links:
>>
>>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-command/
>>
>>
>> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>>
>> Some things to note:
>>
>> (1) l basically used your June 18th post, but a few things (like the
>> validate command) are from earlier posts/emails.
>>
>> (2) I showed the output-format without brackets to indicate it is
>> required and not optional because it appears to be always necessary.
>>
>> (3) The way I understand the overall command structure, it seemed that
>> all options (e.g., the output file directory) should come before the
>> input-file-list, so that's what I assumed.
>>
>> (4) I left the -json output file type as having a single dash, but all
>> the other output types have double-dashes. Should I change the json
>> output argument to --json?
>>
>> Please let me know if anything is incorrect and I will change it. I
>> realize the command structure is fluid, and I'm happy to make any
>> changes as things evolve.
>>
>> (Wordpress is driving me crazy because it is showing the double-dashes
>> as long single dashes, even when I use the monospace font-family. Any
>> suggestions?)
>>
>> Thanks,
>>
>> Gale
>>
>> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> >
>> > Thank you very much.
>> >
>> > . Can you help me
>> >> understand what you mean when you say the files will get saved to the
>> >> C directory?
>> >
>> > That was a mistake :-). I updated the blog. That should be corrected as
>> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –> *Convert the
>> > files and save them in the …/toConvert/converted/ directory.
>> >
>> > I would appreciate more feedback, modifications etc. So with the help of
>> > the community we could come up with a much better structure.
>> > Cheers
>> > Menaka
>> >
>> > On 19 June 2015 at 22:32, Gale Naylor <ga...@noventussolutions.com>
>> wrote:
>> >
>> >> Hi Menaka,
>> >>
>> >> I am very happy to help, and I understand the command structure is a
>> >> little fluid right now. Thank you for the blog post; it was very
>> >> helpful.
>> >>
>> >> I am a little confused about your recursive example. Can you help me
>> >> understand what you mean when you say the files will get saved to the
>> >> C directory? Because you show the output being saved to:
>> >> /home/usrname/toConvert/converted/somefile1.json
>> >>
>> >> This is the example:
>> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –> Convert the
>> >> files and save them in the C directory.
>> >>
>> >> Thank you!
>> >>
>> >> Gale
>> >>
>> >> B
>> >>
>> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> >> <me...@gmail.com> wrote:
>> >> > Hi Gale,
>> >> > I extremely appreciate your help. Thank you very much. :-)
>> >> >
>> >> > 1) Is this still the basic structure of the command: tavlang convert
>> >> >> [options] <output format> <input files>? Am I wrong in thinking that
>> the
>> >> >> output formats are handled as options?
>> >> >
>> >> >
>> >> > Yes there is a little difference in the structure of commands now and
>> >> then.
>> >> > So for the moment the command structure is like this.
>> >> >
>> >> > $tavlang convert [--out-put format] [options] [arguments]
>> >> >
>> >> >
>> >> > 2) Are -r and -i ever used independently? If so, under what
>> >> circumstances?
>> >> >
>> >> > No. In recursive case the input will be a directory containing
>> .t2flow of
>> >> > .wfbundle files. The output dir is optional for both recursive and non
>> >> > recursive cases.
>> >> >
>> >> > I created a blog about the conversion command.
>> >> >
>> >>
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
>> >> >
>> >> > If you have some suggestions, please inform.
>> >> >
>> >> > Thank you very much!
>> >> >
>> >> > Regards
>> >> > Menaka
>> >> >
>> >> > --
>> >> > Menaka Madushanka Jayawardena
>> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> >> > University of Peradeniyaya.
>> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>> >>
>> >
>> >
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Thank you very much Gale,
I showed the output-format without brackets to indicate it is
> required and not optional because it appears to be always necessary
That would be more accurate I think. I'm very new for documentation. Thank
you very much.
I left the -json output file type as having a single dash, but all
> the other output types have double-dashes. Should I change the json
> output argument to --json?
>
-json should be --json. In my email that was a mistake. So you can use --.
(Wordpress is driving me crazy because it is showing the double-dashes
> as long single dashes, even when I use the monospace font-family. Any
> suggestions?)
>
Yes, wordpress does what it wants, but not us. :-) Use preformatted. Not
paragraph. Then it would be ok. I updated my blog.
https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
Thank you very much.
Menaka
I'll go through your documentations.
On 20 June 2015 at 03:43, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> Thanks for updating your blog! I have some additional feedback in the
> form of two blog posts. One has a detailed description (as I
> understand it) of the convert command and one has several examples,
> building on the examples in your blog. I hope these will help the
> discussion of the command structure. Here are the links:
>
>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-command/
>
>
> https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
>
> Some things to note:
>
> (1) l basically used your June 18th post, but a few things (like the
> validate command) are from earlier posts/emails.
>
> (2) I showed the output-format without brackets to indicate it is
> required and not optional because it appears to be always necessary.
>
> (3) The way I understand the overall command structure, it seemed that
> all options (e.g., the output file directory) should come before the
> input-file-list, so that's what I assumed.
>
> (4) I left the -json output file type as having a single dash, but all
> the other output types have double-dashes. Should I change the json
> output argument to --json?
>
> Please let me know if anything is incorrect and I will change it. I
> realize the command structure is fluid, and I'm happy to make any
> changes as things evolve.
>
> (Wordpress is driving me crazy because it is showing the double-dashes
> as long single dashes, even when I use the monospace font-family. Any
> suggestions?)
>
> Thanks,
>
> Gale
>
> On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hi Gale,
> >
> > Thank you very much.
> >
> > . Can you help me
> >> understand what you mean when you say the files will get saved to the
> >> C directory?
> >
> > That was a mistake :-). I updated the blog. That should be corrected as
> > *$tavlang convert –json -r -i /home/usrname/toConvert/ –> *Convert the
> > files and save them in the …/toConvert/converted/ directory.
> >
> > I would appreciate more feedback, modifications etc. So with the help of
> > the community we could come up with a much better structure.
> > Cheers
> > Menaka
> >
> > On 19 June 2015 at 22:32, Gale Naylor <ga...@noventussolutions.com>
> wrote:
> >
> >> Hi Menaka,
> >>
> >> I am very happy to help, and I understand the command structure is a
> >> little fluid right now. Thank you for the blog post; it was very
> >> helpful.
> >>
> >> I am a little confused about your recursive example. Can you help me
> >> understand what you mean when you say the files will get saved to the
> >> C directory? Because you show the output being saved to:
> >> /home/usrname/toConvert/converted/somefile1.json
> >>
> >> This is the example:
> >> $tavlang convert –json -r -i /home/usrname/toConvert/ –> Convert the
> >> files and save them in the C directory.
> >>
> >> Thank you!
> >>
> >> Gale
> >>
> >> B
> >>
> >> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> >> <me...@gmail.com> wrote:
> >> > Hi Gale,
> >> > I extremely appreciate your help. Thank you very much. :-)
> >> >
> >> > 1) Is this still the basic structure of the command: tavlang convert
> >> >> [options] <output format> <input files>? Am I wrong in thinking that
> the
> >> >> output formats are handled as options?
> >> >
> >> >
> >> > Yes there is a little difference in the structure of commands now and
> >> then.
> >> > So for the moment the command structure is like this.
> >> >
> >> > $tavlang convert [--out-put format] [options] [arguments]
> >> >
> >> >
> >> > 2) Are -r and -i ever used independently? If so, under what
> >> circumstances?
> >> >
> >> > No. In recursive case the input will be a directory containing
> .t2flow of
> >> > .wfbundle files. The output dir is optional for both recursive and non
> >> > recursive cases.
> >> >
> >> > I created a blog about the conversion command.
> >> >
> >>
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
> >> >
> >> > If you have some suggestions, please inform.
> >> >
> >> > Thank you very much!
> >> >
> >> > Regards
> >> > Menaka
> >> >
> >> > --
> >> > Menaka Madushanka Jayawardena
> >> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> >> > University of Peradeniyaya.
> >> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
> >>
> >
> >
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
Thanks for updating your blog! I have some additional feedback in the
form of two blog posts. One has a detailed description (as I
understand it) of the convert command and one has several examples,
building on the examples in your blog. I hope these will help the
discussion of the command structure. Here are the links:
https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-command/
https://galenaylor.wordpress.com/2015/06/19/apache-taverna-language-command-line-convert-examples/
Some things to note:
(1) l basically used your June 18th post, but a few things (like the
validate command) are from earlier posts/emails.
(2) I showed the output-format without brackets to indicate it is
required and not optional because it appears to be always necessary.
(3) The way I understand the overall command structure, it seemed that
all options (e.g., the output file directory) should come before the
input-file-list, so that's what I assumed.
(4) I left the -json output file type as having a single dash, but all
the other output types have double-dashes. Should I change the json
output argument to --json?
Please let me know if anything is incorrect and I will change it. I
realize the command structure is fluid, and I'm happy to make any
changes as things evolve.
(Wordpress is driving me crazy because it is showing the double-dashes
as long single dashes, even when I use the monospace font-family. Any
suggestions?)
Thanks,
Gale
On Fri, Jun 19, 2015 at 10:11 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hi Gale,
>
> Thank you very much.
>
> . Can you help me
>> understand what you mean when you say the files will get saved to the
>> C directory?
>
> That was a mistake :-). I updated the blog. That should be corrected as
> *$tavlang convert –json -r -i /home/usrname/toConvert/ –> *Convert the
> files and save them in the …/toConvert/converted/ directory.
>
> I would appreciate more feedback, modifications etc. So with the help of
> the community we could come up with a much better structure.
> Cheers
> Menaka
>
> On 19 June 2015 at 22:32, Gale Naylor <ga...@noventussolutions.com> wrote:
>
>> Hi Menaka,
>>
>> I am very happy to help, and I understand the command structure is a
>> little fluid right now. Thank you for the blog post; it was very
>> helpful.
>>
>> I am a little confused about your recursive example. Can you help me
>> understand what you mean when you say the files will get saved to the
>> C directory? Because you show the output being saved to:
>> /home/usrname/toConvert/converted/somefile1.json
>>
>> This is the example:
>> $tavlang convert –json -r -i /home/usrname/toConvert/ –> Convert the
>> files and save them in the C directory.
>>
>> Thank you!
>>
>> Gale
>>
>> B
>>
>> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
>> <me...@gmail.com> wrote:
>> > Hi Gale,
>> > I extremely appreciate your help. Thank you very much. :-)
>> >
>> > 1) Is this still the basic structure of the command: tavlang convert
>> >> [options] <output format> <input files>? Am I wrong in thinking that the
>> >> output formats are handled as options?
>> >
>> >
>> > Yes there is a little difference in the structure of commands now and
>> then.
>> > So for the moment the command structure is like this.
>> >
>> > $tavlang convert [--out-put format] [options] [arguments]
>> >
>> >
>> > 2) Are -r and -i ever used independently? If so, under what
>> circumstances?
>> >
>> > No. In recursive case the input will be a directory containing .t2flow of
>> > .wfbundle files. The output dir is optional for both recursive and non
>> > recursive cases.
>> >
>> > I created a blog about the conversion command.
>> >
>> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
>> >
>> > If you have some suggestions, please inform.
>> >
>> > Thank you very much!
>> >
>> > Regards
>> > Menaka
>> >
>> > --
>> > Menaka Madushanka Jayawardena
>> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> > University of Peradeniyaya.
>> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
Thank you very much.
. Can you help me
> understand what you mean when you say the files will get saved to the
> C directory?
That was a mistake :-). I updated the blog. That should be corrected as
*$tavlang convert –json -r -i /home/usrname/toConvert/ –> *Convert the
files and save them in the …/toConvert/converted/ directory.
I would appreciate more feedback, modifications etc. So with the help of
the community we could come up with a much better structure.
Cheers
Menaka
On 19 June 2015 at 22:32, Gale Naylor <ga...@noventussolutions.com> wrote:
> Hi Menaka,
>
> I am very happy to help, and I understand the command structure is a
> little fluid right now. Thank you for the blog post; it was very
> helpful.
>
> I am a little confused about your recursive example. Can you help me
> understand what you mean when you say the files will get saved to the
> C directory? Because you show the output being saved to:
> /home/usrname/toConvert/converted/somefile1.json
>
> This is the example:
> $tavlang convert –json -r -i /home/usrname/toConvert/ –> Convert the
> files and save them in the C directory.
>
> Thank you!
>
> Gale
>
> B
>
> On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
> <me...@gmail.com> wrote:
> > Hi Gale,
> > I extremely appreciate your help. Thank you very much. :-)
> >
> > 1) Is this still the basic structure of the command: tavlang convert
> >> [options] <output format> <input files>? Am I wrong in thinking that the
> >> output formats are handled as options?
> >
> >
> > Yes there is a little difference in the structure of commands now and
> then.
> > So for the moment the command structure is like this.
> >
> > $tavlang convert [--out-put format] [options] [arguments]
> >
> >
> > 2) Are -r and -i ever used independently? If so, under what
> circumstances?
> >
> > No. In recursive case the input will be a directory containing .t2flow of
> > .wfbundle files. The output dir is optional for both recursive and non
> > recursive cases.
> >
> > I created a blog about the conversion command.
> >
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
> >
> > If you have some suggestions, please inform.
> >
> > Thank you very much!
> >
> > Regards
> > Menaka
> >
> > --
> > Menaka Madushanka Jayawardena
> > Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> > University of Peradeniyaya.
> > LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Re: Taverna Language Command Line tool - convert command doc
Posted by Gale Naylor <ga...@noventussolutions.com>.
Hi Menaka,
I am very happy to help, and I understand the command structure is a
little fluid right now. Thank you for the blog post; it was very
helpful.
I am a little confused about your recursive example. Can you help me
understand what you mean when you say the files will get saved to the
C directory? Because you show the output being saved to:
/home/usrname/toConvert/converted/somefile1.json
This is the example:
$tavlang convert –json -r -i /home/usrname/toConvert/ –> Convert the
files and save them in the C directory.
Thank you!
Gale
B
On Fri, Jun 19, 2015 at 2:15 AM, Menaka Madushanka
<me...@gmail.com> wrote:
> Hi Gale,
> I extremely appreciate your help. Thank you very much. :-)
>
> 1) Is this still the basic structure of the command: tavlang convert
>> [options] <output format> <input files>? Am I wrong in thinking that the
>> output formats are handled as options?
>
>
> Yes there is a little difference in the structure of commands now and then.
> So for the moment the command structure is like this.
>
> $tavlang convert [--out-put format] [options] [arguments]
>
>
> 2) Are -r and -i ever used independently? If so, under what circumstances?
>
> No. In recursive case the input will be a directory containing .t2flow of
> .wfbundle files. The output dir is optional for both recursive and non
> recursive cases.
>
> I created a blog about the conversion command.
> https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
>
> If you have some suggestions, please inform.
>
> Thank you very much!
>
> Regards
> Menaka
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
Fwd: Taverna Language Command Line tool - convert command doc
Posted by Menaka Madushanka <me...@gmail.com>.
Hi Gale,
I extremely appreciate your help. Thank you very much. :-)
1) Is this still the basic structure of the command: tavlang convert
> [options] <output format> <input files>? Am I wrong in thinking that the
> output formats are handled as options?
Yes there is a little difference in the structure of commands now and then.
So for the moment the command structure is like this.
$tavlang convert [--out-put format] [options] [arguments]
2) Are -r and -i ever used independently? If so, under what circumstances?
No. In recursive case the input will be a directory containing .t2flow of
.wfbundle files. The output dir is optional for both recursive and non
recursive cases.
I created a blog about the conversion command.
https://menakamadushanka.wordpress.com/2015/06/18/apache-taverna-language-command-line-conversion-documentation/
If you have some suggestions, please inform.
Thank you very much!
Regards
Menaka
--
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>