From bb0416510034769a835bb5feaf41a1ba01658e06 Mon Sep 17 00:00:00 2001 From: "Andre F. Rendeiro" Date: Thu, 28 Nov 2024 17:44:22 +0100 Subject: [PATCH] update --- content.yaml | 45 +++++++++++++++++++++++++++++++ templates/research.html | 2 +- templates/software.html | 59 +++++++++++++++++++++++++++++++++++++++++ templates/template.html | 3 +++ 4 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 templates/software.html diff --git a/content.yaml b/content.yaml index de4f3ad..8448916 100644 --- a/content.yaml +++ b/content.yaml @@ -224,6 +224,51 @@ research: content: "" outro: "" +software: + description: "The software produced by our lab" + title: "Software" + intro: "Software produced and maintained by our lab:" + content: "" + outro: "" + software: + Marsilea: + title: "Marsilea" + subtitle: "Declarative creation of composable visualizations" + description: null + img: https://raw.githubusercontent.com/Marsilea-viz/marsilea/main/img/banner-blue.jpg + url_gh: https://github.com/Marsilea-viz/marsilea + url_docs: https://marsilea.readthedocs.io/ + LazySlide: + title: "LazySlide" + subtitle: "Modular and scalable whole slide image analysis" + description: null + img: https://raw.githubusercontent.com/rendeirolab/LazySlide/main/assets/logo%403x.png + url_gh: https://github.com/RendeiroLab/LazySlide + url_docs: https://lazyslide.readthedocs.io/ + WSIData: + title: "WSIData" + subtitle: "Efficient data structures and IO operations for whole slide images analysis" + description: null + img: https://raw.githubusercontent.com/rendeirolab/WSIData/main/assets/logo%403x.png + url_gh: https://github.com/RendeiroLab/WSIData + url_docs: https://wsidata.readthedocs.io/ + wsi: + title: "wsi" + subtitle: "Python library for processing whole slide images (WSI)" + description: | + A simple Python library for processing whole slide images (WSI) with an object-oriented interface. + It has the goal of doing basic processing of WSIs with reasonable defaults, but high customizability. + img: null + url_gh: https://github.com/RendeiroLab/wsi + url_docs: https://wsi.readthedocs.io/ + cytomine-utils: + title: "cytomine-utils" + subtitle: "Python package for high-level interaction with a Cytomine instance" + description: null + img: null + url_gh: https://github.com/RendeiroLab/cytomine-utils + url_docs: https://cytomine-utils.readthedocs.io/en/latest + team: description: "The team members of the Rendeiro lab" title: "Team" diff --git a/templates/research.html b/templates/research.html index 27c47c6..1372043 100644 --- a/templates/research.html +++ b/templates/research.html @@ -104,7 +104,7 @@
Relevant software
  • - Marsilea: Declarative creation of composable visualization + Marsilea: Declarative creation of composable visualizations
  • diff --git a/templates/software.html b/templates/software.html new file mode 100644 index 0000000..340f05b --- /dev/null +++ b/templates/software.html @@ -0,0 +1,59 @@ +{# templates/software.html #} + +{% extends "template.html" %} + +{% block content %} +
    +

    {{ title }}

    +

    {{ intro }}

    +

    {{ content }}

    + {% for id, soft in software.items() %} +
    +

    {{ soft.title }}

    +
    + {% if soft.img is not none %} +
    + {% if soft.img is not none %} + {% if soft.img.startswith('http') %} + + {{ soft.description }} + + {% else %} + + {{ soft.description }} + + {% endif %} + {% endif %} +
    + {% endif %} + {% if soft.img is not none %} +
    + {% else %} +
    + {% endif %} +
    {{ soft.subtitle }}
    + {% if soft.description is not none %} +

    {{ soft.description }}

    + {% endif %} + +
    +
    +
    +
    + {% endfor %} +

    {{ outro }}

    +
    +{% endblock content %} diff --git a/templates/template.html b/templates/template.html index 67c04c9..0942a33 100644 --- a/templates/template.html +++ b/templates/template.html @@ -111,6 +111,9 @@ +