From 5d0fae9fafe8a5ef123c50d7d760fad7af890a7b Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 12 Jul 2016 10:47:47 +0800 Subject: fit_sbp.py: drop __version__ and __date__ --- fit_sbp.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/fit_sbp.py b/fit_sbp.py index 960cf53..72e18e8 100755 --- a/fit_sbp.py +++ b/fit_sbp.py @@ -7,6 +7,7 @@ # # Change logs: # 2016-07-12: +# * Remove "__version__" and "__date__" # * Use a default config to allow a minimal user config # 2016-07-04: # * Remove unused classes "FitModelSBetaNorm" and "FitModelDBetaNorm" @@ -78,9 +79,6 @@ from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure from configobj import ConfigObj -__version__ = "0.7.0" -__date__ = "2016-05-06" - plt.style.use("ggplot") config_default = """ @@ -774,11 +772,7 @@ def main(): # parser for command line options and arguments parser = argparse.ArgumentParser( description="Fit surface brightness profile with " + - "single-/double-beta model", - epilog="Version: %s (%s)" % (__version__, __date__)) - parser.add_argument("-V", "--version", action="version", - version="%(prog)s " + - "%s (%s)" % (__version__, __date__)) + "single-/double-beta model") parser.add_argument("config", help="Config file for SBP fitting") # exclusive argument group for model selection grp_model = parser.add_mutually_exclusive_group(required=False) -- cgit v1.2.2