lcpp-org / RustBCA

A free, open-source Binary Collision Approximation (BCA) code for ion-material interactions including sputtering, implantation, and reflection
https://github.com/lcpp-org/RustBCA/wiki
GNU General Public License v3.0
41 stars 14 forks source link

[bug] Error while running the example #223

Closed emlstoj closed 1 year ago

emlstoj commented 1 year ago

I was trying to execute the example boron_nitride_0D.toml and got the following error:

thread 'main' panicked at 'called Result::unwrap() on an Err value: Could not parse TOML file. Be sure you are using the correct input file mode (e.g., ./RustBCA SPHERE sphere.toml or RustBCA.exe 0D mesh_0d.toml).

Caused by: invalid type: floating point 0.065, expected a sequence for key geometry_input.densities at line 31 column 16', src/input.rs:35:11 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace