Skip to main content

PLEIADES - Python Libraries Extensions for Isotopic Analysis via Detailed Examination of SAMMY

Project description

PLEIADES

pre-commit.ci status Documentation Status DOI

PLEIADES’ user documentation

PLEIADES: Python Libraries Extensions for Isotopic Analysis via Detailed Examination of SAMMY. This is a Python package that sets up, executes, and analyzes, SAMMY runs. If you are unfamiliar with SAMMY, please see the SAMMY website.

The user documentation can be found at Read the Docs.

Installation

Prerequisites:

  • git: A version control system used to clone the SAMMY repository. You can usually install it using your system’s package manager.

  • pixi: A package installer for Python that manages environments and dependencies. You can install it following the instructions at Pixi Installation.

Steps:

  1. Clone and build the SAMMY Repository:

    Use git to clone the SAMMY repository from GitLab:

    git clone https://code.ornl.gov/RNSD/SAMMY.git
  2. Build and Install SAMMY:

    Navigate to the cloned SAMMY directory (SAMMY/sammy) and follow the SAMMY installation instructions to build and install it. Refer to the SAMMY documentation for specific instructions.

    cd SAMMY/sammy
    mkdir myscript
    cp script/configure_sammy_gcc.sh myscript/
    mkdir build
    cd build
    ../myscript/configure_sammy_gcc.sh ../
    make -j4
    make install
  3. Verification (Optional):

    Open a new terminal window and check if the SAMMY executables are accessible. You can try running a SAMMY command, such as sammy. If successful, the command should execute.

  4. Clone the PLEIADES Repository:

    Use git to clone the PLEIADES repository from GitHub:

    git clone https://github.com/lanl/PLEIADES.git
  5. Navigate to the Directory:

    Change directories to the cloned PLEIADES repository:

    cd PLEIADES
  6. Install Using Pixi:

    Use pixi to create and activate the development environment:

    pixi install

    This will install all required dependencies in an isolated environment and activate it.

    You can run the post-installation check after SAMMY is installed:

    pixi run post_install_check

    Pixi manages all dependencies and environments for you, making it easy to work with PLEIADES alongside other Python projects.

  7. Add SAMMY’s bin Directory to PATH:

    You’ll need to add the bin directory of the installed SAMMY package to your system’s PATH environment variable. This allows pleiades to locate the necessary SAMMY executables.

    • Open your terminal and edit your shell configuration file (e.g., .bashrc for Bash).

    • Add the following line (replace <SAMMY_INSTALL_DIR> with the actual installation directory of SAMMY):

      export PATH=$PATH:<SAMMY_INSTALL_DIR>/bin
    • Save the changes and source the configuration file to apply the changes immediately:

      source ~/.bashrc  # Replace with your shell configuration file name
  8. Development Tasks (Optional):

    PLEIADES provides several convenient development tasks through Pixi:

    # Run tests
    pixi run test
    
    # Build documentation
    pixi run build-docs
    
    # Format code
    pixi run format
    
    # Run linting checks
    pixi run lint
    
    # Install pre-commit hooks
    pixi run pre-commit-install

Troubleshooting:

  • If you encounter issues during the SAMMY installation or path configuration, refer to the SAMMY documentation for specific guidance.

  • For Pixi-related issues, check the Pixi documentation.

Additional Notes:

  • Different environments are available for different workflows. Use pixi env list to see available environments and pixi env activate <env-name> to switch between them.

  • You can uninstall PLEIADES by removing the Pixi environment directory (.pixi).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pleiades_neutron-2.1.1.tar.gz (189.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pleiades_neutron-2.1.1-py3-none-any.whl (245.8 kB view details)

Uploaded Python 3

File details

Details for the file pleiades_neutron-2.1.1.tar.gz.

File metadata

  • Download URL: pleiades_neutron-2.1.1.tar.gz
  • Upload date:
  • Size: 189.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for pleiades_neutron-2.1.1.tar.gz
Algorithm Hash digest
SHA256 78cdad6834a24a301d571ab5d2b0b81482f177c15ab37d85b775eeeedc03c0a9
MD5 a82d6c35916c8010fed8b3874d635ef7
BLAKE2b-256 20186b6fba8053743fff659eb36445c3e817cc9c34affc2e9b33f5fe5ea4f842

See more details on using hashes here.

File details

Details for the file pleiades_neutron-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pleiades_neutron-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 532acc53da24d431e6a29ef82a0f5cfe0bd66ffd1408754206fd4cc05c7833a9
MD5 ca5bd82661100b0a49c48918469c62c1
BLAKE2b-256 ee283bf53e5a8ff968049f62a820024eebf191d600f28d9ae6be6f1e6a10438e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page