Skip to content

Instantly share code, notes, and snippets.

View jcfr's full-sized avatar
🎯
Focusing

Jean-Christophe Fillion-Robin jcfr

🎯
Focusing
View GitHub Profile
@jcfr
jcfr / Dockerfile
Last active August 2, 2018 15:20
Manylinux docker file to install libtiff and openslide
#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
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 / slicer_plot_data.py
Last active March 16, 2022 19:30 — forked from ebrahimebrahim/slicer_plot_data.py
use a class to manage the nodes involved in a slicer plot view
# 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: