Skip to content

Commit

Permalink
showcases: eliminated more warnings from inet.scave.plot
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 committed Mar 22, 2024
1 parent 2b1108b commit 2e8f1af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/inet/scave/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def remove_zero_index_if_present(df):
pattern = re.compile(i[0])
match = re.fullmatch(pattern, df[order_column][j])
if match != None:
df['order'][j] = i[1]
df.loc[j, 'order'] = i[1]
else:
order_column = order[0]
order_list = order[1:]
Expand All @@ -747,7 +747,7 @@ def remove_zero_index_if_present(df):
pattern = re.compile(order_list[order])
match = re.fullmatch(pattern, df[order_column][j])
if match != None:
df['order'][j] = order
df.loc[j, 'order'] = order


# if debug:
Expand Down

0 comments on commit 2e8f1af

Please sign in to comment.