@@ -166,6 +166,7 @@ export class SynonymGroup implements AsyncIterable<Name> {
166166 console . log ( `Skipping known (${ key0 } )` ) ;
167167 return ;
168168 }
169+ console . debug ( `synogroup: lnSynonyms ${ key0 } ` ) ;
169170
170171 if ( this . controller . signal ?. aborted ) return Promise . reject ( ) ;
171172
@@ -198,6 +199,7 @@ export class SynonymGroup implements AsyncIterable<Name> {
198199 key0 : string ,
199200 justification : Justification ,
200201 ) {
202+ console . debug ( `synogroup: handling ${ key0 } ` ) ;
201203 const treatmentPromises : Promise < [ Name , Treatment , TreatmentDetails ] > [ ] =
202204 [ ] ;
203205 const colPromises : Promise < void [ ] > [ ] = [ ] ;
@@ -225,8 +227,6 @@ export class SynonymGroup implements AsyncIterable<Name> {
225227 newPlazi . set ( key , r ) ;
226228 }
227229
228- console . log ( newNames , newCol , newPlazi ) ;
229-
230230 for ( const key of newNames ) {
231231 if ( key != key0 && this . expanded . has ( key ) ) {
232232 console . log ( `Skipping known (${ key } )` ) ;
@@ -239,8 +239,6 @@ export class SynonymGroup implements AsyncIterable<Name> {
239239
240240 const treatments : Treatment [ ] = [ ] ;
241241
242- console . log ( key , cols , plazi ) ;
243-
244242 let unauthorizedCol : ColEntry | undefined ;
245243 const authorizedNames : AuthorizedName [ ] = [ ] ;
246244
@@ -431,6 +429,7 @@ export class SynonymGroup implements AsyncIterable<Name> {
431429 /** @internal */
432430 async tcSynonyms ( tcUri : string , justification : Justification ) {
433431 if ( this . noSynonyms && ! justification . searchTerm ) return ;
432+ console . debug ( `synogroup: tcSynonyms ${ tcUri } ` ) ;
434433 this . expanded . add ( tcUri ) ;
435434 const plazi = await SQueries . getNameFromTC (
436435 tcUri ,
@@ -453,6 +452,7 @@ export class SynonymGroup implements AsyncIterable<Name> {
453452 /** @internal */
454453 async tnSynonyms ( tnUri : string , justification : Justification ) {
455454 if ( this . noSynonyms && ! justification . searchTerm ) return ;
455+ console . debug ( `synogroup: tnSynonyms ${ tnUri } ` ) ;
456456 this . expanded . add ( tnUri ) ;
457457 const plazi = await SQueries . getNameFromTN (
458458 tnUri ,
@@ -523,6 +523,7 @@ export class SynonymGroup implements AsyncIterable<Name> {
523523 // we have already found this group of synonyms
524524 return [ ] ;
525525 }
526+ console . debug ( `synogroup: colSynonyms ${ colUri } ` ) ;
526527
527528 const promises : Promise < void > [ ] = [ ] ;
528529
@@ -576,8 +577,6 @@ export class SynonymGroup implements AsyncIterable<Name> {
576577 }
577578 }
578579
579- console . log ( keys ) ;
580-
581580 const plazis = await Promise . all ( plaziPromises ) ;
582581 promises . push (
583582 this . handleColAndPlaziResult (
0 commit comments