From: W. Trevor King Date: Wed, 20 Oct 2010 07:21:41 +0000 (-0400) Subject: No need for `if __name__ == '__main__'` in velocity_dependant_scan. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb52ed8c8d3cbb8861f5bf258c87ddb2e0674eb2;p=sawsim.git No need for `if __name__ == '__main__'` in velocity_dependant_scan. bin/vel_dep_scan.py provides access to velocity_dependant_scan.main(). --- diff --git a/pysawsim/velocity_dependant_scan.py b/pysawsim/velocity_dependant_scan.py index b4c9df0..787d5e2 100644 --- a/pysawsim/velocity_dependant_scan.py +++ b/pysawsim/velocity_dependant_scan.py @@ -281,7 +281,3 @@ def main(): #hm.fit(initial_params) hm.plot(param_ranges, logx=options.logx, logy=options.logy, contour=options.contour_plot) - - -if __name__ == "__main__": - main()