caosadvancedtools.scifolder.publication_cfood module#

class caosadvancedtools.scifolder.publication_cfood.PublicationCFood(*args, **kwargs)#

Bases: AbstractFileCFood, WithREADME

collect_information()#

The CFood collects information for further processing.

Often CFoods need information from files or even from the database in order to make processing decision. It is intended that this function is called after match. Thus match can be used without connecting to the database.

To be overwritten by subclasses

create_identifiables()#

should set the instance variable Container with the identifiables

static get_re()#

Returns the regular expression used to identify files that shall be processed

This function shall be implemented by subclasses.

update_identifiables()#

Changes the identifiables as needed and adds changed identifiables to self.to_be_updated

win_paths = []#
caosadvancedtools.scifolder.publication_cfood.folder_to_type(name)#