Skip to content

Commit

Permalink
older ubuntu to build in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dkazanc committed Sep 7, 2023
1 parent 5f0e7ab commit 82b6e7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

defaults:
run:
Expand All @@ -33,7 +33,7 @@ jobs:

- name: Build and upload the package to httomo conda cloud
env:
LABEL: main
LABEL: dev
run: |
chmod +x ./.scripts/conda_upload.sh
./.scripts/conda_upload.sh
Expand Down
1 change: 0 additions & 1 deletion httomolibgpu/recon/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def FBP(
center = data.shape[2] // 2 # making a crude guess
if objsize is None:
objsize = data.shape[2]

RecToolsCP = RecToolsDIRCuPy(DetectorsDimH=data.shape[2], # Horizontal detector dimension
DetectorsDimV=data.shape[1], # Vertical detector dimension (3D case)
CenterRotOffset=data.shape[2] / 2 - center - 0.5, # Center of Rotation scalar or a vector
Expand Down

0 comments on commit 82b6e7e

Please sign in to comment.