workaround when fit hangs
dczielinski opened this issue · 3 comments
Would be good to separate the fit call (Import) from printing out the text for the function call, so the user can run it directly from command line if Mathematica is giving that dynamic evaluation error (unless we figure out how to avoid that error).
One additional annoyance is that mathematica's text format doesn't copy and paste easily into command line because it puts new lines at spaces for some reason (at least in windows) - some text handling might fix this easily, need to test
niko suggested trying to call the function from functions other than import
marta suggests trying to remove the print best fit statement in python and see how it works
there was actually a function to write a shell script to run the fits, but it was dropped because it needed to be adapted to run on windows, not worth the trouble.
this behavior doesn't seem to be deterministic, also it's something that didn't always happen, so i'm guessing it's a Mathematica thing which they should fix at some point.