本文整理汇总了Python中nedda.staging.staging.tnm_stage函数的典型用法代码示例。如果您正苦于以下问题:Python tnm_stage函数的具体用法?Python tnm_stage怎么用?Python tnm_stage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tnm_stage函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: test_colon_cancer_IIIA
def test_colon_cancer_IIIA(self):
self.assertEquals('IIIA', tnm_stage('C18.0', 'T1', 'N1', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T2', 'N1', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T1', 'N1a', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T2', 'N1a', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T1', 'N1b', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T2', 'N1b', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T1', 'N1c', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T2', 'N1c', 'M0', 'C'))
self.assertEquals('IIIA', tnm_stage('C18.0', 'T1', 'N2a', 'M0', 'C'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:10,代码来源:tests_colon.py
示例2: test_lung_cancer_IIIA
def test_lung_cancer_IIIA(self):
self.assertEquals('IIIA', tnm_stage('C34.0', 'T1a', 'N2', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T1b', 'N2', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T2a', 'N2', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T2b', 'N2', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T3', 'N1', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T3', 'N2', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T4', 'N0', 'M0'))
self.assertEquals('IIIA', tnm_stage('C34.0', 'T4', 'N1', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:9,代码来源:tests_lung.py
示例3: test_corpus_uteri_carcinomas_cancer_IIIC2
def test_corpus_uteri_carcinomas_cancer_IIIC2(self):
self.assertEquals('IIIC2', tnm_stage('C54.0', 'T1', 'N2', 'M0', '', '', '', 'C'))
self.assertEquals('IIIC2', tnm_stage('C54.0', 'T2', 'N2', 'M0', '', '', '', 'C'))
self.assertEquals('IIIC2', tnm_stage('C54.0', 'T3', 'N2', 'M0', '', '', '', 'C'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:4,代码来源:tests_corpus_uteri_carcinomas.py
示例4: test_cervix_uteri_cancer_IIIB
def test_cervix_uteri_cancer_IIIB(self):
self.assertEquals('IIIB', tnm_stage('C53.0', 'T3b', 'N0', 'M0'))
self.assertEquals('IIIB', tnm_stage('C53.0', 'T3b', 'N1', 'M0'))
self.assertEquals('IIIB', tnm_stage('C53.0', 'T1', 'N1', 'M0'))
self.assertEquals('IIIB', tnm_stage('C53.0', 'T2', 'N1', 'M0'))
self.assertEquals('IIIB', tnm_stage('C53.0', 'T3', 'N1', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:6,代码来源:tests_cervix_uteri.py
示例5: test_corpus_uteri_carcinomas_cancer_IIIB
def test_corpus_uteri_carcinomas_cancer_IIIB(self):
self.assertEquals('IIIB', tnm_stage('C54.0', 'T3b', 'N0', 'M0', '', '', '', 'C'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_corpus_uteri_carcinomas.py
示例6: test_breast_cancer_IB
def test_breast_cancer_IB(self):
self.assertEquals('IB', tnm_stage('C50.0', 'T0', 'N1mi', 'M0'))
self.assertEquals('IB', tnm_stage('C50.0', 'T1', 'N1mi', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:3,代码来源:tests_breast.py
示例7: test_cervix_uteri_cancer_IVB
def test_cervix_uteri_cancer_IVB(self):
self.assertEquals('IVB', tnm_stage('C53.0', 'Tis', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1a', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1a1', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1a2', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1b', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1b1', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T1b2', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T2', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T2a', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T2a1', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T2a2', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T2b', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T3', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T3a', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T3b', 'N0', 'M1'))
self.assertEquals('IVB', tnm_stage('C53.0', 'T4', 'N0', 'M1'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:18,代码来源:tests_cervix_uteri.py
示例8: test_corpus_uteri_sarcomas_cancer_IIIC
def test_corpus_uteri_sarcomas_cancer_IIIC(self):
self.assertEquals('IIIC', tnm_stage('C54.0', 'T1', 'N1', 'M0', '', '', '', 'S'))
self.assertEquals('IIIC', tnm_stage('C54.0', 'T2', 'N1', 'M0', '', '', '', 'S'))
self.assertEquals('IIIC', tnm_stage('C54.0', 'T3', 'N1', 'M0', '', '', '', 'S'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:4,代码来源:tests_corpus_uteri_sarcomas.py
示例9: test_corpus_uteri_sarcomas_cancer_I
def test_corpus_uteri_sarcomas_cancer_I(self):
self.assertEquals('I', tnm_stage('C54.0', 'T1', 'N0', 'M0', '', '', '', 'S'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_corpus_uteri_sarcomas.py
示例10: test_stomach_cancer_0
def test_stomach_cancer_0(self):
self.assertEquals('0', tnm_stage('C16.9', 'Tis', 'N0', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_stomach.py
示例11: test_colon_cancer_0
def test_colon_cancer_0(self):
self.assertEquals('0', tnm_stage('C18.0', 'Tis', 'N0', 'M0', ''))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_colon.py
示例12: test_stomach_cancer_IIIC
def test_stomach_cancer_IIIC(self):
self.assertEquals('IIIC', tnm_stage('C16.9', 'T4b', 'N2', 'M0'))
self.assertEquals('IIIC', tnm_stage('C16.9', 'T4b', 'N3', 'M0'))
self.assertEquals('IIIC', tnm_stage('C16.9', 'T4a', 'N3', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:4,代码来源:tests_stomach.py
示例13: test_stomach_cancer_IV
def test_stomach_cancer_IV(self):
self.assertEquals('IV', tnm_stage('C16.9', 'Tis', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'Tis', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'Tis', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'Tis', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T0', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T0', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T0', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T0', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T1', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T1', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T1', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T1', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T2', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T2', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T2', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T2', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T3', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T3', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T3', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T3', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4a', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4a', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4a', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4a', 'N3', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4b', 'N0', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4b', 'N1', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4b', 'N2', 'M1'))
self.assertEquals('IV', tnm_stage('C16.9', 'T4b', 'N3', 'M1'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:40,代码来源:tests_stomach.py
示例14: test_stomach_cancer_IIB
def test_stomach_cancer_IIB(self):
self.assertEquals('IIB', tnm_stage('C16.9', 'T4a', 'N0', 'M0'))
self.assertEquals('IIB', tnm_stage('C16.9', 'T3', 'N1', 'M0'))
self.assertEquals('IIB', tnm_stage('C16.9', 'T2', 'N2', 'M0'))
self.assertEquals('IIB', tnm_stage('C16.9', 'T1', 'N3', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:5,代码来源:tests_stomach.py
示例15: test_stomach_cancer_IA
def test_stomach_cancer_IA(self):
self.assertEquals('IA', tnm_stage('C16.9', 'T1', 'N0', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_stomach.py
示例16: test_cervix_uteri_cancer_0
def test_cervix_uteri_cancer_0(self):
self.assertEquals('0', tnm_stage('C53.0', 'Tis', 'N0', 'M0'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_cervix_uteri.py
示例17: test_corpus_uteri_carcinomas_cancer_IVA
def test_corpus_uteri_carcinomas_cancer_IVA(self):
self.assertEquals('IVA', tnm_stage('C54.0', 'T4', 'N0', 'M0', '', '', '', 'C'))
self.assertEquals('IVA', tnm_stage('C54.0', 'T4', 'N1', 'M0', '', '', '', 'C'))
self.assertEquals('IVA', tnm_stage('C54.0', 'T4', 'N2', 'M0', '', '', '', 'C'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:4,代码来源:tests_corpus_uteri_carcinomas.py
示例18: test_colon_cancer_I
def test_colon_cancer_I(self):
self.assertEquals('I', tnm_stage('C18.0', 'T1', 'N0', 'M0', 'A'))
self.assertEquals('I', tnm_stage('C18.0', 'T2', 'N0', 'M0', 'A'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:3,代码来源:tests_colon.py
示例19: test_corpus_uteri_carcinomas_cancer_0
def test_corpus_uteri_carcinomas_cancer_0(self):
self.assertEquals('0', tnm_stage('C54.0', 'Tis', 'N0', 'M0', '', '', '', 'C'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_corpus_uteri_carcinomas.py
示例20: test_colon_cancer_IIC
def test_colon_cancer_IIC(self):
self.assertEquals('IIC', tnm_stage('C18.0', 'T4b', 'N0', 'M0', 'B'))
开发者ID:danielacbarroso,项目名称:nedda_pypi,代码行数:2,代码来源:tests_colon.py
注:本文中的nedda.staging.staging.tnm_stage函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论