added test for reqs structuring

This commit is contained in:
PatchOfScotland
2023-02-13 19:34:32 +01:00
parent 6d92ce9fdb
commit 4d29ced83d
4 changed files with 132 additions and 3 deletions

View File

@ -27,7 +27,7 @@ class BasePattern:
outputs:Dict[str,Any]
# A collection of variables to be swept over for job scheduling
sweep:Dict[str,Any]
# TODO Add requirements to patterns
def __init__(self, name:str, recipe:str, parameters:Dict[str,Any]={},
outputs:Dict[str,Any]={}, sweep:Dict[str,Any]={}):
"""BasePattern Constructor. This will check that any class inheriting