Skip to content

"raw_input" is not defined #11

Description

@cuicanwansui

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
}]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions