diff --git a/bin/ddg2distribution b/bin/ddg2distribution index f192eb5..30c6eda 100755 --- a/bin/ddg2distribution +++ b/bin/ddg2distribution @@ -339,12 +339,8 @@ if options.position_list is not None: res_ids_str = filter_reslist(res_ids_str, poslist) -if options.multimers: - fnames = ["_".join(r) for r in res_ids_str] - res_id_labels = [", ".join(r) for r in res_ids_str] -else: - fnames = res_ids_str - res_id_labels = res_ids_str +fnames = ["_".join(r) for r in res_ids_str] +res_id_labels = [", ".join(r) for r in res_ids_str] #Assign custom residue labels if options.labels: diff --git a/bin/ddg2heatmap b/bin/ddg2heatmap index e6a5ea5..6e82d79 100755 --- a/bin/ddg2heatmap +++ b/bin/ddg2heatmap @@ -173,13 +173,8 @@ if options.position_list is not None: res_ids_str = filter_reslist(res_ids_str, poslist) -if options.multimers: - fnames = ["_".join(r) for r in res_ids_str] - res_id_labels = [", ".join(r) for r in res_ids_str] -else: - fnames = res_ids_str - res_id_labels = res_ids_str - +fnames = ["_".join(r) for r in res_ids_str] +res_id_labels = [", ".join(r) for r in res_ids_str] #Assign custom residue labels if options.labels: diff --git a/bin/ddg2histo b/bin/ddg2histo index e4c4382..40c9786 100755 --- a/bin/ddg2histo +++ b/bin/ddg2histo @@ -171,10 +171,7 @@ stds = [] res_ids_str = get_residue_list(options.in_pdb, multimers=options.multimers) single_res_ids = get_residue_list(options.in_pdb, multimers=False) -if options.multimers: - fnames = ["_".join(r) for r in res_ids_str] -else: - fnames = res_ids_str +fnames = ["_".join(r) for r in res_ids_str] #Parse residue selection try: diff --git a/bin/ddg2logo b/bin/ddg2logo index 84e3e93..06d27c3 100755 --- a/bin/ddg2logo +++ b/bin/ddg2logo @@ -210,12 +210,8 @@ if options.position_list is not None: res_ids_str = filter_reslist(res_ids_str, poslist) -if options.multimers: - fnames = ["_".join(r) for r in res_ids_str] - res_id_labels = [", ".join(r) for r in res_ids_str] -else: - fnames = res_ids_str - res_id_labels = res_ids_str +fnames = ["_".join(r) for r in res_ids_str] +res_id_labels = [", ".join(r) for r in res_ids_str] # use custom labels if provided if options.labels: