From eb52ed8c8d3cbb8861f5bf258c87ddb2e0674eb2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Oct 2010 03:21:41 -0400 Subject: [PATCH] No need for `if __name__ == '__main__'` in velocity_dependant_scan. bin/vel_dep_scan.py provides access to velocity_dependant_scan.main(). --- pysawsim/velocity_dependant_scan.py | 4 ---- 1 file changed, 4 deletions(-) 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() -- 2.26.2