This commit is contained in:
Ross
2021-12-01 20:37:11 +00:00
parent 96480aa57d
commit aa06fd888f
+6 -6
View File
@@ -205,6 +205,12 @@
const readFile = (file, el) => {
reader(file).then(reader => {
console.log("hello", file, el, image)
if (!$("#id_examination").find(":selected").length) {
var byteArray = new Uint8Array(reader.result);
console.log("etrxact")
extractDicomStudyDescription(byteArray);
}
var image = new Image();
image.height = 100;
image.title = file.name;
@@ -215,12 +221,6 @@
//images.push(reader.result);
loadViewer(images);
console.log(file, el, image)
if (!$("#id_examination").find(":selected").length) {
var byteArray = new Uint8Array(reader.result);
console.log("etrxact")
extractDicomStudyDescription(byteArray);
}
});
}