@@ -378,9 +378,9 @@ def _get_sentinel_import_commands(self, entries):
378
378
for scene in scenes_bands :
379
379
scene_id = scene ["scene_id" ]
380
380
download_cache = f"download_cache_{ scene_id } "
381
- self .temporary_pc_files [
382
- download_cache
383
- ] = self . generate_temp_file_path ( )
381
+ self .temporary_pc_files [download_cache ] = (
382
+ self . generate_temp_file_path ()
383
+ )
384
384
sp = Sentinel2Processing (
385
385
bands = scene ["bands" ],
386
386
download_cache = self .temporary_pc_files [download_cache ],
@@ -835,9 +835,9 @@ def _create_exec_process(self, module_descr):
835
835
file_id = search_string .split ("::" )[1 ]
836
836
# Generate the temporary file path and store it in the dict
837
837
if file_id not in self .temporary_pc_files :
838
- self .temporary_pc_files [
839
- file_id
840
- ] = self . generate_temp_file_path ( )
838
+ self .temporary_pc_files [file_id ] = (
839
+ self . generate_temp_file_path ()
840
+ )
841
841
842
842
param = "%s" % self .temporary_pc_files [file_id ]
843
843
else :
@@ -997,9 +997,9 @@ def _create_module_process_legacy(self, id, module_descr):
997
997
file_id = search_string .split ("::" )[1 ]
998
998
# Generate the temporary file path and store it in the dict
999
999
if file_id not in self .temporary_pc_files :
1000
- self .temporary_pc_files [
1001
- file_id
1002
- ] = self . generate_temp_file_path ( )
1000
+ self .temporary_pc_files [file_id ] = (
1001
+ self . generate_temp_file_path ()
1002
+ )
1003
1003
1004
1004
param = "%s=%s" % (key , self .temporary_pc_files [file_id ])
1005
1005
else :
@@ -1063,9 +1063,9 @@ def _create_module_process_legacy(self, id, module_descr):
1063
1063
# Generate the temporary file path and store it in the
1064
1064
# dict
1065
1065
if file_id not in self .temporary_pc_files :
1066
- self .temporary_pc_files [
1067
- file_id
1068
- ] = self . generate_temp_file_path ( )
1066
+ self .temporary_pc_files [file_id ] = (
1067
+ self . generate_temp_file_path ()
1068
+ )
1069
1069
1070
1070
param = "%s=%s" % (
1071
1071
key ,
@@ -1191,9 +1191,9 @@ def _create_exec_process_legacy(self, id, module_descr):
1191
1191
file_id = search_string .split ("::" )[1 ]
1192
1192
# Generate the temporary file path and store it in the dict
1193
1193
if file_id not in self .temporary_pc_files :
1194
- self .temporary_pc_files [
1195
- file_id
1196
- ] = self . generate_temp_file_path ( )
1194
+ self .temporary_pc_files [file_id ] = (
1195
+ self . generate_temp_file_path ()
1196
+ )
1197
1197
1198
1198
param = "%s" % self .temporary_pc_files [file_id ]
1199
1199
else :
@@ -1264,9 +1264,9 @@ def _add_grass_module_input_parameter_to_list(
1264
1264
file_id = value .split ("::" )[1 ]
1265
1265
# Generate the temporary file path and store it in the dict
1266
1266
if file_id not in self .temporary_pc_files :
1267
- self .temporary_pc_files [
1268
- file_id
1269
- ] = self . generate_temp_file_path ( )
1267
+ self .temporary_pc_files [file_id ] = (
1268
+ self . generate_temp_file_path ()
1269
+ )
1270
1270
param = "%s=%s" % (param , self .temporary_pc_files [file_id ])
1271
1271
elif "::" in value and value .split ("::" )[1 ] in [
1272
1272
"stdout" ,
@@ -1396,9 +1396,9 @@ def _add_grass_module_output_parameter_to_list(
1396
1396
file_id = value .split ("::" )[1 ]
1397
1397
# Generate the temporary file path and store it in the dict
1398
1398
if file_id not in self .temporary_pc_files :
1399
- self .temporary_pc_files [
1400
- file_id
1401
- ] = self . generate_temp_file_path ( )
1399
+ self .temporary_pc_files [file_id ] = (
1400
+ self . generate_temp_file_path ()
1401
+ )
1402
1402
# Store the file path in the output description for export
1403
1403
param = "%s=%s" % (param , self .temporary_pc_files [file_id ])
1404
1404
# Add the temp file path and the new file name with suffix to ,
0 commit comments