Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
killian-scalian committed Jan 9, 2025
1 parent 96436e5 commit 8110079
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/andromede/input_converter/src/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
from antares.craft.model.study import Study, read_study_local

from andromede.input_converter.src.utils import resolve_path
from andromede.study.parsing import (InputComponent, InputComponentParameter,
InputStudy)
from andromede.study.parsing import InputComponent, InputComponentParameter, InputStudy


class AntaresStudyConverter:
Expand All @@ -27,7 +26,7 @@ def __init__(self, study_input: Union[Path, Study]):
"""
if isinstance(study_input, Study):
self.study = study_input
self.study_path = study_input.service.config.study_path # type: ignore
self.study_path = study_input.service.config.study_path # type: ignore
else:
self.study = read_study_local(self.study_path)
self.study_path = resolve_path(study_input)
Expand Down

0 comments on commit 8110079

Please sign in to comment.