Skip to content

Commit b762dff

Browse files
committed
Build errors
1 parent f0d547b commit b762dff

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ yarn-error.log
99
.DS_Store
1010
build
1111
*.code-workspace
12+
.claude

src/AsyncDicomReader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ export class AsyncDicomReader {
741741
coding = encodingMapping[coding];
742742
this.stream.setDecoder(new TextDecoder(coding));
743743
} else if (options?.ignoreErrors) {
744-
log.warn(
744+
readLog.warn(
745745
`Unsupported character set: ${coding}, using default character set`
746746
);
747747
} else {

src/DicomMetaDictionary.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export class DicomMetaDictionary {
237237
if (dataset._vrMap && dataset._vrMap[naturalName]) {
238238
dataItem.vr = dataset._vrMap[naturalName];
239239
} else {
240-
log.error(
240+
log.debug(
241241
"No value representation given for",
242242
naturalName
243243
);
@@ -294,7 +294,7 @@ export class DicomMetaDictionary {
294294
} else {
295295
const validMetaNames = ["_vrMap", "_meta"];
296296
if (validMetaNames.indexOf(name) == -1) {
297-
log.warn(
297+
log.debug(
298298
"Unknown name in dataset",
299299
name,
300300
":",

0 commit comments

Comments
 (0)