Skip to content

Commit 1f5330f

Browse files
committed
🐛 Fix: Add vuegen logo in the footer of reports from url and add small changes to the demo notebook
1 parent 68ee76e commit 1f5330f

File tree

4 files changed

+22
-12
lines changed

4 files changed

+22
-12
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ docs/images/Graphical_abstract/
128128
docs/images/Nfcore_module_figure
129129
docs/presentations/
130130
docs/example_data/Earth_microbiome_vuegen_demo_notebook_test/
131-
docs/vuegen_case_study_earth_microbiome test.ipynb
131+
docs/vuegen_case_study_earth_microbiome_test.ipynb
132132
test.py

docs/vuegen_case_study_earth_microbiome.ipynb

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,18 @@
6565
"metadata": {},
6666
"outputs": [],
6767
"source": [
68-
"# Install required libraries\n",
69-
"%pip install vuegen cartopy seaborn biom-format"
68+
"# Vuegen library \n",
69+
"%pip install vuegen"
70+
]
71+
},
72+
{
73+
"cell_type": "code",
74+
"execution_count": null,
75+
"metadata": {},
76+
"outputs": [],
77+
"source": [
78+
"# Libraries for the notebook\n",
79+
"%pip install cartopy seaborn biom-format"
7080
]
7181
},
7282
{
@@ -1355,7 +1365,7 @@
13551365
"cell_type": "markdown",
13561366
"metadata": {},
13571367
"source": [
1358-
"### 4.2. HTML report"
1368+
"### 4.2. Revealjs report"
13591369
]
13601370
},
13611371
{
@@ -1364,7 +1374,7 @@
13641374
"metadata": {},
13651375
"outputs": [],
13661376
"source": [
1367-
"report_type = \"html\"\n",
1377+
"report_type = \"revealjs\"\n",
13681378
"report_name = \"Earth_microbiome_vuegen_demo_notebook_dir\"\n",
13691379
"\n",
13701380
"# Initialize logger\n",
@@ -1540,7 +1550,7 @@
15401550
"cell_type": "markdown",
15411551
"metadata": {},
15421552
"source": [
1543-
"### 5.6. HTML report with the extended configuration file"
1553+
"### 5.6. Revealjs report with the extended configuration file"
15441554
]
15451555
},
15461556
{
@@ -1550,7 +1560,7 @@
15501560
"outputs": [],
15511561
"source": [
15521562
"# Test the changes by generarating the report from the modified YAML file\n",
1553-
"report_type = \"html\"\n",
1563+
"report_type = \"Revealjs\"\n",
15541564
"report_name = \"Earth_microbiome_vuegen_demo_notebook_config_extended\"\n",
15551565
"\n",
15561566
"# Initialize logger\n",
@@ -1563,7 +1573,7 @@
15631573
],
15641574
"metadata": {
15651575
"kernelspec": {
1566-
"display_name": "vuegen",
1576+
"display_name": "vuegen-IFxaxej_-py3.12",
15671577
"language": "python",
15681578
"name": "python3"
15691579
},
@@ -1577,7 +1587,7 @@
15771587
"name": "python",
15781588
"nbconvert_exporter": "python",
15791589
"pygments_lexer": "ipython3",
1580-
"version": "3.9.21"
1590+
"version": "3.12.6"
15811591
}
15821592
},
15831593
"nbformat": 4,

src/vuegen/quarto_reportview.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _create_yaml_header(self) -> str:
172172
<footer class="footer">
173173
This report was generated with
174174
<a href="https://github.com/Multiomics-Analytics-Group/vuegen" target="_blank">
175-
<img src="../docs/images/vuegen_logo.svg" alt="VueGen" width="65px">
175+
<img src="https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg" alt="VueGen" width="65px">
176176
</a>
177177
| © 2025 <a href="https://github.com/Multiomics-Analytics-Group" target="_blank">Multiomics Network Analytics Group (MoNA)</a>
178178
</footer>""",
@@ -218,7 +218,7 @@ def _create_yaml_header(self) -> str:
218218
<footer class="footer">
219219
This report was generated with
220220
<a href="https://github.com/Multiomics-Analytics-Group/vuegen" target="_blank">
221-
<img src="../docs/images/vuegen_logo.svg" alt="VueGen" width="65px">
221+
<img src="https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg" alt="VueGen" width="65px">
222222
</a>
223223
| © 2025 <a href="https://github.com/Multiomics-Analytics-Group" target="_blank">Multiomics Network Analytics Group (MoNA)</a>
224224
</footer>""",

src/vuegen/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def generate_footer() -> str:
738738
<footer class="footer">
739739
This report was generated with
740740
<a href="https://github.com/Multiomics-Analytics-Group/vuegen" target="_blank">
741-
<img src="../../docs/images/vuegen_logo.svg" alt="VueGen" width="65px">
741+
<img src="https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg" alt="VueGen" width="65px">
742742
</a>
743743
| © 2025 <a href="https://github.com/Multiomics-Analytics-Group" target="_blank">
744744
Multiomics Network Analytics Group (MoNA)

0 commit comments

Comments
 (0)