From 71e98c403bf4373a808f752f76d43a0845257009 Mon Sep 17 00:00:00 2001 From: Christoph Deil Date: Fri, 3 Jul 2015 17:25:20 +0200 Subject: [PATCH] Fix docstring indentation in example script --- examples/make_pull_at_sensitivity_limit.py | 8 ++++---- examples/make_spectrum.py | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/make_pull_at_sensitivity_limit.py b/examples/make_pull_at_sensitivity_limit.py index 9960604..950cb55 100755 --- a/examples/make_pull_at_sensitivity_limit.py +++ b/examples/make_pull_at_sensitivity_limit.py @@ -138,14 +138,14 @@ if __name__ == '__main__': """ Create pull distributions for the energy bands and fluxes given in the file specified in the argument. The file needs to be created using the -cssens script. + cssens script. """ # Get input arguments usage = """ - make_pull_at_sensitivity_limit filename [max_threads] + make_pull_at_sensitivity_limit filename [max_threads] + Run cssens to create the input file. + """ - Run cssens to create the input file. - """ if len(sys.argv) < 2 or len(sys.argv) > 3: print(usage) sys.exit() diff --git a/examples/make_spectrum.py b/examples/make_spectrum.py index 885e432..125ff47 100755 --- a/examples/make_spectrum.py +++ b/examples/make_spectrum.py @@ -33,6 +33,7 @@ except: # =============== # def make_spectrum(): """ + Make a spectrum. """ # Set script parameters model_name = "${CTOOLS}/share/models/crab.xml" -- libgit2 0.21.4