Public Access
27d05496ab9e81dfd370341594afb9f0949c8fca
Accumulation.__neg__ passed y_2 = numpy.array(self.y_square), storing a 2D ndarray. A later __iadd__ on an accumulation with ndarray y_square crashed with AttributeError at the y_square.append sites (992, 1064). - __neg__ now passes a per-channel copy (values unchanged: sums of squares are invariant under negation) - __init__ normalizes ndarray y_2 to a list, so external callers cannot reintroduce the bug - y_square annotated as _YChannels Clears the remaining pyrefly errors at Accumulation.py:992 and :1064 (74 -> 72). Unit tests reproduce both crashes and pass with the fix. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Installing into private directory
=================================
1. Create a venv and include the system-site packages:
`python3 -m venv venv --system-site-packages`
2. Active that venv: `. venv/bin/activate`
3. Install an editable package: `pip install --no-deps -e .`
This will use the system packages already installed.
Alternatively you can install withoout the system-site-packages:
python3 -m venv venv
. venv/bin/activate
pip install -e .
This will download newer packages and install them in the venv.
Using uv
========
Dependicies needed:
sudo apt install libgirepository1.0-dev pkg-config
Then you can start DAMARIS3:
uv run DAMARIS3