Skip to content

Regression in wirecell-img inspect breaking WCT tests #26

@brettviren

Description

@brettviren

These tests are breaking:

img/test/test-wct-uboone-img.bats
img/test/test-wct-uboone-img-full.bats

due to somewhat cosmetic changes

✗ inspect blobs quietly
   (from function `do_blobs' in file img/test/test-wct-uboone-img.bats, line 97,
    in test file img/test/test-wct-uboone-img.bats, line 101)
     `do_blobs "quietly" inspect' failed
   2025-01-27 16:55:31.542937603 [ I ] RUNNING: wcpy img inspect -o inspect-quietly-json.log clusters-json.tar.gz
   2025-01-27 16:55:33.823859675 [ I ] OUTPUT:
   2025-01-27 16:55:31.551122143 [ I ] RUNNING: /winch/local/bin/wirecell-img inspect -o inspect-quietly-json.log clusters-json.tar.gz
   2025-01-27 16:55:33.809527820 [ I ] OUTPUT: (none)
   2025-01-27 16:55:33.852292916 [ I ] RUNNING: wcpy img inspect -o inspect-quietly-numpy.log clusters-numpy.tar.gz
   2025-01-27 16:55:38.527927193 [ I ] OUTPUT:
   2025-01-27 16:55:33.860962917 [ I ] RUNNING: /winch/local/bin/wirecell-img inspect -o inspect-quietly-numpy.log clusters-numpy.tar.gz
   2025-01-27 16:55:38.513425153 [ I ] OUTPUT: (none)
   --- inspect-quietly-json.log	2025-01-27 16:55:33.560961368 +0000
   +++ inspect-quietly-numpy.log	2025-01-27 16:55:38.268987427 +0000
   @@ -14,8 +14,8 @@
    		mean unc in 125581 (445 zeros): 194.9178009033203 <= 908.7316268505471 <= 5829.26220703125, tot:114119426.43151855
    		mean num in 2197 (0 zeros): 5 <= 57.160218479745105 <= 551, tot:125581
    	w: 6016 nodes (3141 idents, 6016 descs), neighbors: b=177357 c=6016 data: ['chid', 'code', 'desc', 'head', 'ident', 'index', 'seg', 'tail', 'wpid']
   -		seg: Counter({0: 6016})
   -		wpid: Counter({4: 2419, 2: 1999, 1: 1598})
   +		seg: Counter({np.int64(0): 6016})
   +		wpid: Counter({np.int64(4): 2419, np.int64(2): 1999, np.int64(1): 1598})
    0: 402592 edges
    	bb: 43509 edges
    	bm: 54726 edges
 ✗ inspect blobs verbosely
   (from function `do_blobs' in file img/test/test-wct-uboone-img.bats, line 97,
    in test file img/test/test-wct-uboone-img.bats, line 104)
     `do_blobs "verbosely" inspect --verbose' failed
   2025-01-27 16:55:38.614556810 [ I ] RUNNING: wcpy img inspect --verbose -o inspect-verbosely-json.log clusters-json.tar.gz
   2025-01-27 16:55:41.105732186 [ I ] OUTPUT:
   2025-01-27 16:55:38.623055785 [ I ] RUNNING: /winch/local/bin/wirecell-img inspect --verbose -o inspect-verbosely-json.log clusters-json.tar.gz
   2025-01-27 16:55:41.091502815 [ I ] OUTPUT: (none)
   2025-01-27 16:55:41.132701103 [ I ] RUNNING: wcpy img inspect --verbose -o inspect-verbosely-numpy.log clusters-numpy.tar.gz
   2025-01-27 16:55:46.115793780 [ I ] OUTPUT:
   2025-01-27 16:55:41.140824912 [ I ] RUNNING: /winch/local/bin/wirecell-img inspect --verbose -o inspect-verbosely-numpy.log clusters-numpy.tar.gz
   2025-01-27 16:55:46.100432696 [ I ] OUTPUT: (none)
   --- inspect-verbosely-json.log	2025-01-27 16:55:40.837001643 +0000
   +++ inspect-verbosely-numpy.log	2025-01-27 16:55:45.857029431 +0000
   @@ -51900,8 +51900,8 @@
    		mean unc in 125581 (445 zeros): 194.9178009033203 <= 908.7316268505471 <= 5829.26220703125, tot:114119426.43151855
    		mean num in 2197 (0 zeros): 5 <= 57.160218479745105 <= 551, tot:125581
    	w: 6016 nodes (3141 idents, 6016 descs), neighbors: b=177357 c=6016 data: ['chid', 'code', 'desc', 'head', 'ident', 'index', 'seg', 'tail', 'wpid']
   -		seg: Counter({0: 6016})
   -		wpid: Counter({4: 2419, 2: 1999, 1: 1598})
   +		seg: Counter({np.int64(0): 6016})
   +		wpid: Counter({np.int64(4): 2419, np.int64(2): 1999, np.int64(1): 1598})
    0: 402592 edges
    	bb: 43509 edges
    	bm: 54726 edges

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions