diff --git a/ps-trace_path_changed.py b/ps-trace_path_changed.py index a7e63fb..62ce022 100644 --- a/ps-trace_path_changed.py +++ b/ps-trace_path_changed.py @@ -12,7 +12,10 @@ import utils.queries as qrs from utils.helpers import timer from alarms import alarms +import sys +print(f"Python version: {sys.version}") +print(f"Pandas version: {pd.__version__}") # Builds the trceroute query def queryPSTrace(dt): @@ -762,10 +765,6 @@ def sendAlarms(data): # Remove rows where 'asn' is NaN (including inf if needed) probDf = probDf[~probDf['asn'].isna()] -print(f"Python version: {sys.version}") -print(f"Pandas version: {pd.__version__}") - - # Find the nodes that work sporadically and add those the the baseline list baseLine = addOnAndOffNodes(diffs, probDf, baseLine) # Again get the pairs which took different form the usual paths