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 5d7f0d0 commit d216b24
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,20 +331,21 @@ 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`/`--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 | |
| 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` |
| | `-d`/`--input-dir` | subdirectory of input directory to read files from | |
| `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 | |
| | `-f`/`--config-file`| a configuration file with catalogue specific environment variables | |

## Detailed instructions

Expand Down

0 comments on commit d216b24

Please sign in to comment.