From 946a0cfaf597aff15c06e5a9392b53c65d468a92 Mon Sep 17 00:00:00 2001 From: killian-scalian Date: Wed, 8 Jan 2025 17:59:24 +0100 Subject: [PATCH] format black --- src/andromede/input_converter/src/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/andromede/input_converter/src/utils.py b/src/andromede/input_converter/src/utils.py index 05d9caa..3afcfcc 100644 --- a/src/andromede/input_converter/src/utils.py +++ b/src/andromede/input_converter/src/utils.py @@ -1,11 +1,8 @@ from pathlib import Path import yaml -from antares.craft.model.area import Area from pydantic import BaseModel -from andromede.study.parsing import InputComponent, InputComponentParameter - def resolve_path(path_str: Path) -> Path: path = Path(path_str) @@ -15,6 +12,7 @@ def resolve_path(path_str: Path) -> Path: absolute_path = path.resolve() return absolute_path + def transform_to_yaml(model: BaseModel, output_path: str) -> None: with open(output_path, "w", encoding="utf-8") as yaml_file: yaml.dump(