* Fix typos

Found via `codespell -q 3 -L lod,ned,nnumber`

* Fix typo in file name reference
pull/1498/head
luzpaz 2022-07-10 15:02:10 -04:00 zatwierdzone przez GitHub
rodzic d21c5baf64
commit 1bec793f9d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ except ImportError:
run `sudo apt-get install libgdal-dev` \
# Check Gdal version with \
gdal-config --version \
#install correspondig gdal version with pip : \
#install corresponding gdal version with pip : \
pip3 install GDAL==2.4.0")
@ -50,7 +50,7 @@ a Geotif with NDVI, NDRE and GNDVI agricultural indices')
if __name__ == "__main__":
# Supress/hide warning when dividing by zero
# Suppress/hide warning when dividing by zero
numpy.seterr(divide='ignore', invalid='ignore')
rootdir = os.path.dirname(os.path.abspath(__file__))

Wyświetl plik

@ -11,7 +11,7 @@ except ImportError:
run `sudo apt-get install libgdal-dev` \
# Check Gdal version with \
gdal-config --version \
#install correspondig gdal version with pip : \
#install corresponding gdal version with pip : \
pip3 install GDAL==2.4.0")
def parse_args():

Wyświetl plik

@ -307,7 +307,7 @@ def config(argv=None, parser=None):
default=3,
type=float,
help=('Automatically crop image outputs by creating a smooth buffer '
'around the dataset boundaries, shrinked by N meters. '
'around the dataset boundaries, shrunk by N meters. '
'Use 0 to disable cropping. '
'Default: %(default)s'))

Wyświetl plik

@ -96,7 +96,7 @@ class Cropper:
convexhull = geomcol.ConvexHull()
# If buffer distance is specified
# Create two buffers, one shrinked by
# Create two buffers, one shrunk by
# N + 3 and then that buffer expanded by 3
# so that we get smooth corners. \m/
BUFFER_SMOOTH_DISTANCE = 3
@ -185,7 +185,7 @@ class Cropper:
convexhull = geomcol.ConvexHull()
# If buffer distance is specified
# Create two buffers, one shrinked by
# Create two buffers, one shrunk by
# N + 3 and then that buffer expanded by 3
# so that we get smooth corners. \m/
BUFFER_SMOOTH_DISTANCE = 3

Wyświetl plik

@ -18,7 +18,7 @@ class TestCamera(unittest.TestCase):
camera_id = list(c.keys())[0]
self.assertTrue('v2 ' not in camera_id)
self.assertRaises(RuntimeError, camera.get_cameras_from_opensfm, 'tests/assets/nonexistant.json')
self.assertRaises(RuntimeError, camera.get_cameras_from_opensfm, 'tests/assets/nonexistent.json')
self.assertRaises(ValueError, camera.get_cameras_from_opensfm, 'tests/assets/gcp_extras.txt')
self.assertFalse('k1_prior' in c[camera_id])