-
Notifications
You must be signed in to change notification settings - Fork 17
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
Failed to save the path as .swc file #147
Comments
Hi @ruiwang1127 , thanks for the report. That seems odd, would you be able to post the .swc and .traces files here? |
Hi there, please see attached files. I also put the input tiff file there. Many thanks. |
Thanks! I suspect the issue is that the floating point values in the swc have commas instead of periods for the decimal, which is super strange...
When I trace and export an swc on the same image, I get the expected floating point format
I have never seen this happen before, @tferr do you have any ideas? Could it be something about European computers using a different format?? |
Yes, must be related to the locale. @ruiwang1127, I am assuming your computer is set to a language that uses a comma as a decimal separator? Either way, it is a bug. I will try to look into it this week. I propose we use only periods (.) when saving SWC files, as I think that is the norm. @carshadi, agree? |
that makes sense to me |
@ruiwang1127, could you please run Fiji's updater and try SNT4.1.14, which was just released. I am convinced it fixes this issue. Unfortunately, it won't fix any pre-existing files that you may have using comma delimiters. Let us know if you need help re-importing them. |
Describe the bug
Failed to save the path as .swc file
To Reproduce
Steps to reproduce the behavior:
finish the tracing and select
file-save tracing-swc
.swc saved but this .swc file cannot be loaded properly
![image](https://user-images.githubusercontent.com/63800107/219631261-f063deca-9371-4281-bccd-35da7285abb2.png)
![image](https://user-images.githubusercontent.com/63800107/219631476-e20b94ce-e868-406b-a4d7-4b5597ce70b6.png)
when save as .traces, everything looks fine in SNT
also tried the batch converter in script: convert correctly-loadable .trace files to .swc, then if I try to open the swc files, same error appears
Expected behavior
.swc files correctly saved and can be analized by other softwares.
Fiji details (If possible, please paste here the contents of Plugins>Debug>System Information):
system info.txt
The text was updated successfully, but these errors were encountered: