wright-group / yaqc-cmds

A qt-based graphical client for yaq with a focus on coherent multidimensional spectroscopy in the Wright Group.
MIT License
7 stars 4 forks source link

acquisitions fail to process when an axis is OPA = monochromator #385

Closed DLafayetteII closed 3 years ago

DLafayetteII commented 3 years ago

I will add data shortly. The acquisition format is that I check both an opa box (w1) and the monochromator box (wm) for an energy scan range. The motors move as intended, and I see reasonable data being plotted in the yaqc-cmds gui.

Following failure to process, Terminal gives:

min() got an unexpected keyword argument 'axis'
('w1__e__wm_points',)
Traceback (most recent call last):
  File "C:\Users\John\source\yaqc-cmds\yaqc_cmds\somatic\acquisition.py", line 310, in scan
    getattr(self, processing_method)(scan_folder)
  File "C:\Users\John\source\yaqc-cmds\yaqc_cmds\somatic\modules\scan.py", line 132, in process
    print(data[channel_name].shape, data[a].shape)
  File "C:\Users\John\Miniconda3\lib\site-packages\WrightTools\_group.py", line 131, in __getitem__
    out = super().__getitem__(key)
  File "h5py\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "C:\Users\John\Miniconda3\lib\site-packages\h5py\_hl\group.py", line 288, in __getitem__
    oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
  File "h5py\_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py\_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py\h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'w1__e__wm_points' doesn't exist)"