Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Jean-Christophe Fillion-Robin jcfr

🎯
Focusing
View GitHub Profile
@jcfr
jcfr / slicer_plot_data.py
Last active Mar 16, 2022 — forked from ebrahimebrahim/slicer_plot_data.py
use a class to manage the nodes involved in a slicer plot view
View slicer_plot_data.py
# To try this example, save this to a file slicer_plot_data.py, then execute Slicer from the command line
# with the arguments `--python-script slicer_plot_data.py`.
import qt
import vtk
import slicer
class SlicerPlotData:
View maker_layer_structures.py
from allensdk.api.queries.rma_api import RmaApi
import allensdk.core.json_utilities as ju
all_structs = []
root = RmaApi().model_query("Structure", criteria="[graph_id$eq1],[acronym$eqgrey]")[0]
all_structs.append(root)
@jcfr
jcfr / Dockerfile
Last active Aug 2, 2018
Manylinux docker file to install libtiff and openslide
View Dockerfile
#FROM quay.io/pypa/manylinux1_x86_64
FROM dockcross/manylinux-x64
# FROM quay.io/pypa/manylinux1_i686
# Includes glibc 2.5
RUN mkdir /build
WORKDIR /build
RUN yum install -y \
# for easier development