From 122fb33fddb04d8ea9ee92d31b4eb4badececd73 Mon Sep 17 00:00:00 2001
From: Carlos Vega <carlos.vega@uni.lu>
Date: Mon, 5 Nov 2018 10:38:45 +0100
Subject: [PATCH] added default location to study subjects

---
 smash/import_file.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/smash/import_file.py b/smash/import_file.py
index 09cfd160..3b71e032 100644
--- a/smash/import_file.py
+++ b/smash/import_file.py
@@ -386,6 +386,8 @@ def parse_row(index, row, visit_columns, appointmentTypes, voucher_types):
         'exclude_reason': row['REASON.1'],
         'previously_in_study': row['PDP 1.0'],
         'comments': row['COMMENT'],
+        'default_location': location,
+        'flying_team': ft,
         'date_added': parse_column_date_of_birth(row['DATE ADDED (V1)'])
     })
 
-- 
GitLab