Skip to content
Snippets Groups Projects
Commit 37c1b3c8 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

cli: use Struct.to_txt interface for dump command

parent bd488335
No related branches found
No related tags found
No related merge requests found
from __future__ import print_function
import signal
import argparse
import numpy as np
......@@ -72,8 +73,8 @@ def main():
ifo = load_ifo(args.IFO)
if args.dump:
for k,v in sorted(ifo.walk()):
print('{:50} {}'.format(k,v))
ifo = precompIFO(ifo)
print(ifo.to_txt(), end='')
return
freq = np.logspace(np.log10(args.flo), np.log10(args.fhi), args.npoints)
......
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