Skip to content
Permalink
Browse files

Safer implementation of miga ncbi_get --ignore-until

  • Loading branch information...
lmrodriguezr committed Sep 10, 2019
1 parent 0a9c0d8 commit 2faac576f89ab8eb6ca1a4f7b0d81d5c056c8685
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/miga/cli/action/ncbi_get.rb
@@ -183,10 +183,10 @@ def perform
p.do_not_save = true if cli[:save_every] != 1
ignore = !cli[:ignore_until].nil?
ds.each do |name, body|
ignore = false if ignore && name == cli[:ignore_until]
next if ignore
d << name
cli.puts name
ignore = false if ignore && name == cli[:ignore_until]
next if ignore
next if p.dataset(name).nil? == cli[:get_md]
downloaded += 1
next if cli[:dry]

0 comments on commit 2faac57

Please sign in to comment.
You can’t perform that action at this time.