-
Notifications
You must be signed in to change notification settings - Fork 14
Description
The Woollam importer fails when importing because the is_float check can't handle non-string values which it seems to get from my data (let me know if a sample would be helpful). Specific error is TypeError: cannot use a string pattern on a bytes-like object. I resolved this by calling str on the input which seems to work for my case. After doing this and setting up a model the solver fails with TypeError: can't multiply sequence by non-int of type 'float' in conversion_wavelength_energy because it's getting an array of tuples like (ang, lamb) rather than the array of wavelengths it expects. I'm not sure how to resolve the second issue and if it's potentially caused by whatever is also causing the first. Any support on this would be much appreciated.