[Fix] All thresholds, Increase Batch Predict Limit, Make "Back" Button on error page trigger a new pageload. (#432)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#432
This commit is contained in:
2026-07-24 09:29:05 +12:00
parent d657c0285a
commit 7632b3a029
6 changed files with 30 additions and 11 deletions

View File

@ -37,7 +37,8 @@
class="text-xs text-base-content/50 border-t border-base-300 pt-3"
>
<strong>Format:</strong> First column = SMILES, Second column =
Name (headers optional) • Maximum 30 rows
Name (headers optional) • Maximum
{{ batch_predict_max_compoundss|default:150 }} rows
</div>
</div>
</div>
@ -195,8 +196,7 @@
// Function to populate table from CSV data
function populateTableFromCSV(csvData) {
const lines = csvData.trim().split("\n");
const maxRows = 30;
const maxRows = Number("{{ batch_predict_max_compounds|default:150 }}");
// Clear existing table
clearTable();