Ticket #9747 (new)

Opened 6 years ago

Last modified 5 years ago

LoadMask Reports Misleading Error For Non-Conform DetID List

Reported by: Peter Parker Owned by: Peter Parker
Priority: trivial Milestone: Backlog
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

A mask file with a trailing comma results in an error of

Pixel w/ ID = 0 Cannot Be Located

being reported to the results log. Currently the fix is to change this:

<?xml version="1.0"?>
<detector-masking>
        <group>
                <detids>10,</detids>
        </group>
</detector-masking>

to this:

<?xml version="1.0"?>
<detector-masking>
        <group>
                <detids>10</detids>
        </group>
</detector-masking>

But it would be nice to clear away this edge case when parsing the IDs.

Change History

comment:1 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10589

Note: See TracTickets for help on using tickets.