Casper da Costa-Luis

Results 233 issues of Casper da Costa-Luis

- https://docs.conda.io/projects/conda-build/en/stable/resources/define-metadata.html#python-version-independent-packages - https://conda-forge.org/docs/maintainer/knowledge_base/#non-version-specific-python-packages - ~seems not to work as per https://github.com/conda/conda-build/pull/5456#issuecomment-3416833262 (the `conda-test` jobs all forcefully install `python3.10`)~ requires `conda-build>=25.3`

bug

`notebooks/Synergistic/BrainWeb.ipynb` fails during forward projection due to disk (!) space usage on the 32GB disk machines. The lowest-spec workable Codespace is the 8-core (64 GB disk) machine. Possible solutions: -...

![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg) ### Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project. #### Snyk changed the following file(s): - `requirements.txt` ⚠️ Warning ``` equests...

- misc `numpy>=2` safety (fixes #1915) - test numpy 2.* - test astra-toolbox 2.* - bump ccpi-regulariser 25.0.0 - [ ] bump tomophantom - [ ] bump tigre - [x]...

help wanted

Fix failing CI due to redundant numpy builds no longer needed after #2156. Also saves ~1h GHA CI usage per merge.

enhancement
gh-actions

- tests: use [`X = pytest.importorskip("X")`](https://docs.pytest.org/en/4.6.x/reference.html#pytest-importorskip) - elsewhere: + delay imports + or `try: import X; except ImportError: X = None` if needed (e.g. for `version.py`) - deprecate `has_X =...

enhancement

Docker builds are suddenly failing with: ```py File "/opt/conda/lib/python3.11/site-packages/cil/io/utilities.py", line 21, in import h5py File "/opt/conda/lib/python3.11/site-packages/h5py/__init__.py", line 25, in from . import _errors ImportError: libnl-3.so.200: cannot open shared object file:...

bug
help wanted
gh-actions

Now that #1314 is merged, we should [^discussion]: - change `as_array` -> `asarray` as far as possible - possibly add a default argument `as_array(..., warn=True)` - manually invoke `as_array(..., warn=False)`...

enhancement

One place to keep track of dependencies - [ ] https://github.com/SyneRBI/SIRF/pull/1313 @evgueni-ovtchinnikov - [x] https://github.com/UCL/STIR/pull/1549 - [ ] ~https://github.com/SyneRBI/SIRF/pull/1318~ #1332 @evgueni-ovtchinnikov - [x] https://github.com/SyneRBI/SIRF/pull/1314 @casperdcl - [x] https://github.com/SyneRBI/SIRF/pull/1317 @casperdcl -...

enhancement
in-progress
STIR
SIRF/CIL integration
design

We should not be using `os.system` in [`examples/Python/PET/run_all.py`](https://github.com/SyneRBI/SIRF/blob/master/examples/Python/PET/run_all.py). At a minimum we should use `subprocess.check_output` or even better just `pytest` (instead of reinventing a testing framework).

enhancement