Skip to content

Commit

Permalink
Mention FK on the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Jul 21, 2022
1 parent 42d5dc7 commit f4f47f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pineappl_cli/src/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fn convert_grid(
Err(anyhow!("could not detect file format"))
}

/// Converts fastNLO tables to PineAPPL grids.
/// Converts fastNLO/FastKernel tables to PineAPPL grids.
#[derive(Parser)]
pub struct Opts {
/// Path to the input grid.
Expand Down Expand Up @@ -136,7 +136,7 @@ impl Subcommand for Opts {
let mut different = false;

if reference_results.is_empty() {
println!("can not check conversion for this type");
println!("file was converted, but we cannot check the conversion for this type");
} else {
let mut pdf = helpers::create_pdf(&self.pdfset)?;
let results = helpers::convolute(&grid, &mut pdf, &[], &[], &[], 1, false, false);
Expand Down Expand Up @@ -183,7 +183,7 @@ mod tests {
use assert_fs::NamedTempFile;

const HELP_STR: &str = "pineappl-import
Converts fastNLO tables to PineAPPL grids
Converts fastNLO/FastKernel tables to PineAPPL grids
USAGE:
pineappl import [OPTIONS] <INPUT> <OUTPUT> <PDFSET>
Expand Down Expand Up @@ -320,7 +320,7 @@ OPTIONS:
])
.assert()
.success()
.stdout("can not check conversion for this type\n");
.stdout("file was converted, but we cannot check the conversion for this type\n");

Command::cargo_bin("pineappl")
.unwrap()
Expand Down Expand Up @@ -351,7 +351,7 @@ OPTIONS:
])
.assert()
.success()
.stdout("can not check conversion for this type\n");
.stdout("file was converted, but we cannot check the conversion for this type\n");

Command::cargo_bin("pineappl")
.unwrap()
Expand Down
2 changes: 1 addition & 1 deletion pineappl_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ SUBCOMMANDS:
convolute Convolutes a PineAPPL grid with a PDF set
delete Deletes parts from a PineAPPL grid
diff Compares the numerical content of two grids with each other
import Converts fastNLO tables to PineAPPL grids
import Converts fastNLO/FastKernel tables to PineAPPL grids
info Shows information about the grid
merge Merges one or more PineAPPL grids together
obl Shows information about orders (o), bins (b), or luminosities (l) of a grid
Expand Down

0 comments on commit f4f47f6

Please sign in to comment.