Following the modification to AbstractFittingTool for embl fitting tool,
the line fitting tool failed: replace by the correct getFunction method