diff --git a/autosubmit_api/autosubmit_legacy/job/job_list.py b/autosubmit_api/autosubmit_legacy/job/job_list.py index cba04ffca7600f15e821834bf6f205299e985352..1748ebe5f81443179152aa6ecf54defd9bfb24c4 100644 --- a/autosubmit_api/autosubmit_legacy/job/job_list.py +++ b/autosubmit_api/autosubmit_legacy/job/job_list.py @@ -2374,7 +2374,7 @@ class JobList: # Update Level allJobs = self.get_all() # Validate if the graph data should be updated - graph_drawing_data = ExperimentGraphDrawing(self.expid, BasicConfig).get_validated_data(self.get_all()) + graph_drawing_data = ExperimentGraphDrawing(self.expid).get_validated_data(self.get_all()) if not graph_drawing_data or len(allJobs) > 1000: # print('Start Traverse Update.') start_time = time() diff --git a/autosubmit_api/experiment/common_requests.py b/autosubmit_api/experiment/common_requests.py index 8b746cc349f877fd2ef90d0cf1e3235ab4c718bc..6e47b36eeed958c9736d6b1ccd3ba4c4ab77e4be 100644 --- a/autosubmit_api/experiment/common_requests.py +++ b/autosubmit_api/experiment/common_requests.py @@ -801,17 +801,12 @@ def get_experiment_tree_structured(expid, log): notransitive = False BasicConfig.read() - # TODO: Encapsulate this following 2 lines or move to the parent function in app.py - curr_exp_as_version = db_common.get_autosubmit_version(expid) - main, secondary = common_utils.parse_version_number(curr_exp_as_version) - if main >= "4": - # TODO: new YAML parser - test = 1 - else: - log.info("EXPERIMENT VERSION = " + str(curr_exp_as_version)) - as_conf = AutosubmitConfig(expid, BasicConfig, ConfigParserFactory()) - as_conf.reload() + # TODO: (AUTOSUBMIT 4) Encapsulate this following 2 lines or move to the parent function in app.py + # curr_exp_as_version = db_common.get_autosubmit_version(expid) + # main, secondary = common_utils.parse_version_number(curr_exp_as_version) + as_conf = AutosubmitConfig(expid, BasicConfig, ConfigParserFactory()) + as_conf.reload() # If version is higher than 3.13, we can perform the new tree representation algorithm try: