[vistrails-dev] Best way to specify module port defaults.

David Koop dakoop at cs.utah.edu
Wed Jan 18 16:46:36 EST 2012


Hi Colin,

This is likely a bug in the 2.0 version.  We will look into it.  Thanks for reporting it,

Dave

On Jan 18, 2012, at 12:52 PM, Colin Talbert wrote:

> Hello All, 
>         What's the best way to specify module port default values?  I'm using the code below.  In VisTrails 1.7 when the user moved one of these ports down to change the value the default value was displayed in the input box.  In 2.0 the data entry box is blank and the user doesn't know what the default value was/is.  Is there a new or better means of specifying a default so it's visible to a user? 
> 
>     _input_ports = [('mdsFile', '(gov.usgs.sahm:MergedDataSet:Other)'), 
>                     ('makeBinMap', '(edu.utah.sci.vistrails.basic:Boolean)', {'defaults':str(['True']), 'optional':False}), 
>                     ('makeProbabilityMap', '(edu.utah.sci.vistrails.basic:Boolean)', {'defaults':str(['True']), 'optional':False}), 
>                     ('makeMESMap', '(edu.utah.sci.vistrails.basic:Boolean)', {'defaults':str(['False']), 'optional':False}), 
>                     ('ThresholdOptimizationMethod', '(edu.utah.sci.vistrails.basic:Integer)', {'defaults':str(['2']), 'optional':False}) 
> 
> 
> Thanks, 
> Colin 
> 
> 
> Colin Talbert
> GIS Specialist
> US Geological Survey - Fort Collins Science Center
> 2150 Centre Ave. Bldg. C
> Fort Collins, CO 80526
> 
> (970) 226-9425
> talbertc at usgs.gov
> _______________________________________________
> vistrails-dev mailing list
> vistrails-dev at vistrails.org
> http://lists.vistrails.org/mailman/listinfo/vistrails-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vistrails.org/pipermail/vistrails-dev/attachments/20120118/edc2d4be/attachment.html>


More information about the vistrails-dev mailing list