@slavoutich , Made this over the weekend.
Should address most instances of failing fits causing analysis to break.
Fixes #502 .
Changes proposed in this pull request:
Adds a format_value_string that formats an lmfit parameter in a unit aware way
Adds a "safe_formatter" that formats a string and replaces None and invalid values by ~~ and !!
Replaced printing in some (but not all analysis).
This should probably be done in all analysis but I did not have time for this. I suggest we add this type of formatting whenever we encounter a new analysis that fails because of this reason.
@slavoutich , Made this over the weekend. Should address most instances of failing fits causing analysis to break. Fixes #502 .
Changes proposed in this pull request:
None
and invalid values by~~
and!!
This should probably be done in all analysis but I did not have time for this. I suggest we add this type of formatting whenever we encounter a new analysis that fails because of this reason.