Skip to content

Commit

Permalink
Cleaned up the corrections list
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Dec 3, 2014
1 parent 97c0bd0 commit 287d7ff
Showing 1 changed file with 3 additions and 62 deletions.
65 changes: 3 additions & 62 deletions corrections.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,68 +7,6 @@
DELETED = -111

systems = {
"LTT 4549": "Shinrarta Dezhra",
"KAMCHAULTULTULA": "Aiabiko",

# Gamma 1
"ACURUKUNABOGAMAL": "Temba",
"ADITYARAGUALA": "Lushertha",
"ALADU KUAN GON": "Undadja",
"AUDHISATSURI": "Esuseku",
"BEGOU": "Cephei Sector FG-Y c30",
"BOROM CAQUIT": "Hual",
"BURYACUAN WU": "Katta",
"CARNUTENICHUARA": "Het",
"CEPHEI SECTOR IR-W C1-17": "Awawad",
"CEPHEI SECTOR JC-V B2-4": "Kavalan",
"CEPHEI SECTOR TO-R B4-3": "Jieguaje",
"CM DRACO": "CM Draconis",
"CORIOSKEH TRYTH": "Brid",
"DAKANTJARINI": "Chapo",
"EGOVEDUNUVITRA": "Kondovii",
"ENUMCLAWILYA": "Potiguara",
"ETZNABIHIK MANGK": "Puskabui",
"HARIBALUAYAI": "Lei Manako",
"JEIDRUNGARAGOTOTO": "Yan Yi",
"JUATHAO THEELA": "Machadan",
"KHONG QIN GU": "Coqui Renes",
"KOKOBUJUNDJI": "Teliu Yuan",
"KUNAPALANEZTI": "Karbudji",
"KURUNMINDJUK": "Evejitaense",
"KUSHENTINONI": "Mehua",
"KWAKAMITREYJA": "Igala",
"KWAMENNERO KOJIN": "Carnsan",
"LAS XENANGARESTI": "Ngaislan",
"LATUCAIRHEMAIABI": "Suhte",
"LENG WANJADIMURU": "Dilwa",
"LOPU MAID FO": "Nebtete",
"LUGIEN CHABTANI": "Andere",
"MACOMANELENG MU": "Ubere",
"MANBAI CHAC MOCO": "Phra Lak",
"MARANARINJHIAN HSI": "Banisas",
"MARAUPOL BUMBIN": "Telie",
"MBUTHAMOVITES": "Hajangerni",
"MILDJARAYUTA": "Blenu",
"MOSCAB KUTJA": "Basus",
"MUANGO": "Cephei Sector NI-T b3-2",
"NAGARIGGAM": "Kamici",
"NGOLOKI ANATEN": "Xibe",
"SKOKOLOCHOERI": "Goplatrugba",
"SONG TE TIANS": "Moroecani",
"SUKUB TUNGATIS": "Adenets",
"T'ANG BUMBAIN": "Gommara",
"TAEXALKOLOINE": "Queche",
"TAIMA BAIJUHACMOORA": "Payayan",
"TALEACHISHVAKHRUD": "Suttonenses",
"THOSIM BIAMH": "Apala",
"THOTTACAHUAN WANG": "Shoujeman",
"WAKARENDIANS": "Susama",
"WEN TSAKIMORI": "Chielas",
"YA'NOMISIYACES": "Wong Ten",
"YERU BAO HINU": "Opones",
"YUGGSANAWYDDIS": "Kumata",
"YUGUSITANITOU": "Kulungan",
"ZOMBARDGRITI": "Tiguai",

#ADD_SYSTEMS_HERE
}
Expand Down Expand Up @@ -97,6 +35,7 @@ def correctSystem(oldName):
except KeyError:
return oldName


def correctStation(systemName, oldName):
try:
return stations[systemName.upper() + "/" + oldName.upper()]
Expand All @@ -107,12 +46,14 @@ def correctStation(systemName, oldName):
except KeyError:
return oldName


def correctCategory(oldName):
try:
return categories[oldName.upper()]
except KeyError:
return oldName


def correctItem(oldName):
try:
return items[oldName.upper()]
Expand Down

0 comments on commit 287d7ff

Please sign in to comment.