Skip to content

Commit

Permalink
Fix bug and add python 3.12 to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
alekfal committed Feb 6, 2024
1 parent ec3b04d commit 7f71283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cropmaps/sentinels.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def calcVI(self, index, store = None, subregion = None, verbose:bool = False, co
setattr(self, index, {self.setResolution(index): {region: os.path.join(self.datapath_10, new_name)}})
else:
try:
getattr(self, index)[self.setResolution(index)][region] = os.path.join(store, new_name)
getattr(self, index)[self.setResolution(index)][region] = os.path.join(self.datapath_10, new_name)
except KeyError:
getattr(self, index).update({self.setResolution(index): {region: os.path.join(self.datapath_10, new_name)}})
return
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",

"Topic :: Scientific/Engineering :: GIS",]

requires-python = ">=3.9"
Expand Down

0 comments on commit 7f71283

Please sign in to comment.