We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b30cc7e commit 2a7428cCopy full SHA for 2a7428c
src/diffpy/utils/diffraction_objects.py
@@ -374,11 +374,11 @@ def insert_scattering_quantity(
374
raise ValueError(_xtype_wmsg(xtype))
375
376
def _get_original_array(self):
377
- if self._xtype in QQUANTITIES:
+ if self._input_xtype in QQUANTITIES:
378
return self.on_q(), "q"
379
- elif self._xtype in ANGLEQUANTITIES:
+ elif self._input_xtype in ANGLEQUANTITIES:
380
return self.on_tth(), "tth"
381
- elif self._xtype in DQUANTITIES:
+ elif self._input_xtype in DQUANTITIES:
382
return self.on_d(), "d"
383
384
def on_q(self):
0 commit comments