Skip to content

Commit 0e85f8c

Browse files
committed
reformat lint compliant
1 parent 5c083be commit 0e85f8c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ost/s1/grd_to_ard.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ def grd_to_ard(filelist, config_file):
102102
for file in filelist:
103103

104104
# unzip for faster import?
105-
#unpack = None
106-
#if Path(file).suffix == ".zip":
105+
# unpack = None
106+
# if Path(file).suffix == ".zip":
107107
# with zipfile.ZipFile(file, "r") as zip_ref:
108108
# zip_ref.extractall(temp)
109109

@@ -127,9 +127,9 @@ def grd_to_ard(filelist, config_file):
127127

128128
config_dict["subset"] = subset
129129

130-
#if unpack:
131-
# h.remove_folder_content(file)
132-
# file.rmdir()
130+
# if unpack:
131+
# h.remove_folder_content(file)
132+
# file.rmdir()
133133

134134
# create list of scenes for full acquisition in
135135
# preparation of slice assembly
@@ -184,10 +184,10 @@ def grd_to_ard(filelist, config_file):
184184
file = filelist[0]
185185

186186
# unzip for faster import
187-
#unpack = None
188-
#if Path(file).suffix == ".zip":
189-
# with zipfile.ZipFile(file, "r") as zip_ref:
190-
# zip_ref.extractall(temp)
187+
# unpack = None
188+
# if Path(file).suffix == ".zip":
189+
# with zipfile.ZipFile(file, "r") as zip_ref:
190+
# zip_ref.extractall(temp)
191191

192192
# file = temp / f"{file.stem}.SAFE"
193193
# unpack = True
@@ -205,9 +205,9 @@ def grd_to_ard(filelist, config_file):
205205
logger.info(error)
206206
return filelist, None, None, error
207207

208-
#if unpack:
209-
# h.remove_folder_content(file)
210-
# file.rmdir()
208+
# if unpack:
209+
# h.remove_folder_content(file)
210+
# file.rmdir()
211211

212212
# set input for next step
213213
infile = grd_import.with_suffix(".dim")

0 commit comments

Comments
 (0)