lib/PDB.rb
# Model contains many molecules derived from PDB File
# define global variables
Model contains many molecules derived from PDB File
define global variables
Model contains many molecules derived from PDB File define global variables
def report_error(error_message)
    (Thread.current[:errors] ||= []) << "#{Time.now}\t#{error_message}"
    File.open('PDBTools_errors.txt', 'a') do |file|
      file.puts  "#{Time.now.strftime("%d-%m-%Y %H:%M")}  #{error_message}"
    end
  end
def report_error ( error_message ) ( Thread . current [ :errors ] ||= [ ] ) << "#{Time.now}\t#{error_message}" File . open ( 'PDBTools_errors.txt' , 'a' ) do | file | file . puts "#{Time.now.strftime("%d-%m-%Y %H:%M")}  #{error_message}" end end
Model contains many molecules derived from PDB File
define global variables
Model contains many molecules derived from PDB File define global variables
# (Thread.current[:errors] ||= []).each do |error| #   file.puts error # end
error_message
<not_specific>