Template Training

Setup

Using notebooks.azure.com clone the library for this lesson.

We need to prepare the library for the lesson. First launch a terminal from notebooks (see: https://arc-lessons.github.io/intro-linux/02_linux_bath.html) and navigate to the directory containing the necessary files with:

% cd libra./data

Now we need to unzip the files in the folder. We can do this with:

% unzip testing_codes.zip

after doing this should end up with a new folder called code, you can verify this with ls. To get started, create a new directory my_testing and change into it with:

% mkdir my_testing
% cd my_testing

Alternative Setup

If you are not using notebooks.azure.com then in preparation for this lesson, you will need to download two zipped files and place them in the specified folder:

  1. Make a new folder in your working directory, the H-drive, called intro-testing.
  2. Download testing_codes.zip and move the file to this folder.
  3. Download solutions.zip and move the file to this folder.

These files are zipped (to make it faster to download) so need to be unzipped. Open your linux terminal, e.g. linux.bath.ac.uk through xming, navigate to the directory containing the file you downloaded and unzip it using the following commands:

% cd intro-testing/
% unzip testing_codes.zip

You should end up with a new folder called code. To get started, create a new directory my_testing and change into it with:

% mkdir my_testing
% cd my_testing

We will be using the IPython interpreter for this lesson, on linux.bath.ac.uk this is launched by typing the command:

% ipython3

This Python interpreter can be installed on your own computer using this link install Anaconda. This also includes the Jupyter notebook functionality an exciting way of producing reproducible data analysis.