jpata / tthbb13

2 stars 5 forks source link

Add MAX_EVENTS variable in test_sparsinator #121

Closed silviodonato closed 8 years ago

silviodonato commented 8 years ago

This fixes the error: Traceback (most recent call last): File "Plotting/python/joosep/sparsinator.py", line 443, in raise Exception("No events specified, probably a mistake") Exception: No events specified, probably a mistake

jpata commented 8 years ago

@silviodonato I've moved the testing code from Makefile to python, where it's much simpler to set up:

https://github.com/jpata/tthbb13/blob/8d60dbec6b2801df8eaa7b111b358ec4a983db0c/Plotting/python/test_sparsinator.py

Maybe we can have the makefile call instead those scripts?

silviodonato commented 8 years ago

I'm ok to use directly the python file. I didn't know about test_sparsinator.py .