Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
peshence committed Nov 8, 2024
1 parent 26a6aff commit 1b73744
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
10 changes: 0 additions & 10 deletions polytope_server/common/datasource/polytope.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down

0 comments on commit 1b73744

Please sign in to comment.