GenoML / genoml2

GenoML (genoml2) is an open source Python package. It is an automated machine learning (autoML) platform for genomics data
Apache License 2.0
27 stars 17 forks source link

Too many arguments for continuous supervised tune #32

Open njohnso6 opened 2 years ago

njohnso6 commented 2 years ago

https://github.com/GenoML/genoml2/blob/8040f2b1b460cc6085527e5fd65963518459cd11/genoml/__main__.py#L106

When I run genoml continuous supervised tune \ --prefix outputs/ I get the following error:

Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/genoml/main.py", line 393, in handle_endpoints endpoint(*args) TypeError: main() takes 3 positional arguments but 4 were given

I believe it has to do with the "matching_columns" argument that is thrown in. The receiving function only allows three arguments. The matching columns one should be deleted.

m-makarious commented 2 years ago

Hi @njohnso6 - all code under "continuous" is currently under active development, only the discrete supervised modules have been extensively built out at this time (as indicated in the README).

Thank you for flagging this and the other issues!