Skip to content

_write_walks_to_disk crashes for the non-str walk items #98

Open
@luav

Description

@luav

Walks persistence fails for the non-str walk items (in case the module is used as a library from https://github.com/eXascaleInfolab/HARP with int walk items).

  File "/usr/local/lib/python3.5/dist-packages/deepwalk-1.0.3-py3.5.egg/deepwalk/walks.py", line 85, in write_walks_to_disk
    for file_ in executor.map(_write_walks_to_disk, args_list):
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 556, in result_iterator
    yield future.result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
TypeError: sequence item 0: expected str instance, int found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions