Ticket #81 (closed Enhancement: fixed)
The batch processing error message that is generated for duplicate outputs should be improved
|Reported by:||jjr8||Owned by:||jjr8|
|Component:||Core - Batch Processing||Version:||0.2|
The batch processing infrastructure checks that you don't supply the same output name for two different inputs. In this case it generates an error message similar to this one:
ValueError: The same output C:\Documents and Settings\widecast.ML\My Documents\MODIS\MODIS_DSST_rasters is specified for two different elements of inputFileList: element 0 (C:\Documents and Settings\widecast.ML\My Documents\MODIS\MODIS_DSST_9k_HDF\A20021822002212.L3m_MO_SST_9.bz2) and element 1 (C:\Documents and Settings\widecast.ML\My Documents\MODIS\MODIS_DSST_9k_HDF\A20022132002243.L3m_MO_SST_9.bz2), where 0 is the first element of the list. This is not allowed.
Much of the time this error will be reported when the user relies on the default Python expression for naming outputs, and that expression is not good enough for the specific types of inputs they are dealing with. In the example above, the default expression for one of the the HDF --> Raster tools produced the same output name for two different MODIS SST HDFs. (Note that this particular example could have been avoided if I supplied a different default expression for that tool; see ticket #80 for details.)
The error message should specifically discuss the issue of supplying an appropriate Python expression.