Closed aplowman closed 5 years ago
Since CASTEP works without a param file, write_input_files should also work when the param argument is None. But at the moment, such a scenario rasies a TypeError:
write_input_files
param
None
TypeError
TypeError: 'NoneType' object is not subscriptable
with regards to this line in write_input_files:
task = param['task'].upper()
Workaround is to add param={'task': 'singlepoint'} to the invocation of write_input_files.
param={'task': 'singlepoint'}
Since CASTEP works without a param file,
write_input_files
should also work when theparam
argument isNone
. But at the moment, such a scenario rasies aTypeError
:with regards to this line in
write_input_files
: