Skip to content

Commit

Permalink
BUG: Tweaked over-aggressive tracerinfo record handling; closes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
darothen committed Jan 21, 2019
1 parent 96f55c3 commit 3d34d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbpch/util/diaginfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_tracerinfo(tracerinfo_file):
# erroneously dropped short/long tracer names in certain tracerinfo.dat outputs.
# What we do here is figure out which rows were erroneously processed (they'll
# have NaNs in them) and raise a warning if there are any
na_free = tracer_df.dropna()
na_free = tracer_df.dropna(subset=['tracer', 'scale'])
only_na = tracer_df[~tracer_df.index.isin(na_free.index)]
if len(only_na) > 0:
warn("At least one row in {} wasn't decoded correctly; we strongly"
Expand Down

0 comments on commit 3d34d28

Please sign in to comment.