zlatko-minev/pyEPR

mode number error in QuantumAnalysis

hatlabcz opened this issue · 4 comments

self.n_modes = len(self.modes['0'])

When variations argument inQuantumAnalysis does not contain '0', self.n_modes = len(self.modes['0']) will raise KeyError.

👏👏👏 You are awesome! Thank you for making your first issue to pyEPR ' first issue

Thanks a lot Hat Lab, any chance you could make up a pull request to fix this issue?

Hi Zlatko, I just submitted a pull request that should fix this problem. Thx

Awesome, thanks a lot, saw Michael last Friday