This is more of a basic Python question than ARTIQ one, but my internet search keywords do not seem to be giving me relevant results. I understand that artiq_session
can pass arguments to the master, dashboard, and controller manager, but I am having trouble using it (right). This feature seems very useful, and I wish to be able to use it to my advantage.
I wish to pass the option -g
to the master, and it appears that artiq_session -m -g
does not work. I see from artiq_session.py
that argparse
is used to parse the arguments, so I would think that -g
will be filtered away by argparse
as an option instead of the argument to -m
. If I do something like [-g]
though, the argument that gets passed to artiq_master
will be [-g]
which is not recognized as one of the arguments.
In addition to -g
, I also wish to pass --device-db DEVICE_DB
to the master.
How should I use -m M
, or if we cannot pass options through this, what application is this written for?
Thank you for being patient with me.