From eea9acf648c596622ed823e031c26f10ab90d80e Mon Sep 17 00:00:00 2001 From: Mattia Mancini <mancini@astron.nl> Date: Mon, 5 Sep 2022 09:11:30 +0000 Subject: [PATCH] Bug fix remove comma in query --- ldv_migrate/ldv_migrate/migrate_ldvadmin_to_ldvspec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldv_migrate/ldv_migrate/migrate_ldvadmin_to_ldvspec.py b/ldv_migrate/ldv_migrate/migrate_ldvadmin_to_ldvspec.py index 901f274..ceff904 100644 --- a/ldv_migrate/ldv_migrate/migrate_ldvadmin_to_ldvspec.py +++ b/ldv_migrate/ldv_migrate/migrate_ldvadmin_to_ldvspec.py @@ -164,7 +164,7 @@ def main(): query_count_all_raw_dataproducts = "select count(*) from astrowise.raw_dataproducts" query_count_all_pipeline_dataproducts = "select count(*) from astrowise.pl_dataproducts" query_all_required_fields_raw_dataproducts = \ - "select obsid, obsid_source, dp_type, project, activity, uri, size, dysco, antenna_set, instrument_filter, from astrowise.raw_dataproducts order by id {}" \ + "select obsid, obsid_source, dp_type, project, activity, uri, size, dysco, antenna_set, instrument_filter from astrowise.raw_dataproducts order by id {}" \ .format(limit_str) # Create connection using ssh tunnel with the ldvadmin database -- GitLab