Python on a lab bench

Github repository with code, slides and data

Lecture

Slides

Lecture notes

Exercises

Data exploration

      git clone yourusername@python.g-node.org:/home/bartosz/lab_bench
      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
      git push origin --set-upstream MYTEAM_pairwise_correlations

Workflow

      git checkout master
      git pull
      git checkout -b MYTEAM_first_workflow
      git add plot_correlations_histogram.py
      git push origin MYTEAM_first_workflow

Automation/batch processing

      git checkout master
      git pull
      git checkout -b MYTEAM_automation
      git push origin MYTEAM_automation
      

.bashrc

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