Hello,
I encountered an error trying to run command:
python ./AF_Cluster/scripts/ClusterMSA.py -i input.a3m -o ./test_r15w/ --scan --min_samples 5 --run_PCA r15w
it yields:
File "/home/users/rmadaj/anaconda3/envs/util/lib/python3.9/site-packages/sklearn/cluster/_dbscan.py", line 388, in fit
core_samples = np.asarray(n_neighbors >= self.min_samples, dtype=np.uint8)
TypeError: '>=' not supported between instances of 'numpy.ndarray' and 'str'
As it came out, fix is just adding type=int at declaring args for argparse:
p.add_argument('--min_samples', action='store',default=3, help='Default min_samples for DBSCAN (Default 3, recommended no lower than that).', **type=int**)
Just if somebody had problems declaring minimum samples :)
Regards,
Rafał
Hello,
I encountered an error trying to run command:
it yields:
As it came out, fix is just adding
type=intat declaring args for argparse:Just if somebody had problems declaring minimum samples :)
Regards,
Rafał