Skip to content

Commit ecde8ba

Browse files
authored
Merge branch 'main' into dynamic_versions
2 parents f5d027c + 58918dd commit ecde8ba

File tree

7 files changed

+2426
-26
lines changed

7 files changed

+2426
-26
lines changed

.github/workflows/docs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test documentation building (until it's moved to ReadTheDocs)
1+
name: Test documentation building, and publish report to GitHub Pages
22

33
on:
44
push:
@@ -35,6 +35,16 @@ jobs:
3535
run: |
3636
cd docs
3737
sphinx-build -n --keep-going -b html ./ ./_build/
38+
- name: Rename entry point of report to index.html
39+
run: |
40+
mv docs/quarto_report/quarto_report.html docs/quarto_report/index.html
41+
- name: Publish html report to github pages
42+
# Only publish a new static report upon a new release -> can be changed.
43+
if: startsWith(github.ref, 'refs/tags')
44+
uses: peaceiris/actions-gh-pages@v4
45+
with:
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
47+
publish_dir: docs/quarto_report/
3848
# - name: save artifacts
3949
# uses: actions/upload-artifact@v4
4050
# with:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,6 @@ docs/images/UML_diagrams/
127127
docs/images/Graphical_abstract/
128128
docs/images/Nfcore_module_figure
129129
docs/presentations/
130+
docs/example_data/Earth_microbiome_vuegen_demo_notebook_test/
131+
docs/vuegen_case_study_earth_microbiome test.ipynb
130132
test.py

README.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- <div align="center">
22
<img width="300px" src="images/vuegen_logo.svg">
33
</div> -->
4-
![VueGen Logo](docs/images/vuegen_logo.svg)
4+
![VueGen Logo](https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_logo.svg)
55
-----------------
66
<p align="center">
77
VueGen is a Python library that automates the creation of scientific reports.
@@ -26,7 +26,7 @@ An overview of the VueGen workflow is shown in the figure below:
2626
<img width="650px" src="images/vuegen_graph_abstract.png" alt="VueGen overview"/>
2727
</figure>
2828
</p> -->
29-
![VueGen Abstract](docs/images/vuegen_graph_abstract.png)
29+
![VueGen Abstract](https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_graph_abstract.png)
3030

3131
Also, the class diagram for the project is presented below to illustrate the architecture and relationships between classes:
3232

@@ -36,33 +36,32 @@ Also, the class diagram for the project is presented below to illustrate the arc
3636
</figure>
3737
</p> -->
3838

39-
![VueGen Class Diagram](docs/images/vuegen_classdiagram_noattmeth.png)
39+
![VueGen Class Diagram](https://raw.githubusercontent.com/Multiomics-Analytics-Group/vuegen/main/docs/images/vuegen_classdiagram_noattmeth.png)
4040

4141
## Installation
4242

43-
You can install the package for development from this repository by running the following command:
43+
Vuegen is available on [PyPI][vuegen-pypi] and can be installed using pip:
44+
45+
```bash
46+
pip install vuegen
47+
```
48+
49+
You can also install the package for development from this repository by running the following command:
4450

4551
```bash
4652
pip install -e path/to/vuegen # specify location
4753
pip install -e . # in case your pwd is in the vuegen directory
4854
```
4955

50-
This will both install `quarto` and `streamlit` as our backends for report generation.
51-
52-
### Verify quarto installation
56+
### Quarto installation
5357

54-
Test your quarto installation by running the following command:
58+
Vuegen uses [Quarto][quarto] to generate various report types. The pip insallation includes quarto using the [quarto-cli Python library][quarto-cli-pypi]. To test if quarto is installed in your computer, run the following command:
5559

5660
```bash
5761
quarto check
5862
```
5963

60-
If you use conda a conda environement you can install quatro from the conda-forge channel
61-
in case it did not work.
62-
63-
```bash
64-
conda install -c conda-forge quarto
65-
```
64+
If quarto is not installed, you can download the command-line interface from the [Quarto website][quarto-cli] for your operating system.
6665

6766
## Execution
6867

@@ -83,7 +82,15 @@ It's also possible to provide a configuration file instead of a directory:
8382
vuegen --config example_data/Earth_microbiome_vuegen_demo_notebook/Earth_microbiome_vuegen_demo_notebook_config.yaml --report_type streamlit
8483
```
8584

86-
The current report types are streamlit, html, pdf, docx, odt, revealjs, pptx, and jupyter.
85+
The current report types supported by VueGen are:
86+
* Streamlit
87+
* HTML
88+
* PDF
89+
* DOCX
90+
* ODT
91+
* Reveal.js
92+
* PPTX
93+
* Jupyter
8794

8895
## Acknowledgements
8996

@@ -95,10 +102,15 @@ If you have comments or suggestions about this project, you can [open an issue][
95102

96103
[issues]: https://github.com/Multiomics-Analytics-Group/vuegen/issues/new
97104
[streamlit]: https://streamlit.io/
105+
[vuegen-pypi]: https://pypi.org/project/vuegen/
106+
[quarto]: https://quarto.org/
107+
[quarto-cli-pypi]: https://pypi.org/project/quarto-cli/
108+
[quarto-cli]: https://quarto.org/docs/get-started/
98109
[Mona]: https://multiomics-analytics-group.github.io/
99110
[Biosustain]: https://www.biosustain.dtu.dk/
100111
[scriberia]: https://www.scriberia.co.uk/
101112
[turingway]: https://github.com/the-turing-way/the-turing-way
102113
[zenodo-turingway]: https://zenodo.org/records/3695300
114+
[issues]: https://github.com/Multiomics-Analytics-Group/vuegen/issues/new
103115

104116

57.2 KB
Loading
639 KB
Loading

docs/images/vuegen_logo.png

115 KB
Loading

0 commit comments

Comments
 (0)