comparison toolfactory/rgToolFactory2.py @ 51:4b71b252eacb draft

Uploaded
author fubar
date Sun, 30 Aug 2020 06:36:26 -0400
parents bf432f4486c7
children 68fbdbe35f08
comparison
equal deleted inserted replaced
50:bf432f4486c7 51:4b71b252eacb
717 "--galaxy_root", 717 "--galaxy_root",
718 self.args.galaxy_root, 718 self.args.galaxy_root,
719 "--update_test_data", 719 "--update_test_data",
720 "--galaxy_python_version", 720 "--galaxy_python_version",
721 "3.6", 721 "3.6",
722 "--no_conda_auto_install",
723 "--no_conda_auto_init",
724 xreal, 722 xreal,
725 ] 723 ]
726 else: 724 else:
727 cll = ["planemo", "test", "--galaxy_python_version", 725 cll = ["planemo", "test", "--galaxy_python_version",
728 "3.6", "--galaxy_root", 726 "3.6", "--galaxy_root",
729 self.args.galaxy_root, 727 self.args.galaxy_root,
730 "--no_conda_auto_install",
731 "--no_conda_auto_init",
732 xreal,] 728 xreal,]
733 p = subprocess.run( 729 p = subprocess.run(
734 cll, shell=True, cwd=self.tooloutdir, stderr=tout, stdout=tout 730 cll, shell=True, cwd=self.tooloutdir, stderr=tout, stdout=tout
735 ) 731 )
736 if genoutputs: 732 if genoutputs:
767 "fubar", 763 "fubar",
768 "--toolshed", 764 "--toolshed",
769 self.args.toolshed_url, 765 self.args.toolshed_url,
770 "--section_label", 766 "--section_label",
771 "Generated Tools", 767 "Generated Tools",
772 "--install_tool_dependencies", 768
773 ] 769 ]
774 print("running\n", " ".join(cll)) 770 print("running\n", " ".join(cll))
775 p = subprocess.run(cll, shell=False, stderr=tout, stdout=tout) 771 p = subprocess.run(cll, shell=False, stderr=tout, stdout=tout)
776 if p.returncode != 0: 772 if p.returncode != 0:
777 print( 773 print(