Skip to content

Commit 1242c88

Browse files
committed
Remove bilayer hacking, use generic format now
1 parent a51105e commit 1242c88

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

biomero/slurm_client.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,17 +1979,6 @@ def generic_descriptor_from_github(self, workflow: str) -> Dict:
19791979
raise ValueError(
19801980
f'Error while pulling descriptor file for workflow {workflow},\
19811981
from {raw_url}: {ghfile.__dict__}')
1982-
if 'container-image' not in descriptor and 'docker_image' in descriptor:
1983-
image = descriptor['docker_image']
1984-
descriptor['container-image'] = {'image':
1985-
image.get('org') + '/' + image.get('name') # + ':' + image.get('tag')
1986-
}
1987-
if 'description' not in descriptor:
1988-
general_description = ''
1989-
citations = descriptor.get('citations', [])
1990-
if len(citations) > 0:
1991-
general_description = citations[0].get('description')
1992-
descriptor['description'] = general_description
19931982
return descriptor
19941983

19951984
def get_or_create_github_session(self):

0 commit comments

Comments
 (0)