Advanced Scientific Programming in Pythona Summer School by the G-Node, the Bernstein Center for Computational
Neuroscience Munich and the Graduate School of Systemic Neurosciences
Github repository with code, slides and data
git clone yourusername@python.g-node.org:/home/bartosz/lab_bench
data subdir:cp ~/lab-bench-data/* ~/lab_bench/data
echo "export PYTHONPATH=/home/student/lab_bench/libs" >> ~/.bashrc
source ~/.bashrc
cd lab_bench
git checkout -b MYTEAM_pairwise_correlations
origin (replace MYTEAM with …):git push origin --set-upstream MYTEAM_pairwise_correlations
git checkout master
git pull
git checkout -b MYTEAM_first_workflow
--bin-size of type float and default value of 10) and pass it to calc_corr_coef function. plot_correlations_histogram.py which reads correlation files (given in the first command line argument), plots a histogram and saves it in a file given by --save-fig argument (use plt.savefig) . open_data.py script. plot_correlations_histogram.py to you repositorygit add plot_correlations_histogram.py
origin:git push origin MYTEAM_first_workflow
git checkout master
git pull
git checkout -b MYTEAM_automation
task_merge_correlations.py to dodo.py (located in workflows directory), which merges correlations from all files generated by task_open_data (dependencies) and saves them in new npz file (target).task_plot_correlations_histogram to plot histogram of merged correlationsdoitresults is deleted.origin: git push origin MYTEAM_automation
In case you accidentally overwrote your .bashrc, here is a copy:
bashrc.txt. Download it, move it to your home directory and rename it to .bashrc