forked from M-Labs/artiq
novatech409b: cleanup
This commit is contained in:
parent
a6316c8fee
commit
5ca5a3602e
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
# Written by Joe Britton, 2015
|
||||
|
||||
import time
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Written by Joe Britton, 2015
|
||||
|
||||
import argparse
|
||||
import importlib
|
||||
import logging
|
||||
|
||||
from artiq.devices.novatech409b.driver import Novatech409B
|
||||
|
@ -16,8 +15,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
def get_argparser():
|
||||
parser = argparse.ArgumentParser(
|
||||
description="ARTIQ controller for the Novatech"
|
||||
" 409B 4-channel DDS box")
|
||||
description="ARTIQ controller for the Novatech 409B 4-channel DDS box")
|
||||
simple_network_args(parser, 3254)
|
||||
parser.add_argument(
|
||||
"-d", "--device", default=None,
|
||||
|
@ -25,6 +23,7 @@ def get_argparser():
|
|||
verbosity_args(parser)
|
||||
return parser
|
||||
|
||||
|
||||
def main():
|
||||
args = get_argparser().parse_args()
|
||||
init_logger(args)
|
||||
|
|
Loading…
Reference in New Issue