Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard-coded file paths. #23

Open
CarlColglazier opened this issue Jul 26, 2018 · 0 comments
Open

Hard-coded file paths. #23

CarlColglazier opened this issue Jul 26, 2018 · 0 comments
Labels

Comments

@CarlColglazier
Copy link
Collaborator

In the macro migration example:

%cd ~/research/migration/GOS/

and

def file_path(name):
    """
    Shortcut function to get the relative path to the directory
    which contains the data.
    """
    return "./examples/multiscale-migration/data/%s" % name

m.readshapefile('./gos/World/World', 'world',drawbounds=False)

These will not work on a fresh install of GOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant