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

NameError: name 'thread_num' is not defined #10

Open
albobson opened this issue Jul 27, 2022 · 0 comments
Open

NameError: name 'thread_num' is not defined #10

albobson opened this issue Jul 27, 2022 · 0 comments

Comments

@albobson
Copy link

Hello,

I found an issue but I think I figured out the solution. I did a clean install of DBSCAN-SWA this morning, but when I tried to run it, I kept getting the error message:

Traceback (most recent call last): File "/home/arobert2/DBSCAN-SWA/bin/dbscan-swa.py", line 2759, in <module> thread_num <- 10 NameError: name 'thread_num' is not defined

I think I was able to figure out what was wrong. When I went to line 2759, I saw that thread_num was set to 10 using an arrow, like is done in R (thread_num <- 10). When I changed the line to instead say thread_num = 10, the code seems to run fine.

Thank you!

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

1 participant