From 7a14543175b90a067f66fe928ea622a2970317cc Mon Sep 17 00:00:00 2001 From: vsnever Date: Thu, 29 Aug 2024 01:30:56 +0200 Subject: [PATCH] Add atomic_data argument when initialising lineshape in SOLPSLineEmitter. --- cherab/solps/models/line_emitter.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cherab/solps/models/line_emitter.pyx b/cherab/solps/models/line_emitter.pyx index 11c4c10..8092db6 100755 --- a/cherab/solps/models/line_emitter.pyx +++ b/cherab/solps/models/line_emitter.pyx @@ -103,7 +103,7 @@ cdef class SOLPSLineEmitter(PlasmaModel): self._wavelength = self._atomic_data.wavelength(self._line.element, self._line.charge, self._line.transition) # instance line shape renderer - self._lineshape = self._lineshape_class(self._line, self._wavelength, self._target_species, self._plasma, + self._lineshape = self._lineshape_class(self._line, self._wavelength, self._target_species, self._plasma, self._atomic_data, *self._lineshape_args, **self._lineshape_kwargs) def _change(self):