Os.getcwd() in writeKPOINTS (VASP io-module)

From Error Wiki
Jump to: navigation, search

def writeINCAR(template,directory=os.getcwd())

and

def writeKPOINTS(template,directory=os.getcwd())


os.getcwd() seems to refer to the directory where the system was when the module was loaded.

Temporary solution: always give os.getcwd() as second argument...