Line 14: move import os to the preamble, every time you call this method, it will try to import os
Line 15: I think theres an isdir method that we might want to use instead for confirming directory doesn't exist
Line 19: I suggest os.path.join instead of string addition for the slashes (more robust on different OS)
Line 31: suggest moving this method definition outside of the outer-level method and passing group as an argument (see: scope creep")
Lines 34-35: unneeded line break
Your in-video comments about passing the arguments with a default value of None and then later checking if they are/are not - thats how I usually do it. I don't think overloading the init function will clarify things
qick_tprocv2_experiments_mux/round_robin_benchmark.py
General code housekeeping tips
expt_config
to import the methods/classes by name, this helps users track where things are defined.qick_tprocv2_experiments_mux/section_008_save_data_to_h5.py
import os
to the preamble, every time you call this method, it will try to import osisdir
method that we might want to use instead for confirming directory doesn't existos.path.join
instead of string addition for the slashes (more robust on different OS)group
as an argument (see: scope creep")None
and then later checking if they are/are not - thats how I usually do it. I don't think overloading the init function will clarify things