From 89a8c13a8ca7060d77335ee98a460974fa6da83b Mon Sep 17 00:00:00 2001 From: landmanbester Date: Thu, 12 Dec 2024 13:57:15 +0200 Subject: [PATCH] remove manual _UNSET_DEFAULT -> None in schema --- pfb/parser/schemas.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pfb/parser/schemas.py b/pfb/parser/schemas.py index feaf4240..c5f6da98 100644 --- a/pfb/parser/schemas.py +++ b/pfb/parser/schemas.py @@ -39,9 +39,9 @@ class _CabInputsOutputs(object): # and a set containing locations of .yaml configs for pfb workers schema = OmegaConf.create(tmp[0]) - # is this still necessary? - for worker in schema.keys(): - for param in schema[worker]['inputs']: - if schema[worker]['inputs'][param]['default'] == _UNSET_DEFAULT: - schema[worker]['inputs'][param]['default'] = None + # # is this still necessary? + # for worker in schema.keys(): + # for param in schema[worker]['inputs']: + # if schema[worker]['inputs'][param]['default'] == _UNSET_DEFAULT: + # schema[worker]['inputs'][param]['default'] = None