Group Name: [Your Group Name]
Authors: Author 1, Author 2, Author 3
The project template was initially developed by Ilia Azizi with main source here.
We use Quarto for the template, which starts from a single report.qmd file and can give several outputs:
- 🌐 HTML report called
report.html - 📑 PDF report called
report.pdf - 📝 Microsoft Word report called
report.docx(you can also directly edit this instead of thereport.qmd)
README.md) very carefully!
-
Install Anaconda (if not already installed)
- Download from anaconda.com
- Follow installation instructions for your OS
-
Install Quarto
- Download from quarto.org
- Verify:
quarto --version - Troubleshooting: Run
quarto checkto diagnose installation issues
-
Install TinyTeX (required for PDF output)
quarto install tinytex
- See Quarto PDF documentation for details
-
Set up project environment
# Clone your repository git clone <your-repo-url> cd dsas_template # Create conda environment with required packages conda create -n dsas_project python=3.11 conda activate dsas_project pip install -r requirements.txt
Setting up conda with Quarto: See this guide for detailed instructions on configuring Quarto to work with your conda environment.
cd report
quarto render report.qmdThis generates HTML/PDF/DOCX files in the same directory.
.
├── data/
│ ├── raw/ # Original data (original data here, then do not modify!)
│ └── processed/ # Cleaned data
├── report/
│ ├── sections/ # Report sections (.qmd files)
│ ├── report.qmd # Main report file
│ └── references.bib # Bibliography
├── src/ # Python modules
└── requirements.txt # Package dependencies
Key rules:
- Never modify files in
data/raw/(ensures reproducibility) - Use clear comments and docstrings in
src/ - Each section in
report/sections/is a separate.qmdfile
Conda manages Python environments to avoid package conflicts.
Basic commands:
# Activate your project environment
conda activate dsas_project
# Install additional packages
pip install package_name
# Deactivate when done
conda deactivate
# List all environments
conda env list- Set random seeds for reproducibility:
np.random.seed(42) - Use version control (Git) and commit regularly
- Write clear commit messages explaining what changed
- Update
.gitignoreto exclude.venv/or__pycache__/ - Document your code thoroughly
- Never commit credentials or large data files
Your project is reproducible if anyone can:
- Clone the repository
- Create conda environment:
conda create -n dsas_project python=3.11 - Activate environment:
conda activate dsas_project - Install dependencies:
pip install -r requirements.txt - Render report:
quarto render report/report.qmd
All results should match exactly.
- Ask during execise sessions.
