Skip to content

Commit 97182e3

Browse files
committed
👷 CI: Add html report code and results to build report example web page
1 parent 1f5330f commit 97182e3

File tree

1 file changed

+48
-1
lines changed

1 file changed

+48
-1
lines changed

docs/vuegen_case_study_earth_microbiome.ipynb

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,29 @@
13841384
"report_generator.get_report(dir_path = base_output_dir, report_type = report_type, logger = logger)"
13851385
]
13861386
},
1387+
{
1388+
"cell_type": "markdown",
1389+
"metadata": {},
1390+
"source": [
1391+
"### 4.3. HTML report"
1392+
]
1393+
},
1394+
{
1395+
"cell_type": "code",
1396+
"execution_count": null,
1397+
"metadata": {},
1398+
"outputs": [],
1399+
"source": [
1400+
"report_type = \"hml\"\n",
1401+
"report_name = \"Earth_microbiome_vuegen_demo_notebook_dir\"\n",
1402+
"\n",
1403+
"# Initialize logger\n",
1404+
"logger = get_logger(f\"{report_type}_report_{report_name}\")\n",
1405+
"\n",
1406+
"# Generate the report\n",
1407+
"report_generator.get_report(dir_path = base_output_dir, report_type = report_type, logger = logger)"
1408+
]
1409+
},
13871410
{
13881411
"cell_type": "markdown",
13891412
"metadata": {},
@@ -1560,7 +1583,31 @@
15601583
"outputs": [],
15611584
"source": [
15621585
"# Test the changes by generarating the report from the modified YAML file\n",
1563-
"report_type = \"Revealjs\"\n",
1586+
"report_type = \"revealjs\"\n",
1587+
"report_name = \"Earth_microbiome_vuegen_demo_notebook_config_extended\"\n",
1588+
"\n",
1589+
"# Initialize logger\n",
1590+
"logger = get_logger(f\"{report_type}_report_{report_name}\")\n",
1591+
"\n",
1592+
"# Generate the report\n",
1593+
"report_generator.get_report(config_path = config_path, report_type = report_type, logger = logger)"
1594+
]
1595+
},
1596+
{
1597+
"cell_type": "markdown",
1598+
"metadata": {},
1599+
"source": [
1600+
"### 5.7. HTML report with the extended configuration file"
1601+
]
1602+
},
1603+
{
1604+
"cell_type": "code",
1605+
"execution_count": null,
1606+
"metadata": {},
1607+
"outputs": [],
1608+
"source": [
1609+
"# Test the changes by generarating the report from the modified YAML file\n",
1610+
"report_type = \"html\"\n",
15641611
"report_name = \"Earth_microbiome_vuegen_demo_notebook_config_extended\"\n",
15651612
"\n",
15661613
"# Initialize logger\n",

0 commit comments

Comments
 (0)