Previous changeset 55:39238e5840ae (2020-03-15) Next changeset 57:dcb817af5d81 (2020-03-15) |
Commit message:
Uploaded |
modified:
Marea/marea.py |
b |
diff -r 39238e5840ae -r 68375ead0ee4 Marea/marea.py --- a/Marea/marea.py Sun Mar 15 11:22:00 2020 -0400 +++ b/Marea/marea.py Sun Mar 15 11:28:47 2020 -0400 |
b |
@@ -709,8 +709,8 @@ tmp_csv.to_csv(tab, sep = '\t', index = False, header = header) if create_svg or create_pdf: - if args.rules_selector == 'HMRcore' or (args.rules_selector == 'Custom' - and args.yes_no == 'yes'): + if args.custom_rules == 'false' or (args.custom_rules == 'true' + and args.custom_map != ''): fix_map(tmp, core_map, threshold_P_V, threshold_F_C, max_F_C) file_svg = 'result/' + single_cluster + '_vs_ rest (SVG Map).svg' with open(file_svg, 'wb') as new_map: @@ -748,8 +748,8 @@ tmp_csv.to_csv(tab, sep = '\t', index = False, header = header) if create_svg or create_pdf: - if args.rules_selector == 'HMRcore' or (args.rules_selector == 'Custom' - and args.yes_no == 'yes'): + if args.custom_rules == 'false' or (args.custom_rules == 'true' + and args.custom_map != ''): fix_map(tmp, core_map, threshold_P_V, threshold_F_C, max_F_C) file_svg = 'result/' + i + '_vs_' + j + ' (SVG Map).svg' with open(file_svg, 'wb') as new_map: |