#!/usr/bin/env bash

pushd code
	git clone git@github.com:TheChymera/neuralynx_nwb.git
	pushd neuralynx_nwb/neuralynx_nwb
		git checkout 92e23e91c7e403d166ed5b04409e5a5778f4e01a
		python -c 'import convert; convert.reposit_data(data_dir="../../../", data_selection="M235/M235-2021-07-16/", output_filename="../../../M235/M235-2021-07-16")'
	popd
rm neuralynx_nwb -rf
popd
