lib/pmc/efetch.rb
def process
      return true if @processed
      @pmid_list.each_slice(MAX_SLICE) do |slice_pmid|
        process_slice(slice_pmid)

        #while out!=:ok
        #  out=process_slice(slice_pmid)
        #end
      end
      @processed
      #$log.info(@pmid_xml.keys)
    end
# NCBI request that the users should get 200 or less ids
# So, we use MAX_SLICE as maximum slice to make requests
NCBI request that the users should get 200 or less ids
So, we use MAX_SLICE as maximum slice to make requests
NCBI request that the users should get 200 or less ids So we use MAX_SLICE as maximum slice to make requests
def process
      return true if @processed
      @pmid_list.each_slice(MAX_SLICE) do |slice_pmid|
        process_slice(slice_pmid)
      end
      @processed
    end
def process return true if @processed @pmid_list . each_slice ( MAX_SLICE ) do | slice_pmid | process_slice ( slice_pmid ) end @processed end
NCBI request that the users should get 200 or less ids
So, we use MAX_SLICE as maximum slice to make requests
NCBI request that the users should get 200 or less ids So we use MAX_SLICE as maximum slice to make requests
#while out!=:ok #  out=process_slice(slice_pmid) #end #$log.info(@pmid_xml.keys)