grimme-lab / MindlessGen

Mindless molecule generator in a Python package.
Apache License 2.0
20 stars 3 forks source link

Continuous `.xyz` file writing #26

Closed marcelmbn closed 2 months ago

marcelmbn commented 2 months ago

Current state

In the current state, .xyz files are written only after the run. I.e., if --num-molecules is assigned to a value higher than 1 the molecules are written to a file only if all molecules are generated. A look at the molecule xyz files during the generation is not possible.

How to solve?

Introduce an entry in the ConfigClass controlling if xyz files should be written or not. If yes, write it as soon as it's generated. Only the list with all molecules shall be written at the very end.