Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Apr 22, 2024
1 parent 4c7104e commit c71805b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _plugins/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ def generate(site)
# ro-crate-metadata.json
TopicFilter.list_all_materials(site).select { |m| m['workflows'] }.each do |material|
material['workflows'].each do |workflow|
wfid = workflow['wfid']
wfname = workflow['wfname']
# {"workflow"=>"galaxy-workflow-mouse_novel_peptide_analysis.ga",
# "tests"=>false,
Expand All @@ -427,7 +426,8 @@ def generate(site)
Jekyll.logger.debug "[GTN/API/WFRun] Writing #{path}"

# Replace last / with # to make a valid URL
wfurlid = site.config['url'] + site.config['baseurl'] + '/' + workflow['path'].gsub(%r{/workflows/}, '/workflows#')
wfurlid = site.config['url'] + site.config['baseurl'] + '/' + workflow['path'].gsub(%r{/workflows/},
'/workflows#')

uuids = workflow['creators'].map do |c|
if c.key?('identifier') && !c['identifier'].empty?
Expand Down

0 comments on commit c71805b

Please sign in to comment.