def no_param_options_method_dict(optionName):
    """Creates a method dictionary for a module that takes no extra
    parameters. This dictionary will be used to dynamically create a
    VisTrails module.

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

    return {'compute': compute}