mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +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()
|
subpath=datadir/self.GetFileType().name.lower()
|
||||||
if not subpath.exists():
|
if not subpath.exists():
|
||||||
subpath.mkdir()
|
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():
|
if not file.exists():
|
||||||
with file.open("w") as f:
|
with file.open("w") as f:
|
||||||
for key,value in self.getMetadata().items():
|
for key,value in self.getMetadata().items():
|
||||||
|
Loading…
Reference in New Issue
Block a user