Commit 39458b34 authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro
Browse files

Update bb_basic_QC.py

parent b69d0686
......@@ -161,13 +161,17 @@ def main():
# Parsing basic QC file argument
basic_QC_file = argsa.basic_QC_file
basic_QC_file = basic_QC_file.strip()
idealConfigFile = subject+ '/logs/file_descriptor.json'
if not os.path.exists(idealConfigFile):
idealConfigFile = os.environ['BB_BIN_DIR'] + "/bb_data/ideal_config.json"
if not os.path.exists(basic_QC_file):
logger.error("Subject cannot be run. Incorrect basic QC file specified: " +
basic_QC_file)
basic_QC_file)
LT.finishLogging(logger)
sys.exit(1)
idealConfigFile = basic_QC_file
with open(idealConfigFile, 'r') as f:
fileConfig=json.load(f)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment