dosma
v0.1.2
  • Introduction
  • Installation
  • User Guide
  • Documentation
    • Core API (dosma.core)
    • Scans (dosma.scan_sequences)
    • Tissues (dosma.tissues)
    • Models (dosma.models)
    • Utilities
  • Application
  • FAQs
dosma
  • »
  • Documentation »
  • Core API (dosma.core) »
  • dosma.symlink_elastix
  • Edit on GitHub

dosma.symlink_elastix

dosma.symlink_elastix(path: Optional[str] = None, lib_only: bool = True, force: bool = False)[source]

Symlinks elastix/transformix files to the dosma library.

Parameters
  • path (str, optional) – Path to elastix folder. This folder should contain two folders bin and lib. If None, determined using which elastix. This will overwrite existing linked files. path cannot be automatically determined on Windows.

  • lib_only (bool, optional) – If True, only links contents of lib folder.

  • force (bool, optional) – If True, unlinks existing files before relinking. Note this operation is not atomic.

Note

Setting elastix paths this way is not recommended unless you are using a MacOS (Darwin) platform, where there are known path issues with elastix (https://github.com/almarklein/pyelastix/issues/9). For linux and windows machines, using the setup described in the elastix guide is sufficient.

Previous Next

© Copyright 2019-2021, Arjun Desai. Revision bd5efecb.

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