Skip to content

Commit cd9795f

Browse files
Remove redundant comments
1 parent eed68d8 commit cd9795f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/imcflibs/imagej/misc.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,11 +731,11 @@ def save_script_parameters(destination, save_file_name="script_parameters.txt"):
731731
destination = str(destination)
732732
out_path = os.path.join(destination, save_file_name)
733733

734-
# Access script metadata and parameter map
734+
# Access script metadata and inputs
735735
script_info = module.getInfo()
736736
inputs = module.getInputs()
737737

738-
# Keys to skip explicitly (case-insensitive match)
738+
# Keys to skip explicitly
739739
skip_keys = ["USERNAME", "SJLOG", "COMMAND", "RM"]
740740

741741
with open(out_path, "w") as f:
@@ -751,7 +751,6 @@ def save_script_parameters(destination, save_file_name="script_parameters.txt"):
751751
if style is not None and style.lower() == "password":
752752
continue
753753

754-
# Write all other parameters
755754
if inputs.containsKey(key):
756755
val = inputs.get(key)
757756
f.write("%s: %s\n" % (key, str(val)))

0 commit comments

Comments
 (0)