Skip to content

Commit 85ed415

Browse files
committed
Removed old schema checking code.
1 parent 20b3d36 commit 85ed415

18 files changed

Lines changed: 3 additions & 638 deletions

build/build_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def compress_file(file_path):
433433
decompress_file(file)
434434

435435
# Run schema checker - This will always run if uploading data.
436-
schema_check_command = ['python3', 'new_schema_checker.py', '--datasets'] + datasets
436+
schema_check_command = ['python3', 'check_schema.py', '--datasets'] + datasets
437437
run_docker_upload_cmd(schema_check_command, 'all_files_dir', 'validate', args.version)
438438

439439
print("Validation complete. Proceeding with file compression/decompression adjustments")

build/build_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def run_schema_checker(dataset):
256256
decompress_file(os.path.join('local', all_files_dir, file))
257257

258258
# Run schema checker
259-
schema_check_command = ['python3', 'scripts/check_all_schemas.py', '--datasets'] + datasets
259+
schema_check_command = ['python3', 'scripts/check_schema.py', '--datasets'] + datasets
260260
run_docker_validate_cmd(schema_check_command, all_files_dir, 'Validation')
261261

262262
def main():

build/docker/Dockerfile.upload

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ RUN apt-get update && apt-get install -y git
88

99

1010
COPY ./schema /usr/src/app/schema
11-
ADD scripts/check_all_schemas.py ./
12-
ADD scripts/new_schema_checker.py ./
11+
ADD scripts/check_schema.py ./

schema/check_beataml_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

schema/check_ccle_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

schema/check_cptac_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

schema/check_ctrpv2_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

schema/check_depmap_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

schema/check_fimm_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

schema/check_gcsi_linkml.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)