502c72373f7959e6195860cbc2b5a1aa09aaa600 gperez2 Fri Mar 21 20:03:13 2025 -0700 Code review edits, refs #35396 diff --git src/utils/qa/check_Tables_Metadata.py src/utils/qa/check_Tables_Metadata.py index 40070f28b02..7184aec36d0 100755 --- src/utils/qa/check_Tables_Metadata.py +++ src/utils/qa/check_Tables_Metadata.py @@ -1,25 +1,21 @@ -#!rusr/bin/env python3 +#!/usr/bin/env python3 # Program Header # Name: Gerardo Perez # Description: A program that compares hg38, hg19, mm39, and mm10 tables and metadata tables for hgw1 and hgwbeta discrepancies -# -# -# -# checkSessionsFromRR.py -# +# check_Tables_Metadata.py # # Development Environment: VIM - Vi IMproved version 7.4.629 import subprocess def bash(cmd): """Executes a shell command in Bash and returns the output as a list of lines.""" rawOutput = subprocess.run(cmd, check=True, shell=True, stdout=subprocess.PIPE, universal_newlines=True) return rawOutput.stdout.split('\n')[0:-1] def run_command(command): """Executes a shell command and returns its output as a string. Prints an error message if the command fails.""" result = subprocess.run(command, shell=True, capture_output=True, text=True) if result.returncode != 0: