aiida_skeaf package#

Subpackages#

Submodules#

aiida_skeaf.cli module#

Command line interface (cli) for aiida_skeaf.

Register new commands either via the “console_scripts” entry point or plug them directly into the ‘verdi’ command by using AiiDA-specific entry points like “aiida.cmdline.data” (both in the setup.json file).

aiida_skeaf.helpers module#

Helper functions for automatically setting up computer & code. Helper functions for setting up

  1. An AiiDA localhost computer

  2. A “skeaf_v1p3p0_r149” code on localhost

Note: Point 2 is made possible if the skeaf_v1p3p0_r149 executable is available in the PATH on the UNIX system.

aiida_skeaf.helpers.get_code(entry_point, computer)[source]#

Get local code. Sets up code for given entry point on given computer.

Parameters:
  • entry_point – Entry point of calculation plugin

  • computer – (local) AiiDA computer

Returns:

The code node

Return type:

aiida.orm.Code

aiida_skeaf.helpers.get_computer(name='localhost-test', workdir=None)[source]#

Get AiiDA computer. Loads computer ‘name’ from the database, if exists. Sets up local computer ‘name’, if it isn’t found in the DB.

Parameters:
  • name – Name of computer to load or set up.

  • workdir – path to work directory Used only when creating a new computer.

Returns:

The computer node

Return type:

aiida.orm.Computer

aiida_skeaf.helpers.get_path_to_executable(executable)[source]#

Get path to local executable. :param executable: Name of executable in the $PATH variable :type executable: str :return: path to executable :rtype: str

Module contents#

aiida_skeaf

AiiDA plugin for the Supercell K-space Extremal Area Finder (SKEAF) code