Moving job input parameter to new dictionary
The record is reserved for machine updates, should not be set by user.
The jobflow is user entered, so deserves it's own structure
@@ -1733,7 +1733,6 @@ def schema_flowgraph(cfg, step='default', index='default'):
return cfg
-
###########################################################################
# Flow Status
###########################################################################
@@ -1812,6 +1811,36 @@ def schema_flowstatus(cfg, step='default', index='default'):
return cfg
+
+###########################################################################
+# Job flow
+###########################################################################
+
+def schema_jobs (cfg, job='defaut', step='default', index='default'):
+
+ # Flow step min
+ cfg['jobinput'] = {}
+ cfg['jobinput'][job] = {}
+ cfg['jobinput'][job][step] = {}
+ cfg['jobinput'][job][step][index] = {
+ 'switch': "-jobinput 'job step index <str>'",
+ 'type': 'str',
+ 'lock': 'false',
+ 'requirement': None,
+ 'defvalue': None,
+ 'shorthelp': 'Jobname of inputs to current run',
+ 'example': [
+ "cli: -jobinput 'job1 cts 0 job0'",
+ "api: chip.set('jobinput', 'job1', 'cts, '0', 'job0')"],
+ 'help': """
+ Specifies the jobname to copy the inputs from for the current
+ run on a per step and per index basis. During execution,
+ the defaule behavior is to copy inputs from the current job.
+ """
+ }
+
+ return cfg
+
###########################################################################
# Design Hierarchy
###########################################################################
@@ -2818,24 +2847,6 @@ def schema_record(cfg, job='default', step='default', index='default'):
"""
}
- cfg['record'][job][step][index]['jobinput'] = {
- 'switch': "-record_jobinput 'job step index <str>'",
- 'requirement': None,
- 'type': 'str',
- 'defvalue': None,
- 'shorthelp': 'Record of jobname used for input files',
- 'example': [
- "cli: -record_jobinput 'job1 syn 0 job0'",
- "api: chip.set('record','job1','syn','0','jobinput','job0)"],
- 'help': """
- Record tracking the jobname used for copying input files to the
- current execution step/index. For standard flows the jobinput is
- equal to the current jobname. For more complex flows, this
- parameter enables tracking data that flows across different
- jobs.
- """
- }
-
cfg['record'][job][step][index]['author'] = {
'switch': "-record_author 'job step index <str>'",
'type': 'str',
