Skip to content

Commit

Permalink
thredds url back in
Browse files Browse the repository at this point in the history
  • Loading branch information
dansand committed May 16, 2024
1 parent d904930 commit 768415b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/scripts/ro_crate_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,12 +625,10 @@ def defaults_and_customise_ro_crate(issue_dict, ro_crate, timestamp=False):
slug = ro_crate['@graph'][root_index]['alternateName']
ro_crate['@graph'][root_index]['url'] = [mate_science_url.format(slug), mate_gh_url.format(slug)]
thredds_string = MATE_THREDDS_BASE.format(slug)

#this maybe breaking something
#roc_index = find_index_by_id(ro_crate, 'model_outputs')
#ro_crate['@graph'][roc_index]['url'] = thredds_string
#roc_index = find_index_by_id(ro_crate, 'model_inputs')
#ro_crate['@graph'][roc_index]['url'] = thredds_string
roc_index = find_index_by_id(ro_crate, 'model_outputs')
ro_crate['@graph'][roc_index]['url'] = thredds_string
roc_index = find_index_by_id(ro_crate, 'model_inputs')
ro_crate['@graph'][roc_index]['url'] = thredds_string


#add date time as the date published ro-crate
Expand Down

0 comments on commit 768415b

Please sign in to comment.