<commit_before>#
# A Docker image for running neuronal models from Open Source Brain
#
# This image extends the basic "simulationx" image by adding support
# for libraries required for OSB models
#

# Use tagged version of neuralensemble/simulationx, e.g. Python 2, PyNN 0.9.1
#FROM neuralensemble/simulationx:py2_pynn094
# For local testing
FROM neuralensemble/simulationx
MAINTAINER <EMAIL>

USER root

RUN apt-get update
RUN apt-get install -y default-jdk python-tk python-lxml octave maven
RUN apt-get install -y htop libxml2-dev libxslt-dev zlib1g-dev
RUN apt-get install -y python3-setuptools unzip

RUN /bin/bash -c "source ~/env/neurosci/bin/activate"


# Install NeuroML Python libraries

RUN $VENV/bin/pip install git+https://github.com/NeuralEnsemble/libNeuroML.git@development
RUN $VENV/bin/pip install git+https://github.com/NeuroML/NeuroMLlite
RUN $VENV/bin/pip install git+https://github.com/NeuroML/pyNeuroML

###RUN $VENV/bin/pip install matplotlib==2.2.4

# Install OMV

RUN git clone https://github.com/OpenSourceBrain/osb-model-validation.git
RUN cd osb-model-validation && $VENV/bin/python setup.py install && cd -<commit_msg>Use specific pynml<commit_after>#
# A Docker image for running neuronal models from Open Source Brain
#
# This image extends the basic "simulationx" image by adding support
# for libraries required for OSB models
#

# Use tagged version of neuralensemble/simulationx, e.g. Python 2, PyNN 0.9.1
#FROM neuralensemble/simulationx:py2_pynn094
# For local testing
FROM neuralensemble/simulationx
MAINTAINER <EMAIL>

USER root

RUN apt-get update
RUN apt-get install -y default-jdk python-tk python-lxml octave maven
RUN apt-get install -y htop libxml2-dev libxslt-dev zlib1g-dev
RUN apt-get install -y python3-setuptools unzip

RUN /bin/bash -c "source ~/env/neurosci/bin/activate"


# Install NeuroML Python libraries

RUN $VENV/bin/pip install pyNeuroML==0.5.18 # will set versions of libNeuroML, pylems, NeuroMLlite...

###RUN $VENV/bin/pip install matplotlib==2.2.4

# Install OMV

RUN git clone https://github.com/OpenSourceBrain/osb-model-validation.git
RUN cd osb-model-validation && $VENV/bin/python setup.py install && cd -
{'fraction_non_alphanumeric': 0.09613615455381785, 'fraction_numerical': 0.014719411223551058, 'mean_word_length': 4.548469387755102, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2828356', 'n_tokens_mistral': 779, 'n_tokens_neox': 735, 'n_words': 227}