airanmehr / CLEAR

MIT License
1 stars 4 forks source link

AttributeError: numpy.float64 #1

Open Yiguan opened 5 years ago

SMUAbdullah commented 4 years ago

Hi Yiguan,

Were you able to resolve this issue with "AttributeError: 'numpy.float64' object has no attribute 'split'"? I ran into the same issue when using sync files, so I switched to the pandas dataframe and it got resolved

Yiguan commented 4 years ago

Hi Yiguan,

Were you able to resolve this issue with "AttributeError: 'numpy.float64' object has no attribute 'split'"? I ran into the same issue when using sync files, so I switched to the pandas dataframe and it got resolved

Thanks for your solution!

SMUAbdullah commented 4 years ago

I ran some tests and realized that the "AttributeError: 'numpy.float64' object has no attribute 'split'" appears because of an extra whitespace character in the .pops file. For example in the below image, if I insert a tab character after the 800,1 I get this error. But once I remove it, it disappears pops

Though I still can't run sync files even after resolving this issue, and need to check what's wrong in the sync files I'm using.