~gkafka/maus/devel2

« back to all changes in this revision

Viewing changes to src/map/MapPyCkov/test_MapPyCkov.py

  • Committer: Gene Kafka
  • Date: 2012-03-23 13:21:13 UTC
  • mfrom: (664.1.1 maus)
  • Revision ID: gkafka@iit.edu-20120323132113-2ekk5qrq1tm8hk9x
ckov_update

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
            print 'no digits'
74
74
 
75
75
        #test the ckov output
76
 
        n_part_events = int(len(spill['digits'])) - 1
 
76
        n_part_events = int(len(spill['digits']['ckov'])) - 1
77
77
        #test there are no dupilcate events
78
78
        last_part_event_number = \
79
 
             spill['digits'][n_part_events]['A']['part_event_number']
 
79
             spill['digits']['ckov'][n_part_events]['A']['part_event_number']
80
80
        self.assertEqual(last_part_event_number, n_part_events)
81
81
 
82
82
    def tearDown(self): #pylint: disable = C0103