Skip to content

Commit

Permalink
Update database + views
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Apr 15, 2024
1 parent 9c248cd commit a90e4b9
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 424 deletions.
15 changes: 0 additions & 15 deletions app/models/ec_cross_reference.rb

This file was deleted.

15 changes: 0 additions & 15 deletions app/models/go_cross_reference.rb

This file was deleted.

15 changes: 0 additions & 15 deletions app/models/interpro_cross_reference.rb

This file was deleted.

3 changes: 1 addition & 2 deletions app/models/lineage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ def to_a
end

def to_a_idx
array = ORDER_T.map { |rank| send(rank) }
array.map { |x| x&.id }
ORDER.map { |rank| self[rank] }
end

def self.ranks
Expand Down
22 changes: 0 additions & 22 deletions app/models/peptide.rb

This file was deleted.

230 changes: 0 additions & 230 deletions app/models/sequence.rb

This file was deleted.

Loading

0 comments on commit a90e4b9

Please sign in to comment.