diff --git a/vATISLoad.ipynb b/vATISLoad.ipynb index 86f3a31..95ceaab 100644 --- a/vATISLoad.ipynb +++ b/vATISLoad.ipynb @@ -555,10 +555,6 @@ "\n", "# Reverse alphabetical station order\n", "stations = sorted(stations, reverse=True)\n", - "indices_D = [i for i, x in enumerate(stations) if x.endswith('_D')]\n", - "indices_A = [i for i, x in enumerate(stations) if x.endswith('_A')]\n", - "for index_D, index_A in zip(indices_D, indices_A):\n", - " stations[index_D], stations[index_A] = stations[index_A], stations[index_D]\n", "\n", "# Load ATIS information\n", "i = 0\n", diff --git a/vATISLoad.pyw b/vATISLoad.pyw index 7fb8b96..382ae55 100644 --- a/vATISLoad.pyw +++ b/vATISLoad.pyw @@ -530,10 +530,6 @@ if dt < 1.0: # Reverse alphabetical station order stations = sorted(stations, reverse=True) -indices_D = [i for i, x in enumerate(stations) if x.endswith('_D')] -indices_A = [i for i, x in enumerate(stations) if x.endswith('_A')] -for index_D, index_A in zip(indices_D, indices_A): - stations[index_D], stations[index_A] = stations[index_A], stations[index_D] # Load ATIS information i = 0