FqprAction

class HSTB.kluster.fqpr_actions.FqprAction(priority=None, action_type=None, text=None, tooltip_text=None, input_files=None, output_destination=None, function=None, args=None, kwargs=None)

Bases: object

Action class holds the function you are going to run and the arguments, as well as some helpful attributes to describe the action. fqpr_intelligence builds the actions depending on the available files. Functions within the action should always be one of the convenience functions, just to keep everything straight.

fqpr = fully qualified ping record, the term for the datastore in kluster, see fqpr_generation

EX: fqpr_intelligence holds multibeam files that do not exist in the given fqpr instances in the project. fqpr_intelligence builds a new FqprAction that has function=fqpr_convenience.convert_multibeam, with the multibeam files as arguments. The action is executed by fqpr_intelligence.FqprIntel and the files are converted.

Methods Summary

execute()

Run the action.

print_summary()

set(key, value)

Methods Documentation

execute()

Run the action. See gui.kluster_worker.ActionWorker if you are running in gui, will use the worker to run in a thread. Otherwise executed directly by FqprIntel.execute_action (which uses the actioncontainer execute method)

print_summary()
set(key, value)