colrev.ops.screen.Screen
- class colrev.ops.screen.Screen(*, review_manager, notify_state_transition_operation=True)[source]
Bases:
OperationScreen records (based on PDFs).
Initialize the instance.
Methods
add_abstracts_from_teiAdd abstracts from TEI files to records without abstracts.
add_criterionAdd a screening criterion to the records and settings.
check_preconditionCheck the operation precondition.
concludeConclude the operation (stop Docker containers).
create_screen_splitSplit the screen between researchers.
decorateDecorator for operations.
delete_criterionDelete a screening criterion from the records and settings.
get_dataGet the data (records to screen).
get_screening_criteriaGet the list of screening criteria from settings.
include_all_in_screenInclude all records in the screen.
main- rtype:
Any
notifyNotify the review_manager about the next operation.
screenSave the screen decision.
set_screening_criteriaSet the screening criteria in the settings.
setup_custom_scriptSetup a custom screen script.
to_screenThis method checks if the record needs to be screened.
Attributes
type- add_abstracts_from_tei()[source]
Add abstracts from TEI files to records without abstracts.
- Return type:
None
- add_criterion(*, criterion_name, criterion)[source]
Add a screening criterion to the records and settings.
- Return type:
None
- check_precondition()
Check the operation precondition.
- Return type:
None
- conclude()
Conclude the operation (stop Docker containers).
- Return type:
None
- create_screen_split(*, create_split)[source]
Split the screen between researchers.
- Return type:
list
- classmethod decorate()
Decorator for operations.
- Return type:
Callable
- delete_criterion(criterion_to_delete)[source]
Delete a screening criterion from the records and settings.
- Return type:
None
- get_screening_criteria()[source]
Get the list of screening criteria from settings.
- Return type:
list
- notify(*, state_transition=True)
Notify the review_manager about the next operation.
- Return type:
None
- screen(*, record, screen_inclusion, screening_criteria, PAD=40)[source]
Save the screen decision.
- Return type:
None