From 5aad590f8c1680453da69634f24743bfad7fea27 Mon Sep 17 00:00:00 2001 From: YooSunyoung <luysunyoung9@gmail.com> Date: Wed, 4 Dec 2024 14:34:13 +0100 Subject: [PATCH] Update command. --- .github/workflows/integration.yml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b9fffea..fb3deff 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 diff --git a/README.md b/README.md index 54340f3..dc7fd74 100644 --- a/README.md +++ b/README.md @@ -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 \ @@ -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.