Helper module including specific functions to add project results.
Is this task
to be bypassed?
# File lib/miga/project/result.rb, line 33 def ignore_task?(task) return true if metadata["run_#{task}"] == false !clade? && @@INCLADE_TASKS.include?(task) && metadata["run_#{task}"] != true end
Do nothing, only to comply with MiGA::Common::WithResult
# File lib/miga/project/result.rb, line 28 def inactivate!(reason = nil) end
Get the next distances task, saving intermediate results if
save
. Returns a Symbol.
# File lib/miga/project/result.rb, line 42 def next_distances(save = true) next_task(@@DISTANCE_TASKS, save) end
Get the next inclade task, saving intermediate results if
save
. Returns a Symbol.
# File lib/miga/project/result.rb, line 49 def next_inclade(save = true) next_task(@@INCLADE_TASKS, save) end
Return itself, to simplify modules
# File lib/miga/project/result.rb, line 22 def project self end
Return the basename for results
# File lib/miga/project/result.rb, line 16 def result_base 'miga-project' end