NSLS-II-CHX / profile_collection

0 stars 6 forks source link

FIX: do not repeat data types #24

Open tacaswell opened 2 years ago

tacaswell commented 2 years ago

Noticed this while porting to PDF / upstream

Need to verify that the enum name is correct.

tacaswell commented 2 years ago

No, this is mapping values that come from an EPICS enum -> numpy dtypes. In principle we could parse / automatically do it, but I think that is this case a hard-coded map is easier.

That said, I also fixed this locally when I addressed a different issues they were having so this fix is in their local repo (if not pushed) so lets hold off on merging this.