Skip to content

Commit ebcb48e

Browse files
authored
Update getpub.rb
Forgive me is this is a dumb question. Do we want to force every publication to have a challenge-area? What about puts that existed before the challenges?
1 parent 50a1ba6 commit ebcb48e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_plugins/getpub.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ def prepare(pub, name)
117117
raise StandardError, msg if pub['focus-area'].empty?
118118

119119
# Make sure there is a challenge-area
120-
msg = "Publication #{name} must contain a challenge-area or project"
121-
raise StandardError, msg if pub['challenge-area'].empty?
120+
# msg = "Publication #{name} must contain a challenge-area or project"
121+
# raise StandardError, msg if pub['challenge-area'].empty?
122+
# Do we want to force every publication to have a challenge-area? What about puts that existed before the challenges?
123+
122124
end
123125

124126
# Setup a publication - ensures open-science-cat is valid

0 commit comments

Comments
 (0)