Software Carpentry 2019-04-09/2019-04-10 @ ZB MED

  • Link tho this pad: https://hackmd.io/RdxPU4iLRzGncPYJBfbMNw?edit
  • Short link to pad: https://bit.ly/2uxordO
  • workshop homepage :https://zbmed.github.io/2019-04-09-Software-Carpentry-Cologne/
  • Introduction of the instructors and helpers
  • Sticky notes
  • Introduction of the participants
  • Who are the Carpentries
  • Ice breaker - Sort people by the following values:
    • Sort by time time in research
    • Group by research field
    • Considering the course topic - how strong do you feel about knowing this already?
  • Code of Conduct https://software-carpentry.org/conduct/ => Be excellent to each other!
  • Photos and twitter
  • Wifi for external > ZB MED - Schulungsraum, psw: Inet4ZBMED
  • Breaks
  • Coffee/Tea
  • Bathroom
  • Cheat sheet if provided
  • Installations and Github account
  • Material of the course
  • Motivation for the Carpentry workshops
    • Automation
    • Reproducibility / Transparency
    • Empowerment

Participant

  1. write here your name
  2. Jana
  3. Till
  4. Ekaterina (Kati)
  5. Alex
  6. Sonia
  7. Alex
  8. Viki
  9. Sebastian
  10. Ina
  11. Philip
  12. Silvia
  13. Eva

Shell

Python

Lessons

How to run python

In Git Bash

$ winpty <path-to-python-installation-dir>/python.exe

Useful informations

What to do after the SWC-workshop

  • Find a good text editor (the next hacky-hour on the 20th at 14:00 will be based on that)
    1. emacs
    2. vim
    3. spider
    4. atom
    5. pycharm community edition
  • Go through the lessons and try to reproduce them alone
  • Find small tasks you solve on a daily bases and try to solve them using the computation skills you have learned
  • Participate to the hacky-hour
  • Ask around if you have problems (if we can we are always open to help)

Python snippets:

url = "https://raw.githubusercontent.com/OpenAPC/openapc-de/master/data/fuberlin/APC_FU_Berlin_2015.csv"
apc_file = "openapc.csv"

Morning discussion:

Snippet for Challenge

url_and_filename = {"https://raw.githubusercontent.com/OpenAPC/openapc-de/"
"master/data/fuberlin/APC_FU_Berlin_2015.csv" :
"openapc_berlin.csv",

​​​​                "https://raw.githubusercontent.com/OpenAPC/openapc-de/"
​​​​                "master/data/unifrankfurt/open_apc_2018jul-dez_final_enriched.csv" :
​​​​                "openapc_frankfurt.csv",
​​​​                
​​​​                "https://raw.githubusercontent.com/OpenAPC/openapc-de/"
​​​​                "master/data/unimuenster/ULB-Muenster_Open-Access-Fonds_Kosten_2018_enriched.csv" :
​​​​                "openapc_muenster.csv"
​​​​                }

for key, value in url_and_filename.items():
print(key)
print(value)

Python lesson material and solution to the challenge:

https://github.com/Tillsa/Bits_and_pieces_for_the_carpentries_workshops/blob/master/python/Intro_to_pandas_with_OpenAPC_data.ipynb

Select a repo