mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-23 21:03:54 +01:00
Support the new article metadata in datafileBuilder
This commit is contained in:
parent
1a9198082b
commit
5c1e1b501d
@ -53,7 +53,7 @@ class dataFileBase(object):
|
||||
self.code = None
|
||||
self.method = None
|
||||
self.excitations = []
|
||||
self.DOI = ''
|
||||
self.article = ''
|
||||
|
||||
@property
|
||||
def IsTBE(self):
|
||||
@ -102,7 +102,7 @@ class dataFileBase(object):
|
||||
dic["Comment"]=self.comment
|
||||
dic["code"]="" if self.code is None else self.code.toDataString()
|
||||
dic["method"]="" if self.method is None else self.method.toDataString()
|
||||
dic["DOI"]="" if self.DOI is None else self.DOI
|
||||
dic["article"]="" if self.article is None else self.article
|
||||
return dic
|
||||
|
||||
def toFile(self,datadir,suffix=None):
|
||||
|
Loading…
Reference in New Issue
Block a user