Bug #943
openin TNRS, the Constrain by Source option is applied incorrectly to the results download
70%
Description
issue¶
from TNRS issue 188 (in iPlant JIRA):
the flat file from the Download results button does not match the names shown in the UI with respect to the Constrain by Source option. specifically, the Constrain by Source option is always forced on for the downloaded results, but we need it to be off, as set in the UI. when Constrain by Source is on, this leads to worse matches being selected instead of better ones, so allowing this to be turned off for the download is very important.
use "Poaceae Crypsis crucianelloides Boissier & Balansa ex Boissier" as a test case, with the sources set to GCC, Tropicos (in that order). the download incorrectly includes Chrysis (GCC) with a score of 0.2, even though Tropicos provides Crypsis Aiton with a score of 0.6 and Best match settings > Constrain by Source is unchecked.
there is now a much faster workaround, which Nicole suggested: you can just use the JSON which is output by the web app when clicking the "+n more" link next to a submitted name. unlike the GWT returned by the initial results, the "+n more" results are parseable JSON, with the same column names as in the CSV (but crucially, the correct selected match).