Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using '-ps averages' #22

Open
joebowness opened this issue Apr 7, 2023 · 5 comments
Open

Error using '-ps averages' #22

joebowness opened this issue Apr 7, 2023 · 5 comments

Comments

@joebowness
Copy link

Hello!

Thanks for making this tool! I have recently discovered it, and mostly it is working great for how I want to visualise my tracks.

The only thing I have not been able to work yet is that when using the '-ps averages' mode, I get this error:

Traceback (most recent call last):
File "SparK.py", line 622, in
coords.append([get_relative_hight(np.average(averages)), x_pos])
File "SparK.py", line 181, in get_relative_hight
return((raw_value * hight * relative_track_hight_percentage) / max_value) # to not go up to the max
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'

The same command works perfectly well if I omit the '-ps averages' flag (but it overlays separate tracks for each replicate). Can you give me any insight on what might be going wrong for me here?

Cheers!

@harbourlab
Copy link
Owner

harbourlab commented Apr 7, 2023 via email

@joebowness
Copy link
Author

joebowness commented Apr 8, 2023 via email

@harbourlab
Copy link
Owner

harbourlab commented Apr 8, 2023 via email

@joebowness
Copy link
Author

joebowness commented Apr 10, 2023 via email

@harbourlab
Copy link
Owner

harbourlab commented Apr 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants