colrev.ops.pdf_get_man.PDFGetMan

class PDFGetMan(*, review_manager, notify_state_transition_operation=True)[source]

Bases: Operation

Get PDFs manually

Methods

check_precondition

Check the operation precondition

conclude

Conclude the operation (stop Docker containers)

decorate

Decorator for operations

discard

Discard missing PDFs (set to pdf_not_available)

export_retrieval_table

Export a table for manual PDF retrieval

get_data

Get the data for pdf-get-man

get_pdf_get_man

Get the records that are missing a PDF

main

rtype:

Any

notify

Notify the review_manager about the next operation

pdf_get_man_record

Record pdf-get-man decision

pdfs_retrieved_manually

Check whether PDFs were retrieved manually

Attributes

MISSING_PDF_FILES_RELATIVE

type

pdf_get_man_package_endpoints

check_precondition()

Check the operation precondition

Return type:

None

conclude()

Conclude the operation (stop Docker containers)

Return type:

None

classmethod decorate()

Decorator for operations

Return type:

Callable

discard()[source]

Discard missing PDFs (set to pdf_not_available)

Return type:

None

export_retrieval_table(records)[source]

Export a table for manual PDF retrieval

Return type:

None

get_data()[source]

Get the data for pdf-get-man

Return type:

dict

get_pdf_get_man(records)[source]

Get the records that are missing a PDF

Return type:

list

notify(*, state_transition=True)

Notify the review_manager about the next operation

Return type:

None

pdf_get_man_record(*, record, filepath=None, PAD=40)[source]

Record pdf-get-man decision

Return type:

None

pdfs_retrieved_manually()[source]

Check whether PDFs were retrieved manually

Return type:

bool