Commit 9716fc99 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

scripts/missing_all_files.py: works even when the config was deleted

parent a455333a
......@@ -13,7 +13,10 @@ def print_patient_info(patient_id):
def print_config_info(config_id):
config = db.config[config_id]
print("%s" % config.name, end=' ')
if config is None:
print("none_config")
else:
print("%s" % config.name, end=' ')
def print_sequence_file(res):
fused_files = db((db.fused_file.sequence_file_list.startswith('%d_' % res.id)) | (db.fused_file.sequence_file_list.contains('_%d_' % res.id))).select()
......
Markdown is supported
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