def float_param_options_method_dict(optionName, portName):

    def compute(self):
        o = self.create_output_file()
        optionValue = self.get_input(portName)
        i = self.input_file_description()
        self.run(i, optionName, str(optionValue), o.name)
        self.set_output("output", o)

    return {'compute': compute}



################################################################################
Compute assortativity for numerical node attributes.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/ImageMagick/init.py/float_param_options_method_dict--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/algorithms/assortativity/correlation.py/numeric_assortativity_coefficient