Skip to content
Snippets Groups Projects
Commit 1db27afb authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

gstlal_inspiral: moved docstring to top, reused in OptionParser description

parent 0cc354fc
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""Stream-based inspiral analysis tool"""
#
......@@ -59,7 +60,7 @@ from pylal.xlal.datatypes.snglinspiraltable import from_buffer as sngl_inspirals
def parse_command_line():
parser = OptionParser(
description = "Stream-based inspiral analysis tool"
description = __doc__
)
parser.add_option("--frame-cache", metavar = "filename", help = "Set the name of the LAL cache listing the LIGO-Virgo .gwf frame files (optional). This is required unless --fake-data or --online-data is used in which case it must not be set.")
parser.add_option("--online-data", action = "store_true", help = "Use online DMT-STRAIN instead of a frame file (optional).")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment