From: W. Trevor King Date: Thu, 2 Sep 2010 14:12:59 +0000 (-0400) Subject: Remove hooke/plugin/results.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=56c7f14cd3a8d94f2701e69ed20ebb7d78e39a45;p=hooke.git Remove hooke/plugin/results.py. I'm not sure what it was for in the first place. Probably not a great reason to remove it ;), but if it turns out to have been important, we can always bring it back later. --- diff --git a/hooke/plugin/__init__.py b/hooke/plugin/__init__.py index 3654bde..af3dda5 100644 --- a/hooke/plugin/__init__.py +++ b/hooke/plugin/__init__.py @@ -41,8 +41,6 @@ PLUGIN_MODULES = [ # ('multifit', True), # ('pcluster', True), ('polymer_fit', True), -# ('procplots', True), -# ('review', True), # ('showconvoluted', True), # ('superimpose', True), # ('tccd', True), diff --git a/hooke/plugin/results.py b/hooke/plugin/results.py deleted file mode 100644 index e7b67ce..0000000 --- a/hooke/plugin/results.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python - -''' -results.py - -Results commands for Hooke. - -Copyright 2010 by Dr. Rolf Schmidt (Concordia University, Canada) - -This program is released under the GNU General Public License version 2. -''' - -class resultsCommands(object): - ''' - Results commands to show a certain type of results and to clear results - ''' - - def _plug_init(self): - pass - - def do_clear_results(self): - ''' - Deletes all fitting results from the curve. - ''' - plot = self.GetActivePlot() - if plot is not None: - plot.results.clear() - self.UpdatePlot() - - - def do_show_results(self): - ''' - Select which type of result should be displayed on the plot. - ''' - self.results_str = self.GetStringFromConfig('results', 'show_results', 'result_type') - self.UpdatePlot()