Skip to content

Commit 286866b

Browse files
Dana SinghDana Singh
authored andcommitted
#48 Fix logger bits
1 parent e9271a0 commit 286866b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Jinja2Filters/form_task_parameters.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ def form_task_parameters(grid_type, temporal_type, pp_components_str, yamlfile):
3535
# Check that pp_components defined matches those in the yaml file
3636
# Skip component if they don't match
3737
# skip if pp component not desired
38-
logger.debug(f"Is {comp} in {pp_components}?")
3938
if comp in pp_components:
40-
logger.debug('Yes')
39+
pass
4140
else:
42-
logger.debug('No')
4341
continue
4442

4543
# Set grid type if component has xyInterp defined or not
@@ -58,13 +56,12 @@ def form_task_parameters(grid_type, temporal_type, pp_components_str, yamlfile):
5856
if temporal_type == "static":
5957
#print(comp_info["static"]["freq"])
6058
if "static" not in comp_info.keys():
61-
logger.debug("Skipping static as there is no static source")
59+
logger.debug("Skipping static as there are no static sources defined")
6260
continue
6361

6462
for static_info in comp_info["static"]:
6563
if static_info.get("source") is not None:
6664
results.append(static_info.get("source"))
67-
#results = results + static_info.get("sources")
6865
## to-do: assess offline diagnostics
6966
# elif:
7067
# results = results + static_info.get("offline_sources")

0 commit comments

Comments
 (0)