Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
2d996941a2
|
@ -113,10 +113,14 @@ export const parseDicom = (file, name = false) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
uintKey.forEach(key => {
|
uintKey.forEach(key => {
|
||||||
res[key] = data.uint16(dicom[key])
|
if (res.hasOwnProperty(key)) {
|
||||||
|
res[key] = data.uint16(dicom[key])
|
||||||
|
}
|
||||||
})
|
})
|
||||||
intStringKey.forEach(key => {
|
intStringKey.forEach(key => {
|
||||||
res[key] = data.intString(dicom[key])
|
if (res.hasOwnProperty(key)) {
|
||||||
|
res[key] = data.intString(dicom[key])
|
||||||
|
}
|
||||||
})
|
})
|
||||||
defaultKey.forEach(key => {
|
defaultKey.forEach(key => {
|
||||||
if (!res[key] && res.hasOwnProperty(key)) {
|
if (!res[key] && res.hasOwnProperty(key)) {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue