Skip to content

Commit

Permalink
Update command.
Browse files Browse the repository at this point in the history
  • Loading branch information
YooSunYoung committed Dec 4, 2024
1 parent b18b0a8 commit 5aad590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements/ci.txt
- run: python -m pip install -e .
- run: validate_ingestor_config resources/config.sample.json
- run: scicat_validate_ingestor_config resources/config.sample.json
- run: docker-compose version
- run: docker-compose -f tests/docker-compose-file-writer.yml up -d
- run: python tests/_scicat_ingestor.py -c resources/config.sample.json --logging.verbose
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You need to know the path to the nexus file you want to ingest
and also the path to the ``done_writing_message_file`` as a json file.

```bash
background_ingestor \
scicat_background_ingestor \
--logging.verbose \
-c PATH_TO_CONFIGURATION_FILE.yaml \
--nexus-file PATH_TO_THE_NEXUS_FILE.nxs \
Expand Down Expand Up @@ -69,10 +69,10 @@ The template file can be synchronized automatically by ``synchronize_config`` co

### Configuration Validator

You can validate a configuration file with ``validate_ingestor_config`` command.
You can validate a configuration file with ``scicat_validate_ingestor_config`` command.

```bash
validate_ingestor_config
scicat_validate_ingestor_config
```

It tries building nested configuration dataclasses from the configuration file.
Expand Down

0 comments on commit 5aad590

Please sign in to comment.