Skip to content

Commit

Permalink
Linted code
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Sep 11, 2024
1 parent bc095bc commit 392e164
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions vsi2tif/vsi2tif.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ def main():
parser.add_argument("-i", "--input", help="folder with input files", required=True)
parser.add_argument("-o", "--output", help="folder for output files", required=True)
parser.add_argument("-b", "--bfconvert", help="path to bfconvert tool", required=True)
parser.add_argument("-c", "--compression", help="compression technique for final image - default 'jpeg'", default="jpeg")
parser.add_argument("-s", "--tilesize", help="tile size to use during both conversion steps - default 1024", default=1024)
parser.add_argument("-q", "--quality", help="compression quality used with JPEG compression - default 87", default=87)
parser.add_argument(
"-c", "--compression", help="compression technique for final image - default 'jpeg'", default="jpeg"
)
parser.add_argument(
"-s", "--tilesize", help="tile size to use during both conversion steps - default 1024", default=1024
)
parser.add_argument(
"-q", "--quality", help="compression quality used with JPEG compression - default 87", default=87
)
parser.add_argument("-m", "--max-mem", help="set maximum memory in the java vm - default 32", default=32)
parser.add_argument("-v", "--verbose", help="set verbosity level - default 1", default=1, type=int)
parser.add_argument(
Expand All @@ -26,7 +32,8 @@ def main():
parser.add_argument(
"-p",
"--plane",
help="which image plane to convert image from. If set to -1, all series are converted and the largest is kept - default 0",
help="image plane to convert image from. If set to -1, all series are converted and "
"the largest is kept - default 0",
default=0,
type=int,
)
Expand Down

0 comments on commit 392e164

Please sign in to comment.