本文整理汇总了Python中problem.Problem.load方法的典型用法代码示例。如果您正苦于以下问题:Python Problem.load方法的具体用法?Python Problem.load怎么用?Python Problem.load使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类problem.Problem
的用法示例。
在下文中一共展示了Problem.load方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: initData
# 需要导入模块: from problem import Problem [as 别名]
# 或者: from problem.Problem import load [as 别名]
def initData():
"""Load data and mappings from Raw data files and mapping files"""
Patient.load()
Med.load()
Problem.load()
Lab.load()
Refill.load()
示例2: initData
# 需要导入模块: from problem import Problem [as 别名]
# 或者: from problem.Problem import load [as 别名]
def initData():
"""Load data and mappings from Raw data files and mapping files"""
Patient.load()
Med.load()
Problem.load()
Lab.load()
Refill.load()
VitalSigns.load()
Immunization.load()
Procedure.load()
SocialHistory.load()
FamilyHistory.load()
Allergy.load()
示例3: load
# 需要导入模块: from problem import Problem [as 别名]
# 或者: from problem.Problem import load [as 别名]
def load(self, puzzle_data):
'''
Check how the DataManager loads puzzle data if there is an issue here.
'''
self.puzzle_id = puzzle_data[0]
self.name = puzzle_data[1]
self.instructions = puzzle_data[2]
self.app_path = puzzle_data[3]
self.state = puzzle_data[4]
# Load problems
problems_data = self.data_mgr.get_problems_data(self.puzzle_id)
for problem_data in problems_data:
problem = Problem(self.data_mgr)
problem.load(problem_data)
self.problems.append(problem)