Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Conversation

@connoraird
Copy link
Contributor

@connoraird connoraird commented Nov 6, 2025

Generate a coverage report of the glass repo from the benchmarks in this repo

  • Add glass as a submodule to allow displaying src files in coveralls

Saransh-cpp and others added 30 commits October 14, 2024 16:58
Single backslash is for latex commands, double backslash is for newline.

Closes: #352
Adding `mypy` to a pre-existing codebase is never easy. I initially
attempted this in #308, but have since split this up into separate
issues:
- [x] #347
- [x] #356
- [ ] #358

In this PR, `mypy` is added but in order for CI to pass, the `# type:
ignore[]` syntax is used throughout. I didn't want to tackle these here
too (see #308) as it gets quite messy.

One thing I have done (following #356) is change every empty
`npt.NDArray` to `npt.NDArray[typing.Any]` (see #330), as this actually
results in fewer errors than leaving them all blank. Ideally, we'd like
to fill in as many of the `typing.Any` as possible - they're a bit
useless by themselves. However, that is not the priority for now. Plus,
I expect typing to change when #67 is tackled.
Fixed:
- missing-trailing-comma
- commented-out-code
- single-line-implicit-string-concatenation
- numpy-legacy-random
- pytest-raises-too-broad

Refs: #248
Increase the tolerance for the test to pass always.

Closes: #363
Adds a `.cff` file and moves the `bib` entry to README.

Closes: #175
Co-authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com>
Co-authored-by: Nicolas Tessore <n.tessore@ucl.ac.uk>
This popped up while I was looking to add tests for `fields.py`.

- rename `gaussian_gls` to `discretized_cls`
- update docstring and internal references
- don't use `gaussian_gls` in `lognormal_gls`

Closes: #131
Changed: `gaussian_gls` has been renamed to `discretized_cls`
Changed: `lognormal_gls` no longer uses `gaussian_gls` internally and
the arguments passed to `gaussian_gls` have been removed
Co-authored-by: Nicolas Tessore <n.tessore@ucl.ac.uk>
The ia_nla function computes the effective convergence from intrinsic
alignments, calculated using the Non-linear Aligments Model (NLA). The
convergence from intrinsic aligments is follows Catelan et al. (2000),
Hirata & Seljak (2004), Bridle & King (2007).

Added: The new `kappa_ia_nla()` function computes an effective
convergence due to Intrinsic Alignments using the NLA model.
Reviewed-by: Nicolas Tessore
Reviewed-by: Arthur Loureiro <arthur.loureiro@fysik.su.se>

---------

Co-authored-by: Nicolas Tessore <n.tessore@ucl.ac.uk>
Co-authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The coverage went down when branch coverage was turned on. This PR
brings it back to 100% for these two files.

Refs: #161
Co-authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com>
Co-authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
Co-authored-by: Nicolas Tessore <n.tessore@ucl.ac.uk>
Co-authored-by: Nicolas Tessore <n.tessore@ucl.ac.uk>
This is the release PR for v2024.2.

Closes: #390
@paddyroddy
Copy link
Member

Closing in favour of glass-dev/glass#769

@paddyroddy paddyroddy closed this Nov 13, 2025
@paddyroddy paddyroddy deleted the connor/issue-7 branch November 13, 2025 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

testing Work is related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants