-
Notifications
You must be signed in to change notification settings - Fork 0
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 when using wsinfer outputs -- no matching files #17
Comments
I think I see it. We have a grep call at line 76 in WSIinfer never has the prediction/color prefix, so I'll have a flag that if grep(prediction) returns 0 then don't run that trim. Sound good? |
Changes made for TIL and Canc sections, shown below for TIL only
New Code:
|
is there a different path in the code to deal with wsinfer outputs? we would want to take that path if we detect that the files are from wsinfer. there's at least things we can test:
there should also be a message printed saying that it has found wsinfer outputs and will use those. my only worry about assuming that we have wsinfer outputs if there are no files with prediction- prefixes is that if there are no files at all (or maybe the user passed a nested directory), then the error will be confusing. |
Yes that'll just require a little shuffling but should be just as straightforward. Currently WSInfer detection is managed after parsing (and really is just a csv suffix check). See lymphFormatCsv object for that detection |
Question @kaczmarj, does WSInfer spit any log files into the output directory? Something we would have to drop on a glob before running? I dont think so, but wanted to make sure |
Yes, it creates several directories. model-outputs, stitches, patches, and a json file with runtime info.Best,JakubOn Apr 14, 2023, at 12:55, Luke Torre-Healy ***@***.***> wrote:
Question @kaczmarj, does WSInfer spit any log files into the output directory? Something we would have to drop on a glob before running? I dont think so, but wanted to make sure
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
here is a tree of wsinfer outputs. keep in mind that
|
hi @lthealy - i am running the tumor-til analysis pipeline on wsinfer outputs. i'm getting an error that "no predictions had exact pairs".
i have attached a tar file with a small dataset (one slide) to reproduce this error.
data.tar.gz
the dataset has the following folder structure:
here is the error:
The text was updated successfully, but these errors were encountered: