Commit 71e98c403bf4373a808f752f76d43a0845257009

Authored by Christoph Deil
1 parent 5c53c14a

Fix docstring indentation in example script

examples/make_pull_at_sensitivity_limit.py
... ... @@ -138,14 +138,14 @@ if __name__ == '__main__':
138 138 """
139 139 Create pull distributions for the energy bands and fluxes given in the
140 140 file specified in the argument. The file needs to be created using the
141   -cssens script.
  141 + cssens script.
142 142 """
143 143 # Get input arguments
144 144 usage = """
145   - make_pull_at_sensitivity_limit filename [max_threads]
  145 + make_pull_at_sensitivity_limit filename [max_threads]
  146 + Run cssens to create the input file.
  147 + """
146 148  
147   - Run cssens to create the input file.
148   - """
149 149 if len(sys.argv) < 2 or len(sys.argv) > 3:
150 150 print(usage)
151 151 sys.exit()
... ...
examples/make_spectrum.py
... ... @@ -33,6 +33,7 @@ except:
33 33 # =============== #
34 34 def make_spectrum():
35 35 """
  36 + Make a spectrum.
36 37 """
37 38 # Set script parameters
38 39 model_name = "${CTOOLS}/share/models/crab.xml"
... ...