We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed7f992 + a86a797 commit ceb22c8Copy full SHA for ceb22c8
1 file changed
planemo/training/tutorial.py
@@ -410,6 +410,9 @@ def export_workflow_file(self):
410
"""Copy or extract workflow file and add it to the tutorial directory."""
411
if not os.path.exists(self.wf_dir):
412
os.makedirs(self.wf_dir)
413
+ if not os.path.exists(os.path.join(self.wf_dir, 'index.md')):
414
+ with open(os.path.join(self.wf_dir, 'index.md'), 'w') as handle:
415
+ handle.write('---\nlayout: workflow-list\n---\n')
416
if self.init_wf_fp:
417
shutil.copy(self.init_wf_fp, self.wf_fp)
418
elif self.init_wf_id:
0 commit comments