forked from M-Labs/artiq
1
0
Fork 0
artiq/artiq
Robert Jördens 1a1afd5410 artiq_run: refactor, support use from within experiments
You can always (under posix) use #!/usr/bin/env artiq_run as
shebang for experiments and make them executable.
Now, you can also do this (portable):

if __name__ == "__main__":
    from artiq.frontend.artiq_run import run
    run()

to make an experiment executable. The CLI options are all inherited.
Also:

* removed --elf: can be inferred from filename
* did some refactoring and cleanup
* use logging for all messages, except the result printing (use -v to get
parameter changes and dummy scheduler actions)
2015-04-04 20:51:48 -06:00
..
coredevice remove gpio driver 2015-04-04 22:06:54 +08:00
devices novatech409b: cleanup 2015-03-25 16:11:11 +01:00
frontend artiq_run: refactor, support use from within experiments 2015-04-04 20:51:48 -06:00
gateware runtime,amp: set kernel memory start to SDRAM+128K, use custom linker file to split memory 2015-04-03 16:03:38 +08:00
gui remove timeout from run_params (to be replaced by a better mechanism) 2015-03-09 10:51:32 +01:00
language db,worker: fix realtime result initialization 2015-03-13 15:12:55 +01:00
master worker_impl: use DBHub as context manager 2015-04-04 20:51:48 -06:00
protocols pc_rpc: trace support in server 2015-02-27 00:17:11 -07:00
py2llvm py2llvm: support conversion of fractions to float 2015-02-18 09:56:07 -07:00
sim language/db: remove implicit_core 2015-03-08 11:37:53 +01:00
test pdq2: spelling fix 2015-04-04 14:26:32 -06:00
transforms transforms/inline: support skipping of attr init 2015-01-29 23:48:03 +08:00
wavesynth [WIP] wavesynth/interpolate: wavesynth programming tools 2015-03-23 20:38:33 -06:00
__init__.py Experiment base class, replace __artiq_unit__ with docstring 2015-03-08 15:55:30 +01:00
tools.py use %(default) in argparse 2015-03-23 20:02:14 +01:00