Skip to content

Commit

Permalink
Bypass unnecessary calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Oct 26, 2023
1 parent 81d4640 commit 8ac9f08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/gfa/graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def linking_records(segments, degree: 1)
raise "Unrecognised class: #{segments.class}"
end

edge_matrix # Just to trigger matrix calculation
edge_matrix unless degree == 0 # Just to trigger matrix calculation
degree.times do |round|
$stderr.puts "- Expansion round #{round + 1}"
self.class.advance_bar(segments.size)
Expand Down
2 changes: 1 addition & 1 deletion lib/gfa/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class GFA
VERSION = '0.9.0'
VERSION = '0.9.1'
VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
Expand Down

0 comments on commit 8ac9f08

Please sign in to comment.