diff --git a/cropmaps/sentinels.py b/cropmaps/sentinels.py index 58d9738..fa790e1 100644 --- a/cropmaps/sentinels.py +++ b/cropmaps/sentinels.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index cff41fd..24286c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"