Skip to content

Commit

Permalink
Setting input directory in ./qa-catalogue script #473: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed May 17, 2024
1 parent 0bef0ac commit 5d7f0d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,19 +331,20 @@ The following table summarizes the configuration variables. The script
`qa-catalogue` can be used to set variables and execute analysis without a
library specific configuration file:

| variable | `qa-catalogue` | description | default |
| ----------------- | ----------------- | ------------ | ------- |
| `ANALYSES` | `-a`/`--analyses` | which tasks to run with `all-analyses` | `validate,sqlite,completeness,completeness_sqlite,classifications,authorities,tt_completeness,shelf_ready_completeness,serial_score,functional_analysis,pareto,marc_history` |
| | `-c`/`--catalogue`| display name of the catalogue | `$NAME` |
| `NAME` | `-n`/`--name` | name of the catalogue | qa-catalogue |
| `BASE_INPUT_DIR` | `-d`/`--input` | parent directory of input file directories | `./input` |
| `BASE_OUTPUT_DIR` | `-o`/--input` | parent output directory | `./output` |
| `MASK` | `-m`/`--mask` | a file mask which input files to process, e.g. `*.mrc` | `*` |
| `TYPE_PARAMS` | `-p`/`--params` | parameters to pass to individual tasks (see below) | |
| `SCHEMA` | `-s`/`--schema` | record schema | `MARC21` |
| `UPDATE` | `-u`/`--update` | optional date of input files | |
| `VERSION` | `-v`/`--version` | optional version number/date of the catalogue to compare changes | |
| variable | `qa-catalogue` | description | default |
|-------------------|---------------------| ------------ | ------- |
| `ANALYSES` | `-a`/`--analyses` | which tasks to run with `all-analyses` | `validate,sqlite,completeness,completeness_sqlite,classifications,authorities,tt_completeness,shelf_ready_completeness,serial_score,functional_analysis,pareto,marc_history` |
| | `-c`/`--catalogue` | display name of the catalogue | `$NAME` |
| `NAME` | `-n`/`--name` | name of the catalogue | qa-catalogue |
| `BASE_INPUT_DIR` | `-d`/`--input` | parent directory of input file directories | `./input` |
| `BASE_OUTPUT_DIR` | `-o`/`--output` | parent output directory | `./output` |
| `MASK` | `-m`/`--mask` | a file mask which input files to process, e.g. `*.mrc` | `*` |
| `TYPE_PARAMS` | `-p`/`--params` | parameters to pass to individual tasks (see below) | |
| `SCHEMA` | `-s`/`--schema` | record schema | `MARC21` |
| `UPDATE` | `-u`/`--update` | optional date of input files | |
| `VERSION` | `-v`/`--version` | optional version number/date of the catalogue to compare changes | |
| `WEB_CONFIG` | `-w`/`--web-config` | update the specified configuration file of qa-catalogue-web | |
| | `-d`/`--input-dir` | subdirectory of input directory to read files from | |

## Detailed instructions

Expand Down
2 changes: 1 addition & 1 deletion qa-catalogue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Options:
-c --catalogue short name of the catalogue
-n --name name of the analysis (default: qa-catalogue)
-i --input input directory (default: ./input)
-d --input-dir subdirectory of input directory to read files from (default: the NAME)
-d --input-dir subdirectory of input directory to read files from
-m --mask input filename or glob (default: *)
-o --output output directory. Result are put into subdirectory NAME and _reports (default: ./output)
-p --params additional parameters passed to analyses
Expand Down

0 comments on commit 5d7f0d0

Please sign in to comment.