diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-03-26 10:39:47 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-03-26 10:39:47 -0500 |
commit | 219a9023ff789aa735b9a95c78e942e256a0424a (patch) | |
tree | 46d2b4464c061cdc6c414ece5919527f1814111e /utils/plot | |
parent | bf60d08d517e7887417f0aa4068b726a8c749e58 (diff) | |
download | sddm-219a9023ff789aa735b9a95c78e942e256a0424a.tar.gz sddm-219a9023ff789aa735b9a95c78e942e256a0424a.tar.bz2 sddm-219a9023ff789aa735b9a95c78e942e256a0424a.zip |
update plotting scripts to handle case when there is no fit
Diffstat (limited to 'utils/plot')
-rwxr-xr-x | utils/plot | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -95,6 +95,10 @@ if __name__ == '__main__': if 'ev' not in event: continue + if 'fit' not in event['ev'][0]: + # if nhit < 100 we don't fit the event + continue + if id not in event['ev'][0]['fit']: continue |