colrev.review_manager.ReviewManager
- class colrev.review_manager.ReviewManager(*, path_str=None, force_mode=False, verbose_mode=False, high_level_operation=False, navigate_to_home_dir=True, exact_call='', skip_upgrade=True)[source]
 Bases:
objectClass for managing individual CoLRev review project (repositories)
Methods
check_repoCheck the repository
check_repository_setupCheck the repository setup
create_commitCreate a commit in the git repository
get_advisorGet an advisor object
get_checkerGet a checker object
get_colrev_versionsGet the CoLRev versions
get_completeness_conditionGet the completeness condition
get_connecting_review_managerGet a (connecting) ReviewManager object for another CoLRev repository
get_data_operationGet a data operation object
get_dedupe_operationGet a dedupe operation object
get_distribute_operationGet a distribute operation object
get_load_operationGet a load operation object
get_loggersReturn loggers.
get_merge_operationGet a merge object
get_pdf_get_man_operationGet a pdf-get-man operation object
get_pdf_get_operationGet a pdf-get operation object
get_pdf_prep_man_operationGet a pdf-prep-man operation object
get_pdf_prep_operationGet a pdfprep operation object
get_pdf_qmGet the PDF quality model
get_prep_man_operationGet a prep-man operation object
get_prep_operationGet a prep operation object
get_prescreen_operationGet a prescreen operation object
get_pull_operationGet a pull operation object
get_push_operationGet a push operation object
get_qmGet the quality model
get_remove_operationGet a a remove object
get_repareGet a a repare object
get_screen_operationGet a screen operation object
get_search_operationGet a search operation object
get_status_operationGet a status operation object
get_status_statsGet a status stats object
get_trace_operationGet a trace operation object
get_upgradeGet an upgrade object
get_validate_operationGet a validate operation object
in_test_environmentCheck whether CoLRev runs in a test environment
in_virtualenvCheck whether CoLRev operates in a virtual environment
load_settingsLoad the settings
reset_report_loggerReset the report logger
save_settingsSave the settings
update_configUpdate review_manager's state
update_status_yamlUpdate the STATUS_FILE
Attributes
notified_next_operationReviewManager was notified for the upcoming process and will provide access to the Dataset
shell_modedatasetThe review dataset object
pathPath of the project repository
force_modeForce mode variable (bool)
verbose_modeVerbose mode variable (bool)
high_level_operationA high-level operation was called (bool)
- create_commit(*, msg, manual_author=False, script_call='', saved_args=None, skip_status_yaml=False, skip_hooks=True)[source]
 Create a commit in the git repository
- Return type:
 bool
- force_mode
 Force mode variable (bool)
- get_connecting_review_manager(*, path_str=None, force_mode=False, verbose_mode=False)[source]
 Get a (connecting) ReviewManager object for another CoLRev repository
- Return type:
 
- get_data_operation(*, notify_state_transition_operation=True)[source]
 Get a data operation object
- Return type:
 
- get_dedupe_operation(*, notify_state_transition_operation=True)[source]
 Get a dedupe operation object
- Return type:
 
- get_load_operation(notify_state_transition_operation=True, hide_load_explanation=False)[source]
 Get a load operation object
- Return type:
 
- get_pdf_get_man_operation(*, notify_state_transition_operation=True)[source]
 Get a pdf-get-man operation object
- Return type:
 
- get_pdf_get_operation(*, notify_state_transition_operation=True)[source]
 Get a pdf-get operation object
- Return type:
 
- get_pdf_prep_man_operation(*, notify_state_transition_operation=True)[source]
 Get a pdf-prep-man operation object
- Return type:
 
- get_pdf_prep_operation(*, reprocess=False, notify_state_transition_operation=True)[source]
 Get a pdfprep operation object
- Return type:
 
- get_prep_man_operation(*, notify_state_transition_operation=True)[source]
 Get a prep-man operation object
- Return type:
 
- get_prep_operation(*, notify_state_transition_operation=True, polish=False, cpu=4, debug=False)[source]
 Get a prep operation object
- Return type:
 
- get_prescreen_operation(*, notify_state_transition_operation=True)[source]
 Get a prescreen operation object
- Return type:
 
- get_screen_operation(*, notify_state_transition_operation=True)[source]
 Get a screen operation object
- Return type:
 
- get_search_operation(*, notify_state_transition_operation=True)[source]
 Get a search operation object
- Return type:
 
- high_level_operation
 A high-level operation was called (bool)
- classmethod in_test_environment()[source]
 Check whether CoLRev runs in a test environment
- Return type:
 bool
- 
notified_next_operation: 
Optional[OperationsType] = None ReviewManager was notified for the upcoming process and will provide access to the Dataset
- 
path: 
Path Path of the project repository
- update_config(*, force_mode=False, verbose_mode=False, high_level_operation=False, exact_call='')[source]
 Update review_manager’s state
- Return type:
 None
- update_status_yaml(*, add_to_git=True, records=None)[source]
 Update the STATUS_FILE
- Return type:
 None
- verbose_mode
 Verbose mode variable (bool)