Skip to content

Commit

Permalink
run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andreab1997 committed Sep 19, 2023
1 parent c29463b commit fbb7500
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pineko/cli/fonll.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"""CLI entry point to FONLL."""
import pathlib

import click
import rich

from .. import configs, fonll, parser, theory_card
from ._base import command

import pathlib

config_setting = click.option(
"-c",
"--configs",
Expand All @@ -16,6 +16,7 @@
help="Explicitly specify config file (it has to be a valid TOML file).",
)


class TheoryCardError(Exception):
"""Raised when asked for FONLL theory cards with an original tcard as input that is not asking for FONLL."""

Expand Down Expand Up @@ -62,10 +63,9 @@ def subcommand(
ffns5til,
ffns5bar,
overwrite,
cfg
cfg,
):
"""Combine the different FKs needed to produce the FONLL prescription."""

path = configs.detect(cfg)
base_configs = configs.load(path)
configs.configs = configs.defaults(base_configs)
Expand Down

0 comments on commit fbb7500

Please sign in to comment.