Py-rex icon indicating copy to clipboard operation
Py-rex copied to clipboard

"raw_input" is not defined

Open cuicanwansui opened this issue 1 year ago • 0 comments

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

cuicanwansui avatar Jul 16 '22 12:07 cuicanwansui