File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,14 @@ def make_shared_secret(directory):
2222 raise RuntimeError ("Could not parse output of zprocess.makesecret" )
2323
2424
25- def make_labconfig_file (apparatus_name ):
25+ def make_labconfig_file (apparatus_name = None ):
26+ """Create labconfig file from template
27+
28+ Parameters
29+ ----------
30+ apparatus_name: str, optional
31+ Overrides the default apparatus name with the provided one if not None
32+ """
2633
2734 source_path = os .path .join (LABSCRIPT_SUITE_PROFILE , 'labconfig' , 'example.ini' )
2835 target_path = default_labconfig_path ()
@@ -57,6 +64,10 @@ def make_labconfig_file(apparatus_name):
5764 config .write (f )
5865
5966def compile_connection_table ():
67+ """Compile the connection table defined in the labconfig file
68+
69+ The output is placed in the location defined by the labconfig file.
70+ """
6071
6172 try :
6273 import runmanager
@@ -86,6 +97,8 @@ def dummy_callback(success):
8697 print (f'\t Output written to { output_h5_path } ' )
8798
8899def create_profile ():
100+ """Function that defines the labscript-profile-create command
101+ """
89102
90103 # capture CMD arguments
91104 parser = argparse .ArgumentParser (prog = 'labscript-profile-create' ,
You can’t perform that action at this time.
0 commit comments