Skip to content

Commit

Permalink
fix checkSymLink usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 13, 2014
1 parent 7e416ed commit ce60f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pyana/__main__.py
@@ -1,6 +1,5 @@

import string
from aux.utils import checkSymLink
from examples.utils import checkSymLink
from examples.gp_datdir import gp_datdir

checkSymLink()
Expand Down
3 changes: 2 additions & 1 deletion pyana/examples/gp_datdir.py
Expand Up @@ -2,7 +2,7 @@
import numpy as np
from collections import OrderedDict
from ..ccsgp.ccsgp import make_plot
from .utils import getWorkDirs
from .utils import getWorkDirs, checkSymLink
from ..ccsgp.utils import getOpts

def gp_datdir(initial, topN):
Expand Down Expand Up @@ -66,6 +66,7 @@ def gp_datdir(initial, topN):
return 'done'

if __name__ == '__main__':
checkSymLink()
parser = argparse.ArgumentParser()
parser.add_argument("initial", help="country initial = input subdir with txt files")
parser.add_argument("topN", help="number of most populated countries to plot")
Expand Down

0 comments on commit ce60f4d

Please sign in to comment.