Skip to content

Commit 169a8b1

Browse files
committed
🎨 change to directory based execution
1 parent 3665bf1 commit 169a8b1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/vuegen_demo.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
"outputs": [],
5353
"source": [
5454
"# Load the YAML configuration file with the report metadata\n",
55-
"config_path = \"example_data/MicW2Graph/report_config_micw2graph.yaml\"\n",
56-
"report_config = load_yaml_config(config_path)\n",
57-
"report_config"
55+
"dir_path = \"example_data/MicW2Graph/\""
5856
]
5957
},
6058
{
@@ -65,19 +63,19 @@
6563
"source": [
6664
"# Define logger suffix based on report engine, type and name\n",
6765
"report_type = \"html\"\n",
68-
"report_name = report_config['report'].get('name')\n",
66+
"report_name = \"example_report\"\n",
6967
"\n",
7068
"# Initialize logger\n",
7169
"logger = get_logger(f\"{report_type}_report_{report_name}\")\n",
7270
"\n",
7371
"# Generate the report\n",
74-
"report_generator.get_report(config_path = config_path, report_type = report_type, logger = logger)"
72+
"report_generator.get_report(dir_path=dir_path, report_type=report_type, logger=logger)"
7573
]
7674
}
7775
],
7876
"metadata": {
7977
"kernelspec": {
80-
"display_name": "vuegen",
78+
"display_name": "Python 3",
8179
"language": "python",
8280
"name": "python3"
8381
},

0 commit comments

Comments
 (0)