We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49fd3d0 commit 48e42e9Copy full SHA for 48e42e9
1 file changed
app/models/register/status.rb
@@ -301,24 +301,20 @@ def check_pdf_files
301
end
302
303
304
- if has_acc
305
- add_note('The effective publication includes the SeqCode accession')
306
- end
307
names.each do |n|
308
Check.create_with(pass: has_acc).find_or_create_by(
309
name: n, kind: :effective_publication_missing_accession
310
).update(pass: has_acc)
311
312
313
- if inames.values.all?
314
- add_note('The effective publication mentions all names in the list')
315
316
inames.each do |n, v|
317
Check.create_with(pass: v).find_or_create_by(
318
name: n, kind: :name_missing_in_effective_publication
319
).update(pass: v)
320
321
+ add_note('The effective publication files have been parsed')
+
322
has_acc && inames.values.all?
323
324
0 commit comments