mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Fix bug when CopyExcitationsTypeFrom(TBE)
This commit is contained in:
parent
daa62495fa
commit
488a4a3fb6
@ -121,14 +121,20 @@ draft: false
|
||||
proms.push(getFluoFilesName().map((f) => VertDataFile.loadAsync(f, VertExcitationKinds.Fluorescence)))
|
||||
window.defaultDats = []
|
||||
for (const subproms of proms) {
|
||||
var sub = await Promise.all(subproms)
|
||||
for (mol of uniq(sub.map(d => d.molecule))) {
|
||||
submol = sub.filter(d => d.molecule == mol)
|
||||
TBE = sub.find((d) => d.method.isTBE)
|
||||
const sub = await Promise.all(subproms)
|
||||
for (const doi of uniq(sub.map(d => d.DOI.string))) {
|
||||
const subdoi = sub.filter(d => d.DOI.string === doi)
|
||||
for (mol of uniq(subdoi.map(d => d.molecule))) {
|
||||
const submol = subdoi.filter(d => d.molecule === mol)
|
||||
const TBE = submol.find((d) => d.method.isTBE)
|
||||
if (TBE !== undefined) {
|
||||
for (dat of submol.filter((d) => d !== TBE)) {
|
||||
dat.CopyExcitationsTypeFrom(TBE)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.defaultDats = window.defaultDats.concat(sub)
|
||||
}
|
||||
processingIndicator.isActive = false
|
||||
@ -486,7 +492,10 @@ draft: false
|
||||
<li>Fluorescence</li>
|
||||
</ul>
|
||||
<li>Choose each parameter (of course you can select multiples values for each) you can use the the <buttongit
|
||||
disabled>Select all</button> button to select all items <span hidden data-needbrowser='{"Engine":["WebKit","Blink"],"Platform":["desktop"]}'>or use the <kbd data-needbrowser='{"OS":["MacOS"]}'>CMD</kbd><kbd data-neednotbrowser='{"OS":["MacOS"]}'>Ctrl</kbd>+<kbd>A</kbd> shortcut key</span></li>
|
||||
disabled>Select all</button> button to select all items <span hidden
|
||||
data-needbrowser='{"Engine":["WebKit","Blink"],"Platform":["desktop"]}'>or use the <kbd
|
||||
data-needbrowser='{"OS":["MacOS"]}'>CMD</kbd><kbd
|
||||
data-neednotbrowser='{"OS":["MacOS"]}'>Ctrl</kbd>+<kbd>A</kbd> shortcut key</span></li>
|
||||
<ul id="SelectList"></ul>
|
||||
<li>Choose filters:</li>
|
||||
<ul>
|
||||
|
Loading…
Reference in New Issue
Block a user