File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ def find_and_load_compliant_workflows(directory):
184184 trsID = f"#workflow/github.com/iwc-workflows/{ dirname } /{ workflow ['name' ] or 'main' } "
185185 workflow ["trsID" ] = trsID
186186 workflow ["iwcID" ] = create_safe_identifier (trsID )
187+ workflow ["repoPath" ] = root
187188
188189 dockstore_details , categories , collections = get_dockstore_details (
189190 trsID
Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ const dockstoreWorkflowPageUrl = computed(() => {
4444 return baseUrl + repoPath ;
4545});
4646
47+ const githubWorkflowUrl = computed (() => {
48+ const repoPath = props .workflow ?.repoPath ?.replace (/ ^ \.\/ / , " " );
49+ return ` https://github.com/galaxyproject/iwc/tree/main/${repoPath } ` ;
50+ });
51+
4752const doiResolverUrl = computed (() => {
4853 return ` https://doi.org/${props .workflow ?.doi } ` ;
4954});
@@ -381,6 +386,12 @@ onMounted(() => {
381386 {{ workflow.trsID }} ↗
382387 </a >
383388 </li >
389+ <li >
390+ <strong class =" text-ebony-clay-900" >GitHub: </strong >
391+ <a :href =" githubWorkflowUrl" target =" _blank" class =" text-bay-of-many-700 hover:underline" >
392+ {{ githubWorkflowUrl }} ↗
393+ </a >
394+ </li >
384395 </ul >
385396 <h3 class =" font-bold text-l mt-4 text-ebony-clay-900" >Running this workflow</h3 >
386397 <GalaxyInstanceSelector v-model =" selectedInstance" />
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export interface Workflow {
4949 diagram_svg ?: string ;
5050 trsID : string ;
5151 iwcID : string ;
52+ repoPath : string ;
5253 categories : string [ ] ;
5354 collections : string [ ] ;
5455 doi ?: string ;
You can’t perform that action at this time.
0 commit comments