spice-herald / RQpy

This repository provides helpful tools for DM search analysis using detectors studied by the Pyle Group.
GNU General Public License v3.0
4 stars 3 forks source link

Set seriesnumber to int in rp.io.getrandevents #151

Closed slwatkins closed 4 years ago

slwatkins commented 4 years ago

There's a bug where, if the seriesnumber is a float, then rqpy.io.getrandevents will fail, as it passes an incorrectly formatted string to getRawEvents in scdmsPyTools. This fix simply ensures that seriesnumber is cast as an int before being passed to getRawEvents.