EliotGann / QANT

6 stars 8 forks source link

"Fit graphed scan(s) to this Peak Set" throwing error in Igor 9 #5

Open cbishop4 opened 3 years ago

cbishop4 commented 3 years ago

After upgrading to Igor 9, QANT is working fine with making a peak set (so it's doing at least one multi-peak fit). But when I go back to the main window and try to fit a scan to the peak set, I get this error: Error calling MPF2_DoMPFit: -3 .

EliotGann commented 3 years ago

I believe I fixed this. It's something about Igor 9 changing the peakname internally from "GAUSSIAN" to "GaussPeak". I didn't see it documented anywhere, but I just added that to the lookup list that changes from QANT peak names to Igor Peak names. It seems to work. Let me know if you think it's fixed @cbishop4

cbishop4 commented 3 years ago

Thanks! However, it now throws the error message: Error calling MPF2_DoMPFit: -1

EliotGann commented 3 years ago

I can't recreate that... what folder are you loading, and what data set?

cbishop4 commented 3 years ago

Loading data from /nsls2/data/sst1/legacy/RSoXS/suitcased_data/users/2021-3/GU-308372-NIST/auto/Bishop/2021-10-08. I have a local copy of that folder on my personal computer which is what I'm loading and analyzing from. I'm trying to fit the TF_10_TPDNEX scans. I'm getting this too, in the command line: user function QANT_WhooskaNametoMPF2 gave error: attempt to use a null string variable

EliotGann commented 2 years ago

propose to close this, I think it is fixed? let me know if not @cbishop4