realtimeradio / ata_snap

FPGA firmware for SNAP boards at the ATA
GNU General Public License v3.0
4 stars 5 forks source link

*+ snap_feng_init def run(), if __main__: run(argparse) #28

Closed radonnachie closed 3 years ago

radonnachie commented 3 years ago

Just like #27: wrap main content in def run(): and argparse if name == 'main'.

I'll be using the snap_feng_init.py as a module in some higher level configuration scripts, so I'd appreciate it taking on the form as is shown in this commit.