Skip to content

Commit

Permalink
keep flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
gillins committed Jun 28, 2024
1 parent c914e57 commit 8f0ffff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions parallel_examples/awsbatch/do_stitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,7 @@ def main():

userFunc = getattr(tilingstats, userFuncName)
tilingstats.calcPerSegmentSpatialStatsTiled(img, bandnum,
localDs, colInfo, userFunc, param)

# ensure closed before uploading
del localDs
localOutfile, colInfo, userFunc, param)

# upload the KEA file
s3.upload_file(localOutfile, cmdargs.bucket, cmdargs.outfile)
Expand Down
2 changes: 1 addition & 1 deletion pyshepseg/tilingstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def calcPerSegmentStatsTiledRIOS(imgfile, imgbandnum, segfile,

controls = applier.ApplierControls()
controls.selectInputImageLayers([imgbandnum])
#controls.setWindowSize(tiling.TILESIZE, tiling.TILESIZE)
# controls.setWindowSize(tiling.TILESIZE, tiling.TILESIZE)

# now create a new temporary file for saving the new columns too
tempFileMgr = applier.TempfileManager(controls.tempdir)
Expand Down

0 comments on commit 8f0ffff

Please sign in to comment.