taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Menaka Madushanka <menaka12...@gmail.com>
Subject Re: Workflow bundles - validation
Date Tue, 23 Jun 2015 13:41:43 GMT
Apache Taverna Language Command line documentation – Validation
<https://menakamadushanka.wordpress.com/2015/06/22/apache-taverna-language-command-line-documentation-validation/>

The blog post for the validate option.

For other posts---
https://menakamadushanka.wordpress.com/

On 23 June 2015 at 18:54, Menaka Madushanka <menaka12350@gmail.com> wrote:

> Validation output modified....!!!
>
> $ tavlang validate /home/menaka/conv/aaa/workflows/t2flow/helloworld.t2flow
> Validation started...
> Validation completed.......
> The workflow helloworld.t2flow has no errors.
>
> The validation report for helloworld.t2flow......
>
> --------------------------------------------------------------------------------
> -->NegativeValueProblems:- null
>
> -->EmptyIterationStrategyTopNodeProblems:- null
>
> -->MismatchConfigurableTypeProblems:- null
>
> -->NonAbsoluteURIProblems:- null
>
> -->NullFieldProblems:- null
>
> -->OutOfScopeValueProblems:- null
>
> -->PortMentionedTwiceProblems:- null
>
> -->PortMissingFromIterationStrategyStackProblems:- null
>
> -->WrongParentProblems:- null
>
> -->IncompatibleGranularDepthProblems:- null
>
>
> ---------------------------------------------------------------------------------
>
> Cheers
> Menaka
>
> On 23 June 2015 at 16:40, Menaka Madushanka <menaka12350@gmail.com> wrote:
>
>>
>> Hi Stian,
>> There are no problems in workflow those are only the problem types.
>> According to the API, if there are any, they should be listed under the
>> problem type.
>> :-)
>> I'll have to indicate that there are no errors in any type of problems....
>>  This is the original output.
>>
>>> ReportCorrectnessValidationListener [getNegativeValueProblems()=[],
>>>> getEmptyIterationStrategyTopNodeProblems()=[],
>>>> getMismatchConfigurableTypeProblems()=[], getNonAbsoluteURIProblems()=[],
>>>> getNullFieldProblems()=[], getOutOfScopeValueProblems()=[],
>>>> getPortMentionedTwiceProblems()=[],
>>>> getPortMissingFromIterationStrategyStackProblems()=[],
>>>> getWrongParentProblems()=[], getIncompatibleGranularDepthProblems()=[]]
>>>
>>>
>>>
>> Cheers
>> Menaka
>>
>>
>> On 23 June 2015 at 14:35, Stian Soiland-Reyes <stain@apache.org> wrote:
>>
>>> Do these Problems indicate that that there were problems, or that
>>> there was nothing listed under each heading?
>>>
>>> I can't believe the hello world workflow has that many problems.. :)
>>>
>>> On 20 June 2015 at 22:57, Menaka Madushanka <menaka12350@gmail.com>
>>> wrote:
>>> > Validation command ----> Done
>>> >
>>> > Usage:
>>> >
>>> > $tavlang validate [options] [args] input_files
>>> >
>>> > options:-
>>> > -l, --log : Save results in a file
>>> >
>>> > Example:-
>>> >
>>> > $tavlang validate
>>> /home/menaka/conv/aaa/workflows/t2flow/helloworld.t2flow
>>> > /home/menaka/conv/aaa/workflows/t2flow/as.t2flow -l
>>> > /home/menaka/conv/aaa.log
>>> >
>>> > The output aaa.log file is attached.
>>> >
>>> > Without options.
>>> >
>>> > $ tavlang validate
>>> /home/menaka/conv/aaa/workflows/t2flow/helloworld.t2flow
>>> > Validation started...
>>> > Validation completed.......
>>> > The workflow helloworld.t2flow has no errors.
>>> >
>>> > The workflow helloworld.t2flow has no errors.
>>> > The validation report for helloworld.t2flow......
>>> > NegativeValueProblems
>>> >
>>> > EmptyIterationStrategyTopNodeProblems
>>> >
>>> > MismatchConfigurableTypeProblems
>>> >
>>> > NonAbsoluteURIProblems
>>> >
>>> > NullFieldProblems
>>> >
>>> > OutOfScopeValueProblems
>>> >
>>> > PortMentionedTwiceProblems
>>> >
>>> > PortMissingFromIterationStrategyStackProblems
>>> >
>>> > WrongParentProblems
>>> >
>>> >
>>> > IncompatibleGranularDepthProblems
>>> >
>>> >
>>> >
>>> > Cheers.
>>> > Menaka
>>> >
>>> >
>>> > On 21 June 2015 at 01:06, Menaka Madushanka <menaka12350@gmail.com>
>>> wrote:
>>> >>
>>> >> No. There is one boolean method 'detectedProblems()' which returns
>>> false
>>> >> if any error detected otherwise true.
>>> >> I'll have to use some regex and pattern matching.
>>> >> :-)
>>> >>
>>> >> On 21 June 2015 at 00:59, Alan Williams <alaninmcr@googlemail.com>
>>> wrote:
>>> >>>
>>> >>> On 20-Jun-15 20:26, Menaka Madushanka wrote:
>>> >>>>
>>> >>>> So, for the tool I'll extract each set and show them in a more
user
>>> >>>> friendly manner?
>>> >>>
>>> >>>
>>> >>> I think so yes. Do they have individual toString methods?
>>> >>>
>>> >>> Alan
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Menaka Madushanka Jayawardena
>>> >> Faculty of Engineering,
>>> >> University of Peradeniyaya.
>>> >> LinkedIn
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Menaka Madushanka Jayawardena
>>> > Faculty of Engineering,
>>> > University of Peradeniyaya.
>>> > LinkedIn
>>>
>>>
>>>
>>> --
>>> Stian Soiland-Reyes
>>> Apache Taverna (incubating), Apache Commons RDF (incubating)
>>> http://orcid.org/0000-0001-9842-9718
>>>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>>
>>
>> --
>> Menaka Madushanka Jayawardena
>> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
>> University of Peradeniyaya.
>> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>>
>
>
>
> --
> Menaka Madushanka Jayawardena
> Faculty of Engineering, <http://www.pdn.ac.lk/eng>
> University of Peradeniyaya.
> LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
>



-- 
Menaka Madushanka Jayawardena
Faculty of Engineering, <http://www.pdn.ac.lk/eng>
University of Peradeniyaya.
LinkedIn <http://lk.linkedin.com/in/menakajayawardena>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message