10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 22:33:56 +01:00

Merge branch 'master' into ADC

This commit is contained in:
Mickaël Véril 2020-09-10 09:41:12 +02:00
commit 04f75a7971

View File

@ -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):