Created
May 4, 2011 18:21
-
-
Save rsinger/955713 to your computer and use it in GitHub Desktop.
Threach Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def start_threading(triplers) | |
#puts "Start threading" | |
triplers.threach(triplers.length) do |tripler| | |
#triplers.each do |tripler| | |
parse_lines_or_warm_threads(tripler) | |
end | |
triplers.each do |tripler| | |
begin | |
@file << tripler.to_ntriples | |
rescue StandardError=>e | |
puts e | |
raise | |
end | |
tripler.clear_graph | |
end | |
#puts "End threading" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment