Skip to content

Commit

Permalink
Switch from comma to semicolon for arguments in HYPERLINK formula, cl…
Browse files Browse the repository at this point in the history
…osing ISA-tools#36
  • Loading branch information
sneumann committed Mar 2, 2022
1 parent c7fe0b5 commit e425ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OntologySearch.gs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function handleTermInsertion(term_id) {
sheet.getRange(row, selectedColumn).setValue(ontologyObject.term);
sheet.getRange(row, nextColumn).setValue(ontologyObject.url);
} else {
sheet.getRange(row, selectedColumn).setFormula('=HYPERLINK("' + ontologyObject.url + '","' + ontologyObject.term + '")')
sheet.getRange(row, selectedColumn).setFormula('=HYPERLINK("' + ontologyObject.url + '";"' + ontologyObject.term + '")')
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion OntologyTagging.gs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function replaceTermWithSelectedValue(term_id) {
sheet.getRange(row, selectedColumn).setValue(ontologyObject.term);
sheet.getRange(row, nextColumn).setValue(ontologyObject.accession);
} else {
sheet.getRange(row, selectedColumn).setFormula('=HYPERLINK("'+ ontologyObject.accession +'","' + ontologyObject.term + '")')
sheet.getRange(row, selectedColumn).setFormula('=HYPERLINK("'+ ontologyObject.accession +'";"' + ontologyObject.term + '")')
}
}
}
Expand Down

0 comments on commit e425ca3

Please sign in to comment.