diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-07-12 10:47:47 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-07-12 10:47:47 +0800 |
commit | 5d0fae9fafe8a5ef123c50d7d760fad7af890a7b (patch) | |
tree | 3347f66fe41610ed67d27ed6377250c9419a5ea5 | |
parent | 08623eddfa4520a0147cde030803f20b420b4946 (diff) | |
download | cexcess-5d0fae9fafe8a5ef123c50d7d760fad7af890a7b.tar.bz2 |
fit_sbp.py: drop __version__ and __date__
-rwxr-xr-x | fit_sbp.py | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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) |