load_par evaluating functions before params

From: Arik Mitschang <amitschang_at_email.domain.hidden>
Date: Wed, 11 Aug 2010 16:15:44 -0400
Hi All,

I noticed with recent isis (version 1.6.1) a new behavior that is
somewhat undesirable. If I have a param file with functions involved
it seems that Isis will evaluate the function as it travels down the
file using defaults for latter parameters such that if a function is
tied to the first parameter and depends on a later parameter it can
cause an error if any min max limits are set (and one might have them
set for doing conf limits after un-linking the parameter).

I confirmed that this doesn't cause a problem in isis version 1.6.0-7

The work-around would be to set the min max limits both to zero.

As an example I attach a parameter file affected by this issue, it is
a trivial example and needs no special functions. Loading it in isis
1.6.1 will give:

isis> load_par("test.par");
Error: parameter gauss(1).area:  derived value=-9 violates limits min=0 max=2)
Read failed: parsing line 3, file test.par
Isis Error
-1
isis> 



Thanks,
~~Arik

-- 
Arik W. Mitschang		   MS-34
cell:(707)616-9532 office: (617)496-7237
-----------CfA---CXC---DSOps------------
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe

Received on Wed Aug 11 2010 - 20:37:15 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT