diff --git a/imgcorrect/_version.py b/imgcorrect/_version.py index 1db13ec..008aaa9 100644 --- a/imgcorrect/_version.py +++ b/imgcorrect/_version.py @@ -1 +1 @@ -__version__ = "1.7.2" +__version__ = "1.7.3" diff --git a/imgcorrect/io.py b/imgcorrect/io.py index 31b2bc1..35f7893 100644 --- a/imgcorrect/io.py +++ b/imgcorrect/io.py @@ -82,12 +82,9 @@ def create_image_df(input_path, output_path): image_df = pd.DataFrame() - image_df["image_path"] = ( - glob(input_path + "/**/*.tif", recursive=True) - + glob(input_path + "/**/*.jpg", recursive=True) - + glob(input_path + "/**/*.TIF", recursive=True) - + glob(input_path + "/**/*.JPG", recursive=True) - ) + image_df["image_path"] = glob( + input_path + "/**/*.[Tt][Ii][Ff]", recursive=True + ) + glob(input_path + "/**/*.[Jj][Pp][Gg]", recursive=True) image_df["image_root"] = image_df.image_path.apply(os.path.dirname) image_df["output_path"] = image_df.image_path.str.replace( input_path, output_path, regex=False diff --git a/pyproject.toml b/pyproject.toml index 2c8425c..eb491c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "imgcorrect" -version = "1.7.2" +version = "1.7.3" description = "Library to perform various corrections on imagery from supported sensors" authors = ["Samuel Williams "]