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:
object
Class for managing individual CoLRev review project (repositories)
Methods
check_repo
Check the repository
check_repository_setup
Check the repository setup
create_commit
Create a commit in the git repository
get_advisor
Get an advisor object
get_checker
Get a checker object
get_colrev_versions
Get the CoLRev versions
get_completeness_condition
Get the completeness condition
get_connecting_review_manager
Get a (connecting) ReviewManager object for another CoLRev repository
get_data_operation
Get a data operation object
get_dedupe_operation
Get a dedupe operation object
get_distribute_operation
Get a distribute operation object
get_load_operation
Get a load operation object
get_loggers
Return loggers.
get_merge_operation
Get a merge object
get_pdf_get_man_operation
Get a pdf-get-man operation object
get_pdf_get_operation
Get a pdf-get operation object
get_pdf_prep_man_operation
Get a pdf-prep-man operation object
get_pdf_prep_operation
Get a pdfprep operation object
get_pdf_qm
Get the PDF quality model
get_prep_man_operation
Get a prep-man operation object
get_prep_operation
Get a prep operation object
get_prescreen_operation
Get a prescreen operation object
get_pull_operation
Get a pull operation object
get_push_operation
Get a push operation object
get_qm
Get the quality model
get_remove_operation
Get a a remove object
get_repare
Get a a repare object
get_screen_operation
Get a screen operation object
get_search_operation
Get a search operation object
get_status_operation
Get a status operation object
get_status_stats
Get a status stats object
get_trace_operation
Get a trace operation object
get_upgrade
Get an upgrade object
get_validate_operation
Get a validate operation object
in_test_environment
Check whether CoLRev runs in a test environment
in_virtualenv
Check whether CoLRev operates in a virtual environment
load_settings
Load the settings
reset_report_logger
Reset the report logger
save_settings
Save the settings
update_config
Update review_manager's state
update_status_yaml
Update the STATUS_FILE
Attributes
notified_next_operation
ReviewManager was notified for the upcoming process and will provide access to the Dataset
shell_mode
dataset
The review dataset object
path
Path of the project repository
force_mode
Force mode variable (bool)
verbose_mode
Verbose mode variable (bool)
high_level_operation
A 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)