mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-03 20:53:59 +01:00
Fix space in file names
This commit is contained in:
parent
8c4106582f
commit
210d727e84
@ -69,7 +69,7 @@ class dataFileBase(object):
|
||||
subpath=datadir/self.GetFileType().name.lower()
|
||||
if not subpath.exists():
|
||||
subpath.mkdir()
|
||||
file=subpath/"{}_{}_{}.dat".format(self.molecule.lower(),self.method.name,self.method.basis)
|
||||
file=subpath/"{}_{}_{}.dat".format(self.molecule.lower().replace(" ","_"),self.method.name,self.method.basis)
|
||||
if not file.exists():
|
||||
with file.open("w") as f:
|
||||
for key,value in self.getMetadata().items():
|
||||
|
Loading…
Reference in New Issue
Block a user