Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
afrendeiro committed Nov 28, 2024
1 parent cf292b6 commit bb04165
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 1 deletion.
45 changes: 45 additions & 0 deletions content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion templates/research.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h5>Relevant software</h5>
</li>
<li>
<a rel="datacite:doi" href="https://github.com/marsilea-viz/marsilea">
<b>Marsilea</b>: Declarative creation of composable visualization
<b>Marsilea</b>: Declarative creation of composable visualizations
</a>
</li>
</ul>
Expand Down
59 changes: 59 additions & 0 deletions templates/software.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{# templates/software.html #}

{% extends "template.html" %}

{% block content %}
<div class="row blog-main">
<h3>{{ title }}</h3>
<p>{{ intro }}</p>
<p>{{ content }}</p>
{% for id, soft in software.items() %}
<div class="col-12">
<h4>{{ soft.title }}</h4>
<div class="row">
{% if soft.img is not none %}
<div class="col-6 col-md-3">
{% if soft.img is not none %}
{% if soft.img.startswith('http') %}
<a href="{{ soft.url_gh }}" target="_blank">
<img class="img-responsive" src="{{ soft.img }}" alt="{{ soft.description }}" style="width: 95%; height: auto; display: block">
</a>
{% else %}
<a href="{{ soft.url_gh }}" target="_blank">
<img class="img-responsive" src="{{ static_url }}/img/{{ soft.img }}" alt="{{ soft.description }}" style="width: 95%; height: auto; display: block">
</a>
{% endif %}
{% endif %}
</div>
{% endif %}
{% if soft.img is not none %}
<div class="col-6 col-md-9">
{% else %}
<div class="col-12">
{% endif %}
<h5 class="mb-0">{{ soft.subtitle }}</h5>
{% if soft.description is not none %}
<p class="mb-0">{{ soft.description }}</p>
{% endif %}
<ul class="list-inline">
<li>
<button class="btn btn-default" type="button">
<span class="bi bi-link-45deg"></span>
<strong>Github:</strong> <a href="{{ soft.url_gh }}" target="_blank">{{ soft.url_gh }}</a>
</button>
</li>
<li>
<button class="btn btn-default" type="button">
<span class="bi bi-link-45deg"></span>
<strong>Docs:</strong> <a href="{{ soft.url_docs }}" target="_blank">{{ soft.url_docs }}</a>
</button>
</li>
</ul>
</div>
</div>
<br>
</div>
{% endfor %}
<p>{{ outro }}</p>
</div>
{% endblock content %}
3 changes: 3 additions & 0 deletions templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
<li class="nav-item">
<a class="nav-link" href="/publications/">Publications</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/software/">Software</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contact/">Contact</a>
</li>
Expand Down

0 comments on commit bb04165

Please sign in to comment.