File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ def specification_as_dict(self) -> Dict:
129129 'id' : self .task_id ,
130130 'parents' : [],
131131 'children' : [],
132- 'input_files ' : [f .file_id for f in self .input_files ],
133- 'output_files ' : [f .file_id for f in self .output_files ]
132+ 'inputFiles ' : [f .file_id for f in self .input_files ],
133+ 'outputFiles ' : [f .file_id for f in self .output_files ]
134134 }
135135 return task_obj
136136
Original file line number Diff line number Diff line change @@ -199,15 +199,14 @@ def uninstall_recipe(module_name:str,
199199 Uninstalls a recipe installed in the system.
200200 """
201201
202- dst = pathlib .Path ("wcommons.wfchef.recipes" , f" { savedir .stem } " ).resolve ()
202+ dst = pathlib .Path (this_dir . joinpath ( f"recipes/ { savedir .stem } ") ).resolve ()
203203 try :
204204 subprocess .run (["pip" , "uninstall" , "-y" , dst ])
205205 traceback .print_exc ()
206206
207207 except Exception as e :
208208 traceback .print_exc ()
209209 print (f"Could not uninstall recipe for { module_name } " )
210- # print(f"Could not find recipe with module name {module_name} installed")
211210
212211
213212def create_recipe (path_to_instances : Union [str , pathlib .Path ],
You can’t perform that action at this time.
0 commit comments