示例#1
0
 def create_metadata(self, form):
     formatter = AOFRFormatter()
     metadata = formatter.toString(self.paper,
                                   'article.pdf',
                                   form,
                                   pretty=True)
     return metadata
示例#2
0
 def create_metadata(self, form):
     formatter = AOFRFormatter()
     metadata = formatter.toString(self.paper, 'article.pdf',
                                   form, pretty=True)
     return metadata
示例#3
0
 def test_generate_metadata_doi(self):
     # f =
     AOFRFormatter()
     dois = ['10.1175/jas-d-15-0240.1']
     for doi in dois:
         Paper.create_by_doi(doi)