Remove debug from console

This commit is contained in:
Dan Hawkins 2022-01-03 09:47:40 +00:00
commit 79c1928d73

View file

@ -984,7 +984,7 @@ class MetaInfo extends GISJsonSerialised {
def boolean imported def boolean imported
// If this has already been read in from a file // If this has already been read in from a file
if (relatedmetainfo.getrelatedid() in ii.metamap) { if (relatedmetainfo.getrelatedid() in ii.metamap) {
script.echo("Already read in meta associated with uniqueid: ${relatedmetainfo.getrelatedid()} - Using it") //script.echo("Already read in meta associated with uniqueid: ${relatedmetainfo.getrelatedid()} - Using it")
mi = ii.metamap[relatedmetainfo.getrelatedid()].metainfo mi = ii.metamap[relatedmetainfo.getrelatedid()].metainfo
imported = true imported = true
} else if (script.fileExists(importedmetafile)) { } else if (script.fileExists(importedmetafile)) {
@ -1005,7 +1005,7 @@ class MetaInfo extends GISJsonSerialised {
} }
def walkrelated_v0_1(IterationInfo ii) { def walkrelated_v0_1(IterationInfo ii) {
script.echo("Walk related v0.1: ${ii.show()}") //script.echo("Walk related v0.1: ${ii.show()}")
if (!ii.limiteddepth || ii.maxdepth > 0) { if (!ii.limiteddepth || ii.maxdepth > 0) {
ii.add(new CollectedMeta(this, ii.gatheredpath, ii.gatheredmetapath)) ii.add(new CollectedMeta(this, ii.gatheredpath, ii.gatheredmetapath))
ii.comment += "${ii.level} ".padRight(ii.level * 4) + globalreleasetag() + '\n' ii.comment += "${ii.level} ".padRight(ii.level * 4) + globalreleasetag() + '\n'
@ -1035,12 +1035,12 @@ class MetaInfo extends GISJsonSerialised {
} }
def walkrelated(IterationInfo ii) { def walkrelated(IterationInfo ii) {
script.echo("Walk related: ${ii.show()}") //script.echo("Walk related: ${ii.show()}")
if (!ii.limiteddepth || ii.maxdepth > 0) { if (!ii.limiteddepth || ii.maxdepth > 0) {
ii.add(new CollectedMeta(this, ii.gatheredpath, ii.gatheredmetapath)) ii.add(new CollectedMeta(this, ii.gatheredpath, ii.gatheredmetapath))
ii.comment += "${ii.level} ".padRight(ii.level * 4) + globalreleasetag() + '\n' ii.comment += "${ii.level} ".padRight(ii.level * 4) + globalreleasetag() + '\n'
for (relatedmetainfo in associatedmeta) { for (relatedmetainfo in associatedmeta) {
script.echo("Related meta info: ${relatedmetainfo.offsetpath} format: ${relatedmetainfo.format}") //script.echo("Related meta info: ${relatedmetainfo.offsetpath} format: ${relatedmetainfo.format}")
if (relatedmetainfo.format == '0.2') { if (relatedmetainfo.format == '0.2') {
def childmetainfo = openchildmeta(ii, relatedmetainfo) def childmetainfo = openchildmeta(ii, relatedmetainfo)
if (childmetainfo.imported) { if (childmetainfo.imported) {