Skip to content

Commit

Permalink
Merge pull request #175 from nih-sparc/fix-citation-url
Browse files Browse the repository at this point in the history
citation fixes
  • Loading branch information
egauzens authored Aug 6, 2024
2 parents 17fb27f + c904d97 commit 0ff0d98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/CitationDetails/CitationDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="mb-8">
To promote reproducibility and give credit to your colleagues who publish their data, we recommend the following practices for
citing a SPARC Dataset. Please acknowledge the contributors, cite the dataset(s) that contained the files that you used, and
include the SPARC Portal URL & RRID of your future publications. To make it easy, the SPARC Portal provides the full data
include the SPARC Portal URL & RRID in your publications. To make it easy, the SPARC Portal provides the full data
citation, including the option of different citation formats below, to incorporate into your manuscript. For more Information,
including examples of how to include multiple datasets and repositories, please see our
<a
Expand Down Expand Up @@ -125,19 +125,19 @@ export default {
}
},
computed: {
datasetUrl() {
return `${this.$config.public.ROOT_URL}/datasets/${this.$route.params.datasetId}`
datasetDoiUrl() {
return `https://doi.org/${this.doiValue}`
},
materialsCitationType() {
return {
label: 'Materials and Methods',
citationText: `Data and experimental protocols associated with this study are available on the SPARC Portal (RRID: SCR_017041): ${ this.datasetUrl }`
citationText: `Data and experimental protocols associated with this study are available on the SPARC Portal (RRID: SCR_017041): ${ this.datasetDoiUrl }`
}
},
availabilityCitationType() {
return {
label: 'Data Availability Statement',
citationText: `Data are publicly available on the SPARC Portal (RRID:SCR_017041) at the following the URL: ${ this.datasetUrl }`
citationText: `Data are publicly available on the SPARC Portal (RRID:SCR_017041) at the following the URL: ${ this.datasetDoiUrl }`
}
}
},
Expand Down

0 comments on commit 0ff0d98

Please sign in to comment.