Commit ce95b5de authored by Hagen-Henrik Kowalski's avatar Hagen-Henrik Kowalski
Browse files

some bugfixes

parent 561201f8
import numpy as np
import os
import argparse
import setup_paths
from nomadcore.unit_conversion.unit_conversion import convert_unit_function
from nomadcore.parser_backend import *
......@@ -52,7 +54,7 @@ if __name__ == '__main__':
args = parser.parse_args()
if args.mainFilePath:
mainDir = os.path.dirname(os.path.dirname(os.path.abspath(args.mainFilePath)))
mainDir = os.path.dirname(args.mainFilePath)
os.chdir(mainDir)
with open("Quasi-harmonic_properties.txt") as qh:
for line in qh:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment