I think the run_mode setting in the application below is a bit misleading, because it doesn't actually set the application to run an illuminator. That is done from the flasher_type parameter in the DB. This line just sets the file name down the road I think.
|
light_emission_config={**app_context.args, "run_mode": "illuminator"}, |
Having this line in the application could confuse users. I think it is better to add that to the config dict inside the class and hide it from the user.
I think the
run_modesetting in the application below is a bit misleading, because it doesn't actually set the application to run an illuminator. That is done from theflasher_typeparameter in the DB. This line just sets the file name down the road I think.simtools/src/simtools/applications/simulate_illuminator.py
Line 132 in 1376590
Having this line in the application could confuse users. I think it is better to add that to the config dict inside the class and hide it from the user.