Skip to content

Commit

Permalink
v1.4.4a
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinggerm committed Dec 2, 2018
1 parent 75f3aa2 commit 370eadd
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 127 deletions.
2 changes: 1 addition & 1 deletion Library/assembly_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ def log_target_res(final_res_combinations_inside):
if temp_graph:
new_assembly.write_to_gfa(temp_graph)
new_assembly.write_out_tags([mode], temp_graph[:-5] + "csv")
raise Exception("Multiple isolated" + mode + " components detected! "
raise Exception("Multiple isolated " + mode + " components detected! "
"Broken or contamination?")
for j, w in enumerate(cluster_weights):
if w == second:
Expand Down
4 changes: 2 additions & 2 deletions Library/pipe_control_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ def timed_log(log, output_base, prefix):
return log_timed


def set_time_limit(num):
def set_time_limit(num, flag_str="'--time-limit'"):
def wrap(func):
def handle(sig_num, interrupted_stack_frame):
raise RuntimeError("\n\nIncrease '--time-limit' to meet the specific need of data!")
raise RuntimeError("\n\nIncrease " + flag_str + " to meet the specific need of data!")

def func_modified(*args, **kwargs):
signal.signal(signal.SIGALRM, handle)
Expand Down
5 changes: 5 additions & 0 deletions VERSIONS.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ def get_versions():


versions = [
{"number": "1.4.4a",
"features": [
"time limit works only for disentangling graph as a circular genome",
"more informative log info for disentangling",
]},
{"number": "1.4.4",
"features": [
"1.get_organelle_reads.py: fix a bug with --continue & --prefix when LogInfo() added; ",
Expand Down
Loading

0 comments on commit 370eadd

Please sign in to comment.