mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Delete usage of zpe folder
This commit is contained in:
parent
519b237d8d
commit
e75a1de542
@ -23,16 +23,4 @@ function getFluoFilesName(){
|
|||||||
var files=JSON.parse({{ jsonify $list }})
|
var files=JSON.parse({{ jsonify $list }})
|
||||||
return files
|
return files
|
||||||
}
|
}
|
||||||
{{- $files := readDir "/static/data/zpe" }}
|
|
||||||
{{- $list := slice }}
|
|
||||||
function getZPEFilesName(){
|
|
||||||
{{- range $files }}
|
|
||||||
{{- $ext := path.Ext .Name}}
|
|
||||||
{{- if eq $ext ".dat" }}
|
|
||||||
{{- $list = $list | append (print "zpe/" .Name )}}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
var files=JSON.parse({{ jsonify $list }})
|
|
||||||
return files
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
@ -2,7 +2,6 @@ async function loadAllData() {
|
|||||||
dic = {
|
dic = {
|
||||||
abs: [],
|
abs: [],
|
||||||
fluo: [],
|
fluo: [],
|
||||||
ZPE: []
|
|
||||||
};
|
};
|
||||||
dic.abs = await Promise.all(getAbsFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion)))
|
dic.abs = await Promise.all(getAbsFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Absorbtion)))
|
||||||
dic.fluo = await Promise.all(getFluoFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence)))
|
dic.fluo = await Promise.all(getFluoFilesName().map((f) => VertDataFile.loadAsync(f,VertExcitationKinds.Fluorescence)))
|
||||||
|
Loading…
Reference in New Issue
Block a user