From 8e7b08e66f4a929f6ed497cf6e49e43ff08a2c70 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Fri, 17 Apr 2020 15:27:14 +0200
Subject: [PATCH] TMSS: adapted for test observation

---
 SAS/TMSS/src/tmss/tmssapp/populate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SAS/TMSS/src/tmss/tmssapp/populate.py b/SAS/TMSS/src/tmss/tmssapp/populate.py
index 511a891c6ed..ab21fd14236 100644
--- a/SAS/TMSS/src/tmss/tmssapp/populate.py
+++ b/SAS/TMSS/src/tmss/tmssapp/populate.py
@@ -208,7 +208,7 @@ def _populate_example_data():
 
         subtask_output = models.SubtaskOutput.objects.create(**SubtaskOutput_test_data(subtask=subtask))
         for sb_nr in specifications_doc['stations']['digital_pointings'][0]['subbands']:
-            models.Dataproduct = models.Dataproduct.objects.create(**Dataproduct_test_data(producer=subtask_output, filename="test_dataproduct_SB_%03d.MS"%sb_nr))
+            models.Dataproduct.objects.create(**Dataproduct_test_data(producer=subtask_output, filename="test_dataproduct_SB_%03d.MS"%sb_nr))
     except ImportError:
         pass
 
-- 
GitLab