mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 13:41:50 +02:00
Merge branch 'master' into QUEST5
This commit is contained in:
commit
5383cb00cf
@ -53,7 +53,7 @@ class dataFileBase(object):
|
|||||||
self.code = None
|
self.code = None
|
||||||
self.method = None
|
self.method = None
|
||||||
self.excitations = []
|
self.excitations = []
|
||||||
self.DOI = ''
|
self.article = ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def IsTBE(self):
|
def IsTBE(self):
|
||||||
@ -102,7 +102,7 @@ class dataFileBase(object):
|
|||||||
dic["Comment"]=self.comment
|
dic["Comment"]=self.comment
|
||||||
dic["code"]="" if self.code is None else self.code.toDataString()
|
dic["code"]="" if self.code is None else self.code.toDataString()
|
||||||
dic["method"]="" if self.method is None else self.method.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
|
return dic
|
||||||
|
|
||||||
def toFile(self,datadir,suffix=None):
|
def toFile(self,datadir,suffix=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user