Skip to content

Commit 741bd6d

Browse files
committed
update poetry version and remove unused code
1 parent bc98665 commit 741bd6d

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/build-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
POETRY_VERSION: "1.8.1"
13+
POETRY_VERSION: "2.2.1"
1414
PYTHON_VERSION: "3.12"
1515
REGISTRY: ghcr.io
1616
IMAGE_NAME: ${{ github.repository }}

.github/workflows/release-created.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install Poetry
2626
uses: abatilo/actions-poetry@v4
2727
with:
28-
poetry-version: 1.8.1
28+
poetry-version: 2.2.1
2929
- name: Bump minor version
3030
run: |
3131
poetry version ${GITHUB_REF#refs/heads/release/}

podaac/merger/merge_worker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ def resize_var(var: nc.Variable, var_info, max_dims: dict) -> np.ndarray:
322322
323323
Returns
324324
-------
325-
326325
np.ndarray
327326
An ndarray containing the resized data
328327
"""

podaac/merger/preprocess_worker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import netCDF4 as nc
1111
import numpy as np
1212

13-
from podaac.merger.path_utils import get_group_path # collapse_dims
13+
from podaac.merger.path_utils import get_group_path
1414
from podaac.merger.variable_info import VariableInfo
1515

1616

@@ -249,8 +249,6 @@ def _run_multi_core(file_list: list[Path],
249249
# Merge history_json entries from input files
250250
history_json.extend(result['history_json'])
251251

252-
# max_dims = collapse_dims(max_dims)
253-
254252
history_json.append(construct_history(file_list, granule_urls))
255253
group_metadata[group_list[0]]['history_json'] = json.dumps(
256254
history_json,

0 commit comments

Comments
 (0)