Skip to content

Commit

Permalink
refactor obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Jan 29, 2019
1 parent 4c06210 commit 2c6c04a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion tagmaps/classes/interface.py
Expand Up @@ -16,7 +16,6 @@
import numpy as np
import matplotlib.pyplot as plt
from typing import List, Set, Dict, Tuple, Optional, TextIO
import sklearn.datasets as data
import traceback
import shapely.geometry as geometry
from tagmaps.classes.utils import Utils
Expand Down
13 changes: 7 additions & 6 deletions tagmaps/config/config.py
Expand Up @@ -65,6 +65,7 @@ def __init__(self):
if self.shapefile_intersect:
self.load_shapefile()
self.source_map = self.load_sourcemapping()
self.set_glob_options()

def parse_args(self):
"""Parse init args and set default values
Expand Down Expand Up @@ -354,6 +355,12 @@ def load_sourcemapping(self):
source_config_py = ConfigMap(source_config)
return source_config_py

@staticmethod
def set_glob_options():
"""Includes global options in other packages to be set
prior execution"""
# unused


class ConfigMap:
"""Retrieves python object from config.cfg"""
Expand Down Expand Up @@ -402,9 +409,3 @@ def _quote_selector(quote_string):
}
quoting = quote_switch.get(quote_string)
return quoting

@staticmethod
def set_glob_options():
"""Includes global options in other packages to be set
prior execution"""
# empty so far

0 comments on commit 2c6c04a

Please sign in to comment.