From 7b60445887fd1e68542195dae2bd081bf3ace58c Mon Sep 17 00:00:00 2001 From: ejseqera Date: Thu, 25 Apr 2024 19:42:20 -0400 Subject: [PATCH] fix: remove extra logic that remained for some reason --- seqerakit/helper.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/seqerakit/helper.py b/seqerakit/helper.py index 3d02c85..b041230 100644 --- a/seqerakit/helper.py +++ b/seqerakit/helper.py @@ -97,29 +97,10 @@ def parse_all_yaml(file_paths, destroy=False): merged_data[key] = new_value else: merged_data[key] = new_value - except FileNotFoundError: print(f"Error: The file '{file_path}' was not found.") sys.exit(1) - for key, value in data.items(): - if key in merged_data: - try: - merged_data[key].extend(value) - except AttributeError: - merged_data[key] = [merged_data[key], value] - else: - merged_data[key] = value - - for key, value in data.items(): - if key in merged_data: - try: - merged_data[key].extend(value) - except AttributeError: - merged_data[key] = [merged_data[key], value] - else: - merged_data[key] = value - block_names = list(merged_data.keys()) # Define the order in which the resources should be created.