Skip to content

Commit 858a129

Browse files
committed
rename HTML report files as index.html
1 parent f688a7e commit 858a129

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

definitions/algorithms/generate_report.README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ such as the 3D models. You have 2 solutions:
1515

1616
Open `about:config` and change the value of `security.fileuri.strict_origin_policy` from `true` to `false`
1717

18-
Then open `report.html`
18+
Then open `index.html`
1919

2020
### Chrome
2121

2222
Execute
2323

2424
```bash
25-
google-chrome report.html --allow-file-access-from-files
25+
google-chrome index.html --allow-file-access-from-files
2626
```
2727

2828
## 2. Launch an HTTP server
@@ -33,7 +33,7 @@ For example with Python:
3333
python3 -m http.server
3434
```
3535

36-
Then open http://0.0.0.0:8000/ with your internet navigator and open `report.html`
36+
Then open http://0.0.0.0:8000/ with your internet navigator
3737

3838
# Sankey diagram
3939

definitions/algorithms/generate_report.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ def main(input_folder: Path, arguments: list):
447447
AG_Grid_rowData=json.dumps(AG_Grid_rowData),
448448
Sankey_diagram_data=json.dumps(Sankey_diagram_data)
449449
)
450-
with open(output_folder / 'report.html','wt') as HTML_output_stream:
451-
logging.info(f'Writing report.html...')
450+
with open(output_folder / 'index.html','wt') as HTML_output_stream:
451+
logging.info(f'Writing index.html...')
452452
HTML_output_stream.write(HTML_report)
453453

454454
# Download Javascript libraries, so the report can be opened offline

0 commit comments

Comments
 (0)