No need for `if __name__ == '__main__'` in velocity_dependant_scan.
authorW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 07:21:41 +0000 (03:21 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 07:21:41 +0000 (03:21 -0400)
bin/vel_dep_scan.py provides access to velocity_dependant_scan.main().

pysawsim/velocity_dependant_scan.py

index b4c9df0906f507dd1d448815c0847c69e8315e3f..787d5e2a40d2e89c75dc5647f73d412b3ced5104 100644 (file)
@@ -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()