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

value error... change to float? #5

Closed
magruca opened this issue Jan 23, 2019 · 3 comments
Closed

value error... change to float? #5

magruca opened this issue Jan 23, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@magruca
Copy link
Collaborator

magruca commented Jan 23, 2019

In GitLab by @magr0763 on Dec 19, 2018, 12:16

So I was trying to get barcodes generates for data with 0 values manually, and upon editing the dataframes, I ran into a ValueError:

File "/Users/magr0763/.local/lib/python3.6/site-packages/DAStk/differential_md_score.py", line 53, in main
    control_nr_peaks[line_chunks[0][:-4]] = int(line_chunks[3])

ValueError: invalid literal for int() with base 10: '6.0'

I'm a little surprised that this is only an error when I save the dataframe after edits. That said, I changed int to float in that line 53 and it's working fine now. I'm not sure if it will matter with the update, but figured I'd mention it.

@magruca magruca added the bug Something isn't working label Jan 23, 2019
@magruca
Copy link
Collaborator Author

magruca commented Jan 23, 2019

In GitLab by @igtr4848 on Jan 7, 2019, 12:33

Thanks! Fixed on the next release (0.1.6).

@magruca
Copy link
Collaborator Author

magruca commented Jan 23, 2019

In GitLab by @igtr4848 on Jan 7, 2019, 12:33

assigned to @igtr4848

@magruca
Copy link
Collaborator Author

magruca commented Feb 1, 2019

Changed.

@magruca magruca closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants