Skip to content

Skim offset hardwired to -1 #390

@mattwigway

Description

@mattwigway

On the develop2 branch, the skim offset is hardwired to -1 on Line 185 of skim_dictionary.py:

            # assume this is a one-based skim map
            offset_mapper.set_offset_int(-1)

This causes activitysim to fail when run with 0-based TAZ input data. Workaround for now is to add a mapping to the skims file that is just the output of np.arange(n_zones). This may be the issue underlying #388 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RefactorChanges that neither fixes a bug nor adds a featureUsabilityChanges that improve usability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions