atesa.tests package¶
Submodules¶
atesa.tests.test_information_error module¶
Unit and regression test for information_error.py.
atesa.tests.test_jobtype module¶
Unit and regression test for jobtype.py.
-
class
atesa.tests.test_jobtype.
Tests
[source]¶ Bases:
object
-
test_algorithm_aimless_shooting_init
()[source]¶ Tests algorithm with job_type = ‘aimless_shooting’ and thread.current_type = [‘init’]
-
test_algorithm_aimless_shooting_prod_accepted
()[source]¶ Tests algorithm with job_type = ‘aimless_shooting’ and thread.current_type = [‘prod’, ‘prod’] for an accepted move
-
test_algorithm_aimless_shooting_prod_always_new_not_accepted
()[source]¶ Tests algorithm with job_type = ‘aimless_shooting’, always_new = True and thread.current_type = [‘prod’, ‘prod’] for a move that isn’t accepted
-
test_algorithm_aimless_shooting_prod_not_always_new_not_accepted
()[source]¶ Tests algorithm with job_type = ‘aimless_shooting’, always_new = False and thread.current_type = [‘prod’, ‘prod’] for a move that isn’t accepted
-
test_algorithm_equilibrium_path_sampling_init
()[source]¶ Tests algorithm with job_type = ‘equilibrium_path_sampling’ and thread.current_type = [‘init’]
-
test_algorithm_equilibrium_path_sampling_prod_accepted
()[source]¶ Tests algorithm with job_type = ‘equilibrium_path_sampling’ and thread.current_type = [‘prod’, ‘prod’] for an accepted move
-
test_algorithm_equilibrium_path_sampling_prod_not_accepted
()[source]¶ Tests algorithm with job_type = ‘equilibrium_path_sampling’ and thread.current_type = [‘prod’, ‘prod’] for a move that isn’t accepted
-
test_algorithm_equilibrium_path_sampling_prod_not_accepted_no_accepted_yet
()[source]¶ Tests algorithm with job_type = ‘equilibrium_path_sampling’ and thread.current_type = [‘prod’, ‘prod’] for a move that isn’t accepted and with no accepted moves in the thread’s history
-
test_check_for_successful_step_aimless_shooting_init
()[source]¶ Tests check_for_successful_step with job_type = ‘aimless_shooting’ and thread.current_type = [‘init’]
-
test_check_for_successful_step_aimless_shooting_prod
()[source]¶ Tests check_for_successful_step with job_type = ‘aimless_shooting’ and thread.current_type = [‘prod’, ‘prod’]
-
test_check_for_successful_step_committor_analysis
()[source]¶ Tests check_for_successful_step with job_type = ‘committor_analysis’
-
test_check_for_successful_step_equilibrium_path_sampling
()[source]¶ Tests check_for_successful_step with job_type = ‘equilibrium_path_sampling’
-
test_check_termination_aimless_shooting_init
()[source]¶ Tests check_termination with job_type = ‘aimless_shooting’ and thread.current_type = [‘init’]
-
test_check_termination_aimless_shooting_prod
()[source]¶ Tests check_termination with job_type = ‘aimless_shooting’ and thread.current_type = [‘prod’, ‘prod’]
-
test_check_termination_committor_analysis
()[source]¶ Tests check_termination with job_type = ‘committor_analysis’
-
test_check_termination_equilibrium_path_sampling_global
()[source]¶ Tests check_termination global criterion with job_type = ‘equilibrium_path_sampling’
-
test_check_termination_equilibrium_path_sampling_thread
()[source]¶ Tests check_termination thread criterion with job_type = ‘equilibrium_path_sampling’
-
test_gatekeep_equilibrium_path_sampling
()[source]¶ Tests gatekeep with job_type = ‘committor_analysis’
-
test_get_batch_file_aimless_shooting_amber
()[source]¶ Tests thread.get_batch_template with job_type = ‘aimless_shooting’ and md_engine = ‘amber’
-
test_get_batch_file_aimless_shooting_broken
()[source]¶ Tests thread.get_batch_template with job_type = ‘aimless_shooting’ and invalid type = ‘fwdd’
-
test_get_batch_file_equilibrium_path_sampling_amber
()[source]¶ Tests thread.get_batch_template with job_type = ‘equilibrium_path_sampling’ and md_engine = ‘amber’
-
test_get_batch_file_equilibrium_path_sampling_broken
()[source]¶ Tests thread.get_batch_template with job_type = ‘equilibrium_path_sampling’ and invalid type = ‘fwdd’
-
test_get_batch_template_committor_analysis
()[source]¶ Tests get_batch_template with job_type = ‘committor_analysis’
-
test_get_initial_coordinates_aimless_shooting
()[source]¶ Tests get_initial_coordinates with job_type = ‘aimless_shooting’
-
test_get_initial_coordinates_committor_analysis_rc_out
()[source]¶ Tests get_initial_coordinates with job_type = ‘committor_analysis’ using an RC out file
-
test_get_initial_coordinates_committor_analysis_rc_out_does_not_exist
()[source]¶ Tests get_initial_coordinates with job_type = ‘committor_analysis’ using an RC out file that does not exist
-
test_get_initial_coordinates_committor_analysis_rc_out_no_shooting_points
()[source]¶ Tests get_initial_coordinates with job_type = ‘committor_analysis’ using an RC out file containing no shooting points within the threshold
-
test_get_initial_coordinates_equilibrium_path_sampling
()[source]¶ Tests get_initial_coordinates with job_type = ‘equilibrium_path_sampling’
-
test_get_inpcrd_aimless_shooting_init
()[source]¶ Tests get_inpcrd with job_type = ‘aimless_shooting’ and thread.current_type = [‘init’]
-
test_get_inpcrd_aimless_shooting_prod
()[source]¶ Tests get_inpcrd with job_type = ‘aimless_shooting’ and thread.current_type = [‘prod’, ‘prod’]
-
test_get_inpcrd_equilibrium_path_sampling
()[source]¶ Tests get_inpcrd with job_type = ‘equilibrium_path_sampling’
-
test_get_input_file_aimless_shooting
()[source]¶ Tests get_input_file with job_type = ‘aimless_shooting’
-
test_get_input_file_committor_analysis
()[source]¶ Tests get_input_file with job_type = ‘committor_analysis’
-
test_get_input_file_equilibrium_path_sampling
()[source]¶ Tests get_input_file with job_type = ‘equilibrium_path_sampling’
-
test_get_input_file_rxncor_umbrella_sampling
()[source]¶ Tests get_input_file with job_type = ‘umbrella_sampling’
-
test_get_next_step_aimless_shooting_init
()[source]¶ Tests thread.get_next_step with job_type = ‘aimless_shooting’ and type = [‘init’]
-
test_get_next_step_aimless_shooting_prod
()[source]¶ Tests thread.get_next_step with job_type = ‘aimless_shooting’ and type = [‘fwd’,’bwd’]
-
test_get_next_step_committor_analysis
()[source]¶ Tests get_next_step with job_type = ‘committor_analysis’
-
test_get_next_step_equilibrium_path_sampling_first
()[source]¶ Tests get_next_step with job_type = ‘equilibrium_path_sampling’ and an empty current_type
-
test_get_next_step_equilibrium_path_sampling_init
()[source]¶ Tests get_next_step with job_type = ‘equilibrium_path_sampling’ and current_type = [‘init’]
-
test_get_next_step_equilibrium_path_sampling_prod
()[source]¶ Tests get_next_step with job_type = ‘equilibrium_path_sampling’ and current_type = [‘prod’, ‘prod’]
-
test_update_history_aimless_shooting_init
()[source]¶ Tests update_history with job_type = ‘aimless_shooting’ and thread.current_type = [‘init’]
-
test_update_history_aimless_shooting_prod
()[source]¶ Tests update_history with job_type = ‘aimless_shooting’ and thread.current_type = [‘prod’, ‘prod’]
-
test_update_history_committor_analysis
()[source]¶ Tests update_history with job_type = ‘committor_analysis’
-
test_update_history_equilibrium_path_sampling_init
()[source]¶ Tests update_history with job_type = ‘equilibrium_path_sampling’ with current_type = [‘init’]
-
test_update_history_equilibrium_path_sampling_out_of_bounds
()[source]¶ Tests update_history with job_type = ‘equilibrium_path_sampling’ with an initially out-of-bounds RC value
-
test_update_history_equilibrium_path_sampling_prod
()[source]¶ Tests update_history with job_type = ‘equilibrium_path_sampling’ with current_type = [‘prod’, ‘prod’]
-
test_update_results_aimless_shooting_init
()[source]¶ Tests update_results with job_type = ‘aimless_shooting’ and thread.current_type = [‘init’]
-
test_update_results_aimless_shooting_prod
()[source]¶ Tests update_results with job_type = ‘aimless_shooting’ and thread.current_type = [‘prod’, ‘prod’]
-
atesa.tests.test_lmax module¶
Unit and regression test for lmax.py.
atesa.tests.test_lmax_temp module¶
atesa.tests.test_main module¶
Unit and regression test for the atesa_v2 package.
atesa.tests.test_process module¶
Unit and regression test for process.py.
atesa.tests.test_rc_eval module¶
Unit and regression test for utilities.py.
-
class
atesa.tests.test_rc_eval.
Tests
[source]¶ Bases:
object
-
test_extrema_mdtraj
()[source]¶ Tests rc_eval.main with extrema=True using sham shooting points in test_data and pytraj cvs
-
test_extrema_pytraj
()[source]¶ Tests rc_eval.main with extrema=True using sham shooting points in test_data and pytraj cvs
-
atesa.tests.test_utilities module¶
Unit and regression test for utilities.py.
-
class
atesa.tests.test_utilities.
Tests
[source]¶ Bases:
object
-
test_check_commit_bwd
()[source]¶ Tests check_commit using a dummy coordinate file and commitments defined to get result ‘bwd’
-
test_check_commit_fwd
()[source]¶ Tests check_commit using a dummy coordinate file and commitments defined to get result ‘fwd’
-
test_check_commit_none
()[source]¶ Tests check_commit using a dummy coordinate file and commitments defined to get result ‘’
-
test_check_commit_traj
()[source]¶ Tests check_commit using a dummy trajectory file and commitments defined to get result ‘fwd’
-
test_check_commit_value_errors
()[source]¶ Tests check_commit using a dummy coordinate file and commitments defined to get ValueErrors
-
test_get_cvs_no_qdot_reduce
()[source]¶ Tests get_cvs with a dummy coordinate file, include_qdot = False, and reduce = True
-
test_get_cvs_with_qdot
()[source]¶ Tests get_cvs with a dummy coordinate file, include_qdot = True, and a coordinate file with velocities
-
test_get_cvs_with_qdot_broken
()[source]¶ Tests get_cvs with a dummy coordinate file, include_qdot = True, and a coordinate file without velocities
-
Module contents¶
This is the docstring for an empty init file, to support testing packages besides PyTest such as Nose that may look for such a file