PatWalters / Free-Wilson

An implementation of the Free-Wilson SAR analysis method using the RDKit
MIT License
54 stars 11 forks source link

Test throws error #2

Closed vja26 closed 5 years ago

vja26 commented 5 years ago

Hi, I tried to install and run this package, but it throws an error for the test suggested on the github page:

$ ../free_wilson.py all --scaffold scaffold.mol --in fw_mols.smi --act fw_act.csv --prefix test
Traceback (most recent call last):
  File "../free_wilson.py", line 20, in <module>
    from free_wilson_enumeration import free_wilson_enumeration
  File "/Users/venkaaj1/softwares/Free-Wilson-master/free_wilson_enumeration.py", line 19
    def read_input(model_file_name: str, vector_file_name: str) -> Tuple[object, object]:
                                  ^
SyntaxError: invalid syntax

Thanks

vja26 commented 5 years ago

Got it to work with python3 and additional dependencies including pandas and rdkit.

PatWalters commented 5 years ago

Glad everything works, please let me know if you have questions