-
Notifications
You must be signed in to change notification settings - Fork 33
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
Question about save SPRING file #14
Comments
Hello,
Did you change the notebook at all from the original? Also what version of
python and OS are you using?
…On Wed, Jun 19, 2019 at 9:12 AM njumay ***@***.***> wrote:
I am learning the SPRING Viewer by repeating the code of tutorial pbmc 4K.
I have some trouble with the last step(Save SPRING files).
I got the error : TypeError: 1386 is not JSON serializable(
https://github.com/njumay/SPRING/blob/master/spring_example_pbmc4k.ipynb).
I do not kown how to solve this problem.
I hope someone can help me. Thanks a lot.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=ABO45MSM7J74VFNTPLHHBWDP3IWELA5CNFSM4HZJPB72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2MTXEA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABO45MVBMYNMP2J75WEISL3P3IWELANCNFSM4HZJPB7Q>
.
|
I did not change anything in the notebook. And i run this notebook on python2.7 installing in Windows10. |
Hi,
Can you identity the datatype of the int that is giving the problem in
json?
Alternatively, can you send me a screenshot of the full traceback of the
error? Then I can give you an updated noteook which would identify the
problem
…On Wed, Jun 19, 2019 at 10:41 AM njumay ***@***.***> wrote:
I did not change anything in the notebook. And i run this notebook on
python2.7 installing in Windows10.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=ABO45MVZBYX5SYXAZPN7QFTP3JAS5A5CNFSM4HZJPB72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCC6TY#issuecomment-503590735>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABO45MTR5KRUAGA45BUTOBDP3JAS5ANCNFSM4HZJPB7Q>
.
|
Did you mean the feedback, when I ran the notebook? Since it is a little long, I upload the files to github. And this is the URL: https://github.com/njumay/SPRING/blob/master/spring_example_pbmc4k.ipynb . |
Could you add the the following line below line 632 of spring_helpers.py
and send the output?
for k,v in color_stats.items(): print(k,v,[type(vv) for vv in v])
…On Sun, Jun 23, 2019 at 3:04 AM njumay ***@***.***> wrote:
Did you mean the feedback, when I ran the notebook? Since it is a little
long, I upload the files to github. And this is the URL:
https://github.com/njumay/SPRING/blob/master/spring_example_pbmc4k.ipynb .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=ABO45MS6MQNQODRFUUTF3GTP34N6TA5CNFSM4HZJPB72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKYEFI#issuecomment-504726037>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABO45MRFPNPJAICON7GHFADP34N6TANCNFSM4HZJPB7Q>
.
|
Hi! Fixed problem by adding this line after line 632
also removed Thanks!! |
I am learning the SPRING Viewer by repeating the code of tutorial pbmc 4K.
I have some trouble with the last step(Save SPRING files).
I got the error : TypeError: 1386 is not JSON serializable(https://github.com/njumay/SPRING/blob/master/spring_example_pbmc4k.ipynb).
I do not kown how to solve this problem.
I hope someone can help me. Thanks a lot.
The text was updated successfully, but these errors were encountered: