Famcy/_util_/_fsubmission.py
def put_submissions_to_list(fsubmission_obj, sub_dict):
	"""
	This is the helper function to put the
	submission content to a list of arguments
	- Input:
		* sub_dict: submission dictionary
	"""
	input_parent = fsubmission_obj.origin.find_parent(fsubmission_obj.origin, "input_form")
	ordered_submission_list = []

	if input_parent:
		for child, _, _, _, _ in input_parent.layout.content:
			if child.name in sub_dict.keys():
				ordered_submission_list.append(sub_dict[child.name])

	return ordered_submission_list

	This is the helper function to put the
	submission content to a list of arguments
	- Input:
		* sub_dict: submission dictionary
	
This is the helper function to put the
submission content to a list of arguments
Input:
sub_dict: submission dictionary
This is the helper function to put the submission content to a list of arguments Input : sub_dict : submission dictionary
def put_submissions_to_list(fsubmission_obj, sub_dict):
	input_parent = fsubmission_obj.origin.find_parent(fsubmission_obj.origin, "input_form")
	ordered_submission_list = []
	if input_parent:
		for child, _, _, _, _ in input_parent.layout.content:
			if child.name in sub_dict.keys():
				ordered_submission_list.append(sub_dict[child.name])
	return ordered_submission_list
def put_submissions_to_list ( fsubmission_obj , sub_dict ) : input_parent = fsubmission_obj . origin . find_parent ( fsubmission_obj . origin , "input_form" ) ordered_submission_list = [ ] if input_parent : for child , _ , _ , _ , _ in input_parent . layout . content : if child . name in sub_dict . keys ( ) : ordered_submission_list . append ( sub_dict [ child . name ] ) return ordered_submission_list
This is the helper function to put the
submission content to a list of arguments
 Input:
 sub_dict: submission dictionary
This is the helper function to put the submission content to a list of arguments Input : sub_dict : submission dictionary
"""
	This is the helper function to put the
	submission content to a list of arguments
	- Input:
		* sub_dict: submission dictionary
	"""
fsubmission_obj
sub_dict