Skip to content

Commit 48e42e9

Browse files
committed
Update status.rb
1 parent 49fd3d0 commit 48e42e9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/models/register/status.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,24 +301,20 @@ def check_pdf_files
301301
end
302302
end
303303

304-
if has_acc
305-
add_note('The effective publication includes the SeqCode accession')
306-
end
307304
names.each do |n|
308305
Check.create_with(pass: has_acc).find_or_create_by(
309306
name: n, kind: :effective_publication_missing_accession
310307
).update(pass: has_acc)
311308
end
312309

313-
if inames.values.all?
314-
add_note('The effective publication mentions all names in the list')
315-
end
316310
inames.each do |n, v|
317311
Check.create_with(pass: v).find_or_create_by(
318312
name: n, kind: :name_missing_in_effective_publication
319313
).update(pass: v)
320314
end
321315

316+
add_note('The effective publication files have been parsed')
317+
322318
has_acc && inames.values.all?
323319
end
324320
end

0 commit comments

Comments
 (0)