Skip to main content

Automating the NNLOJET workflow

Project description

dokan (土管)

PyPI - Version PyPI - Python Version

 A pipeline for automating the NNLOJET workflow


Table of Contents

This is the implementation of an automated workflow for NNLOJET computations based on the luigi framework.

Installation

Release version

todo: publish on pypi

Development version

To install the development version, first clone this repository

git clone https://github.com/aykhuss/dokan.git
cd dokan

You can either install the tool using pip or uv.

Install using pip

Within the repository directory, run (add --force-reinstall if necessary)

pip install -e .

This should install the nnlojet-run command for you.

Install using uv

uv is a modern and more powerful alternative to pip. dokan can be installed by running within the repository directory (add --force if necessary):

uv tool install -e .

With this, the nnlojet-run executable should be installed and available.

Usage

Some example usage:

# general help
nnlojet-run --help

### subcommand `init` 
#   to initialise a new run
#   
# help
nnlojet-run init --help

# take any runcard and use it to initialise a new run
nnlojet-run init example.run
# this will create a new folder under the current path named after the `RUN` name in the runcard
# or you can add `-o <RUN_PATH>` to specify a location where the run should be initialised

### subcommand `config` 
#   to re-configure default settings for a calculation
#   
nnlojet-run config example_run_Z_8TeV

### subcommand `submit` 
#   to submit a run
#   
# help
nnlojet-run submit --help

# submit jobs with default configuration as set during `init`/`config`
nnlojet-run submit example_run_Z_8TeV 

# you can override defaults by passing the desired settings as options, e.g.
nnlojet-run submit example_run_Z_8TeV --job-max-runtime 1h30m --jobs-max-total 10 --target-rel-acc 1e-2

Shell completion

Auto-completion for the nnlojet-run command is available for bash. It can be enabled, by running

source path/to/dokan/share/completion.sh

To enable completion on startup, put this line in ~/.bashrc.

License

dokan is distributed under the terms of the GPL-3.0 license.

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

dokan-1.0.0.tar.gz (14.8 MB view details)

Uploaded Source

Built Distribution

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

dokan-1.0.0-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

Details for the file dokan-1.0.0.tar.gz.

File metadata

  • Download URL: dokan-1.0.0.tar.gz
  • Upload date:
  • Size: 14.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.11

File hashes

Hashes for dokan-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f2937ea65c5850d4eb5e582c15b55fac51a3890d2a0af4adf1568e1c32b74ab3
MD5 22eba12098aeaa1edab9713aa738219b
BLAKE2b-256 a22be14af69445577ca23489979baeb243d6f3adc24f0668720f8de2e0eaf912

See more details on using hashes here.

File details

Details for the file dokan-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: dokan-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 100.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.11

File hashes

Hashes for dokan-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6c5ef1f56ed9241b95a74d50d55ad7989b61701ed9bf64de7527d2ec3bbb752
MD5 9915a9f042bd0e2c9c966cb67db58b7f
BLAKE2b-256 80e09b5b5702f171ca51003c3be0455a0d59d66745a731d314bac8ecb7c7d7bf

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