#NEWLINE# def float_param_options_method_dict( optionName , portName ) : #NEWLINE# #INDENT# 'Creates a method dictionary for a module that has one port taking a\n    floating-point value. This dictionary will be used to dynamically\n    create a VisTrails module.\n\n    ' #NEWLINE# def compute( self ) : #NEWLINE# #INDENT# o = self . create_output_file ( ) #NEWLINE# optionValue = self . get_input ( portName ) #NEWLINE# i = self . input_file_description ( ) #NEWLINE# self . run ( i , optionName , str ( optionValue ) , o . name ) #NEWLINE# self . set_output ( 'output' , o ) #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# 'compute' : compute , #NEWLINE# #UNINDENT# }