Skip to content

Commit

Permalink
Merge pull request #575 from legend-exp/ci-fix
Browse files Browse the repository at this point in the history
Fix random CI failures related to tqdm and latest GitHub MacOS runners
  • Loading branch information
gipert authored Apr 25, 2024
2 parents a39be1c + 910feb5 commit e7b7b36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

env:
FORCE_COLOR: 3
TQDM_MININTERVAL: 100
TQDM_DISABLE: yes_please

jobs:
build-and-test:
Expand All @@ -24,7 +24,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macOS-13]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies = [
"scikit-learn",
"scipy>=1.0.1",
"tables",
"tqdm>=4.27",
"tqdm>=4.66",
]
dynamic = [
"version",
Expand Down
4 changes: 2 additions & 2 deletions src/pygama/evt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def find_parameters(

if len(hit_flds) > 0:
hit_ak = lh5.read_as(
f"{ch.replace('/','')}/{f.hit.group}/",
f"{ch.replace('/', '')}/{f.hit.group}/",
f.hit.file,
field_mask=hit_flds,
idx=idx_ch,
Expand All @@ -108,7 +108,7 @@ def find_parameters(

if len(dsp_flds) > 0:
dsp_ak = lh5.read_as(
f"{ch.replace('/','')}/{f.dsp.group}/",
f"{ch.replace('/', '')}/{f.dsp.group}/",
f.dsp.file,
field_mask=dsp_flds,
idx=idx_ch,
Expand Down

0 comments on commit e7b7b36

Please sign in to comment.