AdaptiveMD
latest
  • installation
  • Examples Notebooks
  • Projects
  • Resources
  • Files
  • Bundles
  • Actions
    • Classes
      • adaptivemd.Action
      • adaptivemd.FileAction
      • adaptivemd.FileTransaction
      • adaptivemd.Copy
      • adaptivemd.Move
      • adaptivemd.Link
      • adaptivemd.Touch
      • adaptivemd.Remove
      • adaptivemd.MakeDir
  • Task
  • Engines
  • Generators
  • Scheduler Functions
  • Workers
  • The folder structure
  • Why do we need a trajectory object?
  • Execution Plans
  • LogEntry Functions
  • AdaptiveMD (adaptivemd)
AdaptiveMD
  • Docs »
  • Actions »
  • adaptivemd.Link
  • Edit on GitHub

adaptivemd.Link¶

class adaptivemd.Link(source, target)[source]¶

An action that links a source file to a target

Parameters:
  • source (File) – the source file for the action
  • target (File or Location or str) – the target location for the action
__init__(source, target)¶
Parameters:
  • source (File) – the source file for the action
  • target (File or Location or str) – the target location for the action

Methods

__init__(source, target)
param source:the source file for the action
args() Return a list of args of the __init__ function of a class
base() Return the most parent class actually derived from StorableMixin
descendants() Return a list of all subclassed objects
from_dict(dct) Reconstruct an object from a dictionary representation
get_uuid() Create a new unique ID
idx(store) Return the index which is used for the object in the given store.
named(name) Attach a .name property to an object
objects() Returns a dictionary of all storable objects
to_dict() Convert object into a dictionary representation

Attributes

ACTIVE_LONG
CREATION_COUNT
INSTANCE_UUID
added
base_cls Return the base class
base_cls_name Return the name of the base class
cls Return the class name as a string
removed returns: the list of files removed by this action
required returns: the necessary list of files to be functional
Next Previous

© Copyright 2017, Jan-Hendrik Prinz, Frank Noé. Revision 942fff8c.

Built with Sphinx using a theme provided by Read the Docs.