LINCellularNeuroscience/VAME

csv_to_numpy() got an unexpected keyword argument 'datapath'

xiaoli26 opened this issue · 4 comments

vame.csv_to_numpy(config, datapath='\PATH\TO\YOUR\.CSV')
error: ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
in
----> 1 vame.csv_to_numpy(config,datapath='C:\Research\VAME\vame_alpha_release-Mar16-2021\videos\pose_estimation\')

TypeError: csv_to_numpy() got an unexpected keyword argument 'datapath'

If you see the function definition (https://github.com/LINCellularNeuroscience/VAME/blob/master/vame/util/csv_to_npy.py) you will find that csv to numpy takes only one argument, and that's the (path to the) config.

If you see the function definition (https://github.com/LINCellularNeuroscience/VAME/blob/master/vame/util/csv_to_npy.py) you will find that csv to numpy takes only one argument, and that's the (path to the) config.

Thank you for your guidance!

I'm afraid some expression in the workflow guide might mislead the bachelor like me such as "vame.csv_to_numpy(config, datapath='\PATH\TO\YOUR\.CSV')"

Thanks for spotting that, it will be corrected