Opened 8 years ago

Closed 8 years ago

#2045 closed defect (fixed)

Error: Unknown function: pos() in formula pos()

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.9.2
Component: core Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

This error can happen in when viewing spot data for a bioassay set or in experiment explorer if a column expression formula has been created that uses the pos() function. The position is typically not needed as a function since it is the same as the pre-defined "Position" column, but the Base1PluginExecutor plug-in rely on formulas for mapping the input and output files and the pos() function is central for this. No problems so far until a user goes to the "Spot data" tab or experiment explorer and chooses to display the formula column (or use "Display all"). This causes an error message to be displayed:

Unknown function: pos() in formula pos()

In the spot data list the workaround is to simply configure the list to not show the problematic column. In experiment explorer the configuration button unfortunately disappears due to the error and it is not possible to simply hide the column. In this case, the BASE -> Reset list settings function can be used. It should be enough to reset the "Spot data" information.

Change History (3)

comment:1 by Nicklas Nordborg, 8 years ago

Description: modified (diff)

comment:2 by Nicklas Nordborg, 8 years ago

This issue is related to #1461 which solved a similar problem for some analysis plug-ins, exporters, plot functions, etc. For some reason the list pages and experiment explorer was left out.

comment:3 by Nicklas Nordborg, 8 years ago

Resolution: fixed
Status: newclosed

(In [7237]) Fixes #2045: Error: Unknown function: pos() in formula pos()

The hard-coded functions in ItemContext has now been replaced with the dynamic list of functions that are supported by the query that is actually used in the listing.

Note: See TracTickets for help on using tickets.