1af63f2515486911a01f05ad0c6ed5aaceaebfd6,chemml/chem/Dragon.py,Dragon,run,#Dragon#,390
Before Change
def run(self):
print("running Dragon%s ..."%self.version)
os.system("nohup dragon%sshell -s %s"%(self.version,self.output_directory+self.drs_name))
// print subprocess.check_output(["nohup dragon%sshell -s %s"%(self.version,self.drs)])
print("... Dragon job completed!")
After Change
def run(self):
print("running Dragon%i ..." % self.version)
os_ret = os.system("nohup dragon%sshell -s %s" %
(self.version, os.path.join(self.output_directory, self.drs_name)))
if os_ret != 0:
msg = "Oops, dragon%ishell command didn"t work! Are you sure Dragon%i software is installed on your machine?" % (
self.version, self.version)
raise ImportError(msg)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: hachmannlab/chemml
Commit Name: 1af63f2515486911a01f05ad0c6ed5aaceaebfd6
Time: 2018-10-03
Author: mojtabah@buffalo.edu
File Name: chemml/chem/Dragon.py
Class Name: Dragon
Method Name: run
Project Name: avinashpaliwal/Super-SloMo
Commit Name: f7a8a023870f3218c02c6f5940b258b49ebeb507
Time: 2020-08-20
Author: 42113029+tamasino52@users.noreply.github.com
File Name: video_to_slomo.py
Class Name:
Method Name: create_video
Project Name: geek-ai/MAgent
Commit Name: 2c00aa18540df4ab4c3afeacd44b556b3ce90782
Time: 2017-12-01
Author: zhenglianmin96@163.com
File Name: python/magent/utility.py
Class Name:
Method Name: download_file
Project Name: duecredit/duecredit
Commit Name: d820d7ef9ab57ee1bf06b622d1ac55c43024742b
Time: 2019-03-01
Author: debian@onerussian.com
File Name: duecredit/utils.py
Class Name:
Method Name: