TheoChem-VU / TCutility

Utility functions/classes for the TheoCheM programs
https://theochem-vu.github.io/TCutility/
MIT License
6 stars 0 forks source link

Decouple `pyfmo` from `tcutility` in `tcutility.job.DensfJob` #298

Closed YHordijk closed 3 months ago

YHordijk commented 3 months ago

Currently, to calculate a cube file for a given MO or SFO we have to give pyfmo MO and SFO objects. This requires the user to have pyfmo, even though that should not be necessary for DensfJob. I suggest we remove the tcutility.job.DensfJob.orbital method and replace it with methods that allow the user to set the spin, symlabel and index of the desired orbitals. The pyfmo MO and SFO objects can then have methods that set up their own calculations.