10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-22 10:47:33 +02:00

Corrected create_ezfio_from_xyz.ml

This commit is contained in:
Anthony Scemama 2014-09-10 15:11:40 +02:00
parent cac713584d
commit 7a9316df55

View File

@ -18,6 +18,14 @@ let spec =
let run ?o b c m xyz_file =
(*
(* DEBUG *)
Printf.printf "Charge : %d
Multiplicity : %d
Basis : %s
File : %s\n" c m b xyz_file;
*)
(* Open basis set channel *)
let basis_channel =
In_channel.create
@ -26,7 +34,8 @@ let run ?o b c m xyz_file =
(* Read molecule *)
let molecule =
Molecule.of_xyz_file xyz_file
Molecule.of_xyz_file xyz_file ~charge:c
~multiplicity:(Multiplicity.of_int m)
in
(* Build EZFIO File name *)