We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b3e0c commit 10d7655Copy full SHA for 10d7655
1 file changed
bin/qtl-xtrain
@@ -20,7 +20,7 @@ train_dirs, dst_dir = ARGV
20
num_failures = 0
21
22
# loop over train directories glob
23
-Dir.glob(train_dirs).each do |train_dir|
+Dir.glob(train_dirs).select{|d|File.directory? d}.each do |train_dir|
24
25
# function to get a set of run numbers from one of the argument dirs
26
def get_runnums(path, type)
0 commit comments