About the if: They are needed, it is actually an issue that was not reported before (and it is independent of the dmm, I can solve it in another PR if your want). The issue is basically that the wrong error message is displayed, see below with a raman channel declared twice, what is actually failing is the matching of raman_1, not raman.
About the if: They are needed, it is actually an issue that was not reported before (and it is independent of the dmm, I can solve it in another PR if your want). The issue is basically that the wrong error message is displayed, see below with a raman channel declared twice, what is actually failing is the matching of![image](https://github.com/pasqal-io/Pulser/assets/61453516/5aba3aa5-f317-4e82-b980-42acd136fe01)
raman_1
, notraman
.Originally posted by @a-corni in https://github.com/pasqal-io/Pulser/issues/576#issuecomment-1708285276