diff --git a/Dockerfile b/Dockerfile index f61c403..7142c9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -344,6 +344,7 @@ COPY --chown=polytope --from=gribjump-base-final /root/.local /home/polytope/.lo # Copy python requirements COPY --chown=polytope --from=worker-base /root/.venv /home/polytope/.local + # Install the server source COPY --chown=polytope . /polytope/ diff --git a/polytope_server/common/datasource/polytope.py b/polytope_server/common/datasource/polytope.py index 3f14cd2..460d58e 100644 --- a/polytope_server/common/datasource/polytope.py +++ b/polytope_server/common/datasource/polytope.py @@ -72,16 +72,6 @@ def retrieve(self, request): polytope_mars_config = copy.deepcopy(self.config) polytope_mars_config["options"]["pre_path"] = pre_path - # transforms = [] - # for transform in polytope_mars_config["options"]["axis_config"]: - # if transform["axis_name"] in r.keys(): - # logging.info("Found axis {} in request".format(transform["axis_name"])) - # transforms.append(transform) - # if transform["axis_name"] in ("latitude", "longitude", "values"): - # transforms.append(transform) - - # polytope_mars_config["options"]["axis_config"] = transforms - polytope_mars = PolytopeMars( polytope_mars_config, log_context={