Skip to content

Commit

Permalink
Merge pull request #6 from rslab-ntua/development
Browse files Browse the repository at this point in the history
Fix bug and add python 3.12 to pyproject.toml (#2)
  • Loading branch information
alekfal committed Feb 6, 2024
2 parents 6b932dd + 7f71283 commit 09f9de1
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 09f9de1

Please sign in to comment.