Skip to content

Commit

Permalink
ignore this line
Browse files Browse the repository at this point in the history
  • Loading branch information
killian-scalian committed Dec 20, 2024
1 parent 0798f13 commit 5c0a910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/andromede/input_converter/src/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from typing import Optional

import yaml
from antares.craft.model.study import Study
from antares.craft.model.study import Study, read_study_local
from pydantic import BaseModel

from andromede.input_converter.src.utils import (
Expand All @@ -29,7 +29,7 @@ def __init__(self, study_path: Optional[Path]):
Initialize processor
"""
self.study_path = resolve_path(study_path) if study_path else None
self.study: Study = None
self.study: Study = read_study_local(self.study_path) if self.study_path else None # type: ignore

def convert_study_to_input_components(self) -> InputComponents:
areas = self.study.read_areas()
Expand Down

0 comments on commit 5c0a910

Please sign in to comment.