mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-24 13:23:40 +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 }})
|
||||
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>
|
@ -2,7 +2,6 @@ async function loadAllData() {
|
||||
dic = {
|
||||
abs: [],
|
||||
fluo: [],
|
||||
ZPE: []
|
||||
};
|
||||
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)))
|
||||
|
Loading…
Reference in New Issue
Block a user