Subscribe Bookmark RSS Feed

Setting "ignore errors" flag on a formula column

David_Burnham

Super User

Joined:

Jul 13, 2011

I have a formula column (confidence interval from the nonlinear platform) that sometimes generates an error during evaluation:

7491_fmlerror.JPG

This error can not be captured in a Try() block.

My work around is to set the Suppress Eval flag and manually evaluate the formula one row at a time but I would prefer to be able to set the "Ignore Error" flag on the column to suppress repeated error messages that occur.

I've not found a way to set this in JSL.  Any ideas?

Dave

-Dave
2 REPLIES
XanGregg

Staff

Joined:

Jun 23, 2011

You've probably already tried this, but just in case: maybe you can pre-catch the error, such as

  If( not symmetric(x), ., rest of formula(x))

If it's any consolation, the JMP 12 beta will turn on Ignore Errors automatically when you set a problem formula via script. I tried:

     Column( "X" ) << Set Formula( If( Random Uniform( 0, 1 ) < 0.5, Foo(), 1 ) );



David_Burnham

Super User

Joined:

Jul 13, 2011

Thanks Xan

The problem is that I am saving the formula from the nonlinear platform and the error gets raised during the save message - so I don't have time to inspect the formula to test for an error condition.  I'll take another look at how it behaves in JMP 12 Beta but from memory I wasn't able to "silence" the errors.

Dave

-Dave