From 336286e4ddde5b963035a1d16252291181712416 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 23 Apr 2012 18:13:08 +0200 Subject: implemented neighbourhood on all bads and csv exporter --- Src/PyCatcher/src/cellIDDatabase.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Src/PyCatcher/src/cellIDDatabase.py') diff --git a/Src/PyCatcher/src/cellIDDatabase.py b/Src/PyCatcher/src/cellIDDatabase.py index d12ce60..34c9463 100644 --- a/Src/PyCatcher/src/cellIDDatabase.py +++ b/Src/PyCatcher/src/cellIDDatabase.py @@ -8,10 +8,10 @@ import os from settings import Database_path class CIDDatabases: - NONE = 0 - GOOGLE = 1 - OPENCID = 2 - LOCAL = 3 + NONE = 'None' + GOOGLE = 'Google' + OPENCID = 'Open Cell ID' + LOCAL = 'Local' class Translator: Country = { @@ -30,11 +30,11 @@ class Translator: } class CellIDDBStatus: - CONFIRMED = 0 - APPROXIMATED = 1 - ERROR = 2 - NOT_LOOKED_UP = 3 - NOT_IN_DB = 4 + CONFIRMED = 'Confirmed' + APPROXIMATED = 'Approximated' + ERROR = 'Error' + NOT_LOOKED_UP = 'Not looked up' + NOT_IN_DB = 'Not in DB.' class CellIDDatabase: -- cgit v1.2.3-55-g7522