Skip to content

Commit

Permalink
fix: resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
HansVRP committed Jun 11, 2024
1 parent 8276b11 commit 4cbffc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/openeo_gfmap/features/feature_extractor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Feature extractor functionalities. Such as a base class to assist the
implementation of feature extractors of a UDF.
"""

import functools
import inspect
import logging
Expand Down Expand Up @@ -80,7 +81,6 @@ def extract_dependencies(cls, base_url: str, dependency_name: str) -> str:

return abs_path


def _common_preparations(
self, inarr: xr.DataArray, parameters: dict
) -> xr.DataArray:
Expand All @@ -97,7 +97,7 @@ def _common_preparations(
def epsg(self) -> int:
"""Returns the EPSG code of the datacube."""
return self._epsg

@epsg.setter
def epsg(self, value: int):
self._epsg = value
Expand All @@ -115,7 +115,6 @@ def dependencies(self) -> list:
)
return []


@abstractmethod
def output_labels(self) -> list:
"""Returns a list of output labels to be assigned on the output bands,
Expand Down
1 change: 1 addition & 0 deletions src/openeo_gfmap/inference/model_inference.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Inference functionalities. Such as a base class to assist the implementation
of inference models on an UDF.
"""

import functools
import inspect
import logging
Expand Down
1 change: 1 addition & 0 deletions tests/test_openeo_gfmap/test_model_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from pathlib import Path

import numpy as np
import pytest
import rasterio
from openeo.udf import XarrayDataCube

Expand Down

0 comments on commit 4cbffc6

Please sign in to comment.