4.9. ligandparam.stages.abstractstage

class ligandparam.stages.abstractstage.AbstractStage(name, **kwargs)[source]

Bases: object

This is an abstract class for all the stages.

Methods

add_required(filename)

Add a required file to the stage.

list_files_in_directory(directory)

List all the files in a directory.

append_stage

clean

execute

add_required(filename)[source]

Add a required file to the stage.

Parameters:

filename (str) – The file to add to the required list.

append_stage(stage: AbstractStage) AbstractStage[source]
clean() None[source]
execute(dry_run=False) None[source]
list_files_in_directory(directory)[source]

List all the files in a directory.

Parameters:

directory (str) – The directory to list the files from.