Mercurial > repos > shellac > guppy_basecaller
diff env/lib/python3.7/site-packages/gxformat2/_scripts.py @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author | shellac |
---|---|
date | Mon, 01 Jun 2020 08:59:25 -0400 |
parents | 79f47841a781 |
children |
line wrap: on
line diff
--- a/env/lib/python3.7/site-packages/gxformat2/_scripts.py Thu May 14 16:47:39 2020 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -"""Utilities for scripts in gxformat2.""" -from gxformat2.export import from_galaxy_native - - -def ensure_format2(workflow_dict): - """Consume a dictionary and ensure the result is format2. - - So convert from ga if needed. - """ - if workflow_dict.get("a_galaxy_workflow") == "true": - workflow_dict = from_galaxy_native(workflow_dict) - return workflow_dict