Marco Roos wrote:
> Dear Taverna 2 user/developer,
> 
> I have attached a little workflow that produces an empty lists in three 
> ways: an empty list in the middle of a list of lists, a single (empty) 
> list, and an empty list at the end of a list. The output of this 
> workflow in the results perspective is as follows.
> 
> Empty list in the middle is shown as  'waiting for data'.
> Empty list: nothing
> Empty list at end: nothing (after the list that has items).
> 
> The list sizes suggest that internally empty lists are never lost and I 
> assume remain a genuine part of a list. This seems very properly done to 
> me, but couldn't the output of the worklow reflect this in the results 
> perspective? The apparent discrepancy is a bit confusing for me now.

Just to check I ran this workflow from the platform, the empty lists are 
part of the results so this *is* a display bug. Printout from a console 
workflow listener below:

---
Token 'Token(facade0)[]{t2:list//testNamespace?test0/false/1}' produced 
on 'emptylist'
t2:list//testNamespace?test0/false/1

Token 'Token(facade0)[]{t2:list//testNamespace?test12/false/2}' produced 
on 'emptyatend'
t2:list//testNamespace?test12/false/2
    t2:list//testNamespace?test7/false/1
       t2:ref//testNamespace?test2
        external : string{item1}
       t2:ref//testNamespace?test4
        external : string{item2}
       t2:ref//testNamespace?test5
        external : string{item3}
    t2:list//testNamespace?test10/false/1

Token 'Token(facade0)[]{t2:list//testNamespace?test14/false/2}' produced 
on 'emptyinmiddle'
t2:list//testNamespace?test14/false/2
    t2:list//testNamespace?test8/false/1
       t2:ref//testNamespace?test1
        external : string{item1}
       t2:ref//testNamespace?test6
        external : string{item2}
    t2:list//testNamespace?test9/false/1
    t2:list//testNamespace?test13/false/1
       t2:ref//testNamespace?test11
        external : string{item3}
---

This shows the workflow engine is correctly producing and returning the 
empty lists.

Tom

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
taverna-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-users
Documentation: http://www.mygrid.org.uk/usermanual1.7/
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
Biological Services: http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices

Reply via email to