diff options
author | Frederick Muriuki Muriithi | 2022-09-12 06:47:32 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-09-12 06:47:32 +0300 |
commit | 9a3df65704c73a325eb13abcdb184c8485736820 (patch) | |
tree | 843f76dc6c397da85c623ab6f837463327d4fee1 /wqflask/base | |
parent | 18f4682a27630bd81eb0b1514476c2cf0f663a63 (diff) | |
download | genenetwork2-9a3df65704c73a325eb13abcdb184c8485736820.tar.gz |
Fix query: remove wrongly-placed comma
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/data_set.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 47c03b06..02e6cefe 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -780,9 +780,9 @@ class DataSet: dataset_type = self.type temp = ['T%s.value' % item for item in sample_ids_step] if self.type == "Publish": - query = "SELECT {}XRef.Id,".format(escape(self.type)) + query = "SELECT {}XRef.Id".format(escape(self.type)) else: - query = "SELECT {}.Name,".format(escape(dataset_type)) + query = "SELECT {}.Name".format(escape(dataset_type)) data_start_pos = 1 query += ', '.join(temp) query += ' FROM ({}, {}XRef, {}Freeze) '.format(*mescape(dataset_type, |