If a pick wasn't referenced in an arrival but only in an amplitude, it wasn't retained in the XSLT conversion to QuakeML. Apparently, this can happen.
This PR fixes that. All picks referenced by arrivals or amplitudes are kept. With the sample file provided in the ObsPy issue, I now have 7 picks as expected.
If a pick wasn't referenced in an arrival but only in an amplitude, it wasn't retained in the XSLT conversion to QuakeML. Apparently, this can happen.
This PR fixes that. All picks referenced by arrivals or amplitudes are kept. With the sample file provided in the ObsPy issue, I now have 7 picks as expected.