def get_sbol_from_xml(self, source_data):
"""
Read in SBOL XML from source data and set document
"""
filename = '/tmp/' + str(uuid.uuid4()) + '.xml'
with open(filename, 'w+') as sf:
sf.write(self.file_data.read())
self.document.read(filename)
os.remove(filename)
评论列表
文章目录