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

FileNotFoundError: [Errno 2] No such file or directory: 'out/tmpedgelist.tree' #24

Open
zz242msu opened this issue Jul 1, 2023 · 1 comment

Comments

@zz242msu
Copy link

zz242msu commented Jul 1, 2023

Hi there,

I am using macOs and got this error:

/usr/local/lib/python3.10/dist-packages/py3plex/algorithms/community_detection/community_wrapper.py in parse_infomap(outfile)
98
99 outmap = {}
--> 100 with open(outfile) as of:
101 for line in of:
102 parts = line.strip().split()

FileNotFoundError: [Errno 2] No such file or directory: 'out/tmpedgelist.tree'

Looks like the file might need to be 'tmp/tmpedgelist.txt'

Thanks!

@SkBlaz
Copy link
Owner

SkBlaz commented Jul 5, 2023

Hey @zz242msu, thanks for noticing this. Indeed, the file seems to be missing. Note however that there are many other edgelists/relevant datasets present here: https://github.com/SkBlaz/py3plex/tree/master/datasets. Feel free to modify the example + PR if you find a better option

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

No branches or pull requests

2 participants