Open Frillian opened 1 year ago
I'm no python expert but looks like there's an error in the file dbscan-swa.py Got to line 2761 in dbscan-swa.py with the text "global diamond_thread_num" and replace the spaces at the front of the line with a single tab.
Indentations in python need to be consistent, using spaces or tabs but not both.
It hits upon the classic spaces vs. tabs issue: https://thenewstack.io/spaces-vs-tabs-a-20-year-debate-and-now-this-what-the-hell-is-wrong-with-go/ which has a great reference to the debate in the series Silicon Valley.
nahlgren's recommendation worked
Indeed, there is a small inaccuracy in the dbscan-swa.py script. The correction proposed by nahlgren worked great!
Hi i did try but it didn't work
python dbscan-swa.py File "/home/bvsbic/neelam/DBSCAN-SWA/bin/DBSCAN-SWA/bin/dbscan-swa.py", line 2761 global diamond_thread_num ^ IndentationError: unindent does not match any outer indentation level
**- if not os.path.exists(outdir):
-**
Hi, when I run this command 'python DBSCAN-SWA-master/bin/dbscan-swa.py --h' and then: File "/home/lfb/Public/Lfb/pha/DBSCAN-SWA-master/bin/dbscan-swa.py", line 2761 global diamond_thread_num ^ IndentationError: unindent does not match any outer indentation level How do I solve this problem? Thanks