Skip to content

Commit

Permalink
don't reformat another long line because it makes the quotes weird
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Nov 1, 2023
1 parent 7b16699 commit 5f6cae8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ def build_from_template(self, output_dir: Path, project_name: str) -> None:
mos_file.save()

# 4: Add the path to the param data with Modelica friendly path names
rel_path_name = f"{
project_name}/{scaffold.districts_path.resources_relative_dir}/{file_to_copy['geojson_id']}/{file_to_copy['save_filename']}"
rel_path_name = f"{project_name}/{scaffold.districts_path.resources_relative_dir}/{file_to_copy['geojson_id']}/{file_to_copy['save_filename']}" # noqa: E501
template_data['building_load_files'].append(f"modelica://{rel_path_name}") # type: ignore

# 5: Calculate the mass flow rates (kg/s) for the heating and cooling networks peak load (in Watts)
Expand Down

0 comments on commit 5f6cae8

Please sign in to comment.