Skip to content

Commit

Permalink
run_path has already been verified to be a Path. Make mypy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Dec 22, 2023
1 parent 43d5a39 commit c629892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geojson_modelica_translator/modelica/modelica_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _copy_over_docker_resources(self, run_path: Path, filename: Union[str, Path,
with open(run_path / 'compile_fmu.mos', 'w') as f:
f.write(template.render(**model_data))

def _subprocess_call_to_docker(self, run_path: Union[str, Path], action: str) -> int:
def _subprocess_call_to_docker(self, run_path: Path, action: str) -> int:
"""Call out to a subprocess to run the command in docker
Args:
Expand Down

0 comments on commit c629892

Please sign in to comment.