Skip to content

Commit

Permalink
Remove difficulty_level extraction - Not currently available for Ev…
Browse files Browse the repository at this point in the history
…ents in TeSS
  • Loading branch information
fbacall committed Oct 23, 2023
1 parent f2f5173 commit e941e5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/tess/rdf/course_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def extract_params
with_resource(course) do
course_params = super
end
course_params[:difficulty_level] ||=
extract_names_or_values(RDF::Vocab::SCHEMA.educationalLevel, subject: course).first
# course_params[:difficulty_level] ||=
# extract_names_or_values(RDF::Vocab::SCHEMA.educationalLevel, subject: course).first

# ...and override with more specific metadata from CourseInstance
course_instance_params = super
Expand Down
2 changes: 1 addition & 1 deletion tess_rdf_extractors.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'tess_rdf_extractors'
s.version = '1.0.0'
s.version = '1.0.1'
s.date = '2023-09-12'
s.summary = 'Tools for parsing TeSS event & training material details from Bioschemas & schema.org markup.'
s.authors = ['Finn Bacall']
Expand Down

0 comments on commit e941e5f

Please sign in to comment.