Skip to content

Commit

Permalink
remove console.trace()
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Sep 27, 2024
1 parent c0374f5 commit 4341aaa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export async function getSchema(schemaUrl) {
}

export function getVersion(ngffData) {
// console.log("getVersion...", ngffData, 'attributes?', ngffData.attributes)
// if we have attributes.ome then this is version 0.5+
if (ngffData.attributes?.ome) {
if (ngffData.attributes.ome.version) {
Expand All @@ -152,11 +151,9 @@ export function getVersion(ngffData) {

// Used if we have our 'attributes' at the root
if (ngffData.ome?.version) {
console.trace("WARNING - using ngffData.ome?.version FIXME?")
return ngffData.ome.version;
}
if (ngffData.version) {
console.trace("WARNING - using ngffData.version FIXME?")
return ngffData.version;
}
// Handle version 0.4 and earlier
Expand Down

0 comments on commit 4341aaa

Please sign in to comment.