Skip to content

Hard-coded file paths. #23

@CarlColglazier

Description

@CarlColglazier

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions