-
Notifications
You must be signed in to change notification settings - Fork 213
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
Aperio ImageScope xml problem #94
Comments
Hi - |
Thanks for your prompt reply! I am not familiar how Aperio xmls should looks like, may be something is wrong with mine... Thanks! |
This is an example of the first few lines of one of my xml files:
|
so you should have vertices with the coordinates of the contours of the region selected |
Also, I think I may have introduced a bug in the v6 last time I changed it. Please try to replace line 1233 with |
Is it your whole xml? Looks like it has only 1 coordinate. Also, I never tested it with "circles" and "square" tools. It is meant for the selections made with the "free hand" tools |
Yes it is my whole xml. Hmm, really looks like it has coordinates for only two dots... |
I have one more kind of related question. If we take for example the one you shared some time ago: #14 (comment) Thank you in advance! |
When you get into the repository to download svs images, you can also download associated biospecimen and clinical files with different types of information (it can be if the tissue contains tumor or just normal tissue, whether to the tumor is LUSC, LUAD or MESO for example for Lung, the stage, etc...). The json file in our original paper was retrieved from the "legacy" website. The format seems to have changed in the new one. |
After being run on deepzoom, the ROI is supposed to be filled with white. There may be still something weird with your xml file. |
It is working! Thank you so much! It is turned out that xml does not work when I used "Export Annotations to File". Really appreciate your help and time. |
Dear Nicolas,
I am trying to use ImageScope ROIs saved as xml format to tile svs image and got error from the line 952.
Here is my command:
../DeepPATH_code/00_preprocessing/0b_tileLoop_deepzoom5.py -s 299 -e 0 -j 32 -B 25 -o ../imagescope_test/out "../seminoma/TCGA-XE-AAO4_svs/*.svs" -x ../imagescope_test/xml_seminoma/
Error:
Traceback (most recent call last): File "../DeepPATH_code/00_preprocessing/0b_tileLoop_deepzoom5.py", line 952, in <module> if (opts.oLabelref in oLabel) or (opts.oLabelref==''): TypeError: 'in <string>' requires string as left operand, not NoneType
My xml file (uploaded as txt):
TCGA-XE-AAO4-01Z-00-DX1.xml.txt
Is something wrong with xml file?
I tried to use -F option to change the label field but still got the same error.
Thank you in advance!
The text was updated successfully, but these errors were encountered: