EPWpy.utilities.set_files#

Classes

SetDir(data)

Class to manage directory structure and file writing for simulations.

class EPWpy.utilities.set_files.SetDir(data)[source]#

Bases: write_job

Class to manage directory structure and file writing for simulations.

This class handles creation of working directories and sets up a writer object for job management. It acts as a base class for higher-level simulation interfaces (QE, EPW, Abinit, BGW).

data#

User-provided input data, typically a dictionary containing calculation parameters.

Type:

any

home#

Current working directory at the time of initialization.

Type:

str

home_real#

Same as home; stores the original working directory for reference.

Type:

str

sd#

Internal object for default values and writer creation.

Type:

SetDefaultVals

writer#

Writer object (created from SetDefaultVals) used to write input files or scripts.

Type:

object

changedir(directory=None)[source]#

Changes to a directory

makedir(filein)[source]#

Makes a directorty

set_files(name, type_run, ins)[source]#

Sets the files for methods

set_folds(name, type_run, ins)[source]#

sets the folders for methods

set_home(write=False)[source]#

Sets home folder

set_work(write=False)[source]#

Sets work folder