This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |