From 06a1af9a8ea9be608b452672554fd9f5ef09b3e1 Mon Sep 17 00:00:00 2001 From: Danny Mandel Date: Wed, 29 May 2024 14:16:54 -0700 Subject: [PATCH] Client side of fix for https://github.com/isamplesorg/isamples_inabox/issues/383 -- shouldn't be merged until https://github.com/isamplesorg/isamples_inabox/pull/385/files is deployed --- isamples_export_client/export_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isamples_export_client/export_client.py b/isamples_export_client/export_client.py index c5c01a8..e0e8dcc 100644 --- a/isamples_export_client/export_client.py +++ b/isamples_export_client/export_client.py @@ -368,7 +368,7 @@ def perform_full_download(self): parquet_filename = None if self.is_geoparquet: parquet_filename = write_geoparquet_from_json_lines(filename) - query_string = status_json.get("query").replace("'", "\"") + query_string = json.loads(status_json.get("query")) solr_query_dict = json.loads(query_string) query = solr_query_dict.pop("q") stac_path = self.write_stac(uuid, tstarted, geo_result, temporal_result, query, filename, parquet_filename)