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

"raw_input" is not defined #11

Open
cuicanwansui opened this issue Jul 16, 2022 · 0 comments
Open

"raw_input" is not defined #11

cuicanwansui opened this issue Jul 16, 2022 · 0 comments

Comments

@cuicanwansui
Copy link

cuicanwansui commented Jul 16, 2022

ROI = Region Of Interest
这个参数是需要输入什么内容?导出的在RTSS文件只有ROI的编号,没有名称
What is this parameter to be entered? The exported RTSS file has only the ROI number, not the name.

In:
from Pyrex import PyrexReader
img_path = 'e14607\s191368'
rtstruct_path = 'e14607\s191530'
ROI = "0"
Img,Mask = PyrexReader.Img_Bimask(img_path,rtstruct_path,ROI)

Out:
[{
"resource": "/c:/Users/cuica/Desktop/Radiomics RTSS/Pyrex/PyrexReader.py",
"owner": "generated_diagnostic_collection_name#2",
"code": {
"value": "reportUndefinedVariable",
"target": {
"$mid": 1,
"external": "https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md#diagnostic-severity-rules",
"path": "/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md",
"scheme": "https",
"authority": "github.com",
"fragment": "diagnostic-severity-rules"
}
},
"severity": 4,
"message": ""raw_input" is not defined",
"source": "Pylance",
"startLineNumber": 45,
"startColumn": 20,
"endLineNumber": 45,
"endColumn": 29
}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant