Sharing your paradigms at WIN: a practical introduction
Wellcome Centre for Integrative Neuroimaging, University of Oxford
Instructors:
Laurence Hunt, Dejan Draschkow, and Cass Gould van Praag
General Information
WIN is committed to developing an open science community with a positive culture for sharing data, tasks, tools and protocols. A key part of this is training up WIN members to be able to share effectively.
This training will focus on task sharing at WIN. It will teach researchers to:
use the WIN GitLab as a platform for hosting your tasks, and either sharing them publicly or just within WIN
create their first repository that contains their task, add a license and make a simple readme
understand the main motivations for sharing tasks, and address any concerns they may have about task sharing
This workshop was developed using a template designed by the UK reproducibility network (UKRN).
Other UKRN Open Research topics can be found in the list of UKRN Primers.
Requirements
Participants must have access to a computer with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.).
They must have a WIN IT account that allows them to sign into the WIN GitLab pages. Please visit https://register.fmrib.ox.ac.uk/ to register for an account. General advice on using the WIN Gitlab server can be found on the WIN Intranet.
Participants should bring a task that they wish to share with other researchers. This can be written using any program (PsychoPy, Psychtoolbox, Presentation, etc.) (n.b. this need not be a finalised version of the task, or a ‘polished’ version. Any version of the task is suitable.)
Accessibility
We are committed to making this workshop accessible to everybody. Please notify the instructors in advance of the workshop if there is anything we can do to make this workshop more accessible to you.
Contact:
Please email the instructors for more information.
The instructors' emails are:
Everyone who participates in UKRN activities is required to conform to the UKRN Code of Conduct. This document also outlines how to report an incident if needed.
Surveys
Please be sure to complete these surveys before and after the workshop.
Make your own repository (part 1)
Start to create a simple repository for your task, put a copy of the current version of your task in the repository, and make a simple readme file
To participate in a Sharing your paradigms at win: a practical introduction
workshop,
you will need access to the software described below.
In addition, you will need an up-to-date web browser.
The Carpentries maintain a list of common issues that occur during installation as a reference for instructors
that may be useful on the
Configuration Problems and Solutions wiki.
Git
Git is a version control system that lets you track who made changes
to what when and has options for easily updating a shared or public
version of your code
on the WIN GitLab server (or alternatively, on github.com). You will need a
supported
web browser.
You will need an account on the WIN GitLab Server
for parts of the Git lesson. If you have a WIN IT account, you automatically have a WIN GitLab account created with the same username/password. We encourage
you to create an account if you don't have one already.
Click on "Next" four times (two times if you've previously
installed Git). You don't need to change anything
in the Information, location, components, and start menu screens.
From the dropdown menu select "Use the Nano editor by default" (NOTE: you will need to scroll up to find it) and click on "Next".
On the page that says "Adjusting the name of the initial branch in new repositories", ensure that
"Let Git decide" is selected. This will ensure the highest level of compatibility for our lessons.
Ensure that "Git from the command line and also from 3rd-party software" is selected and
click on "Next". (If you don't do this Git Bash will not work properly, requiring you to
remove the Git Bash installation, re-run the installer and to select the "Git from the
command line and also from 3rd-party software" option.)
Ensure that "Use the native Windows Secure Channel Library" is selected and click on "Next".
Ensure that "Checkout Windows-style, commit Unix-style line endings" is selected and click on "Next".
Ensure that "Use Windows' default console window" is selected and click on "Next".
Ensure that "Default (fast-forward or merge) is selected and click "Next"
Ensure that "Git Credential Manager Core" is selected and click on "Next".
Ensure that "Enable file system caching" is selected and click on "Next".
Click on "Install".
Click on "Finish" or "Next".
If your "HOME" environment variable is not set (or you don't know what this is):
Open command prompt (Open Start Menu then type cmd and press Enter)
Type the following line into the command prompt window exactly as shown:
setx HOME "%USERPROFILE%"
Press Enter, you should see SUCCESS: Specified value was saved.
Quit command prompt by typing exit then pressing Enter
This will provide you with both Git and Bash in the Git Bash program.
Video Tutorial
For macOS, install Git for Mac
by downloading and running the most recent "mavericks" installer from
this list.
Because this installer is not signed by the developer, you may have to
right click (control click) on the .pkg file, click Open, and click
Open on the pop up window.
After installing Git, there will not be anything in your /Applications folder,
as Git is a command line program.
For older versions of OS X (10.5-10.8) use the
most recent available installer labelled "snow-leopard"
available here.
Video Tutorial
If Git is not already available on your machine you can try to
install it via your distro's package manager. For Debian/Ubuntu run
sudo apt-get install git and for Fedora run
sudo dnf install git.