iodata.test.test_fchk module

Test iodata.formats.fchk module.

check_load_azirine(key, numbers)[source]

Perform some basic checks on a azirine fchk file.

check_load_dump_consistency(tmpdir, fn, match=None)[source]

Check if dumping and loading an FCHK file results in the same data.

Parameters:
  • tmpdir (str) – The temporary directory to dump and load the file.

  • fn (str) – The filename to load.

  • match (Optional[str]) – When given, loading the file is expected to raise a warning whose message string contains match.

check_load_nitrogen(key, numbers, numbers_spin)[source]

Perform some basic checks on a nitrogen fchk file.

check_normalization_dm_azirine(key)[source]

Perform some basic checks on a 2h-azirine fchk file.

check_trj_basics(trj, nsteps, title, irc)[source]

Check sizes of arrays, step and point attributes.

load_fchk_helper(fn_fchk)[source]

Load a testing fchk file with iodata.iodata.load_one.

load_fchk_trj_helper(fn_fchk)[source]

Load a trajectory from a testing fchk file with iodata.iodata.load_many.

test_atfrozen()[source]
test_atgradient()[source]
test_athessian()[source]
test_atmasses()[source]
test_dump_fchk_from_molden(tmpdir, path, match)[source]
test_dump_fchk_from_molekel(tmpdir, path, match)[source]
test_dump_fchk_from_wfn(tmpdir, path)[source]
test_dump_fchk_from_wfn_fci_lif(tmpdir)[source]
test_dump_fchk_from_wfn_fci_lih_cation(tmpdir)[source]
test_dump_fchk_from_wfx(tmpdir, path)[source]
test_dump_fchk_from_wfx_lih_cisd_cation(tmpdir)[source]
test_fchk_generalized_contraction(tmpdir)[source]
test_generalized_orbitals()[source]
test_load_azirine_cc()[source]
test_load_azirine_ci()[source]
test_load_azirine_mp2()[source]
test_load_azirine_mp3()[source]
test_load_dump_consistence_fchk(tmpdir, path)[source]
test_load_fchk_ch3_rohf_g03()[source]
test_load_fchk_ghost_atoms()[source]
test_load_fchk_h_sto3g_num()[source]
test_load_fchk_hf_sto3g_num()[source]
test_load_fchk_hf_water_atcharges()[source]
test_load_fchk_lih_321g_hf()[source]
test_load_fchk_nonexistent()[source]
test_load_fchk_o2_cc_pvtz_cart_num()[source]
test_load_fchk_o2_cc_pvtz_pure_num()[source]
test_load_fchk_water_sto3g_hf()[source]
test_load_fchk_water_sto3g_hf_qchem()[source]
test_load_monosilicic_acid_hf_lan()[source]
test_load_nbasis_indep(tmpdir)[source]
test_load_nitrogen_cc()[source]
test_load_nitrogen_ci()[source]
test_load_nitrogen_mp2()[source]
test_load_nitrogen_mp3()[source]
test_load_water_hfs_321g()[source]
test_nelec_charge()[source]
test_normalization_dm_azirine_cc()[source]
test_normalization_dm_azirine_ci()[source]
test_normalization_dm_azirine_mp2()[source]
test_normalization_dm_azirine_mp3()[source]
test_peroxide_irc()[source]
test_peroxide_opt()[source]
test_peroxide_relaxed_scan()[source]
test_peroxide_tsopt()[source]
test_spinpol()[source]