@@ -99,7 +99,7 @@ def allowed_objects():
9999
100100 UPLOAD_FOLDER = flask .current_app .config ["UPLOAD_FOLDER" ]
101101 utils_functions .validate_request (flask .request , allowed_objects_json )
102- file_absolute_path = geode_functions .upload_file_path (
102+ file_absolute_path = geode_functions .build_upload_file_path (
103103 UPLOAD_FOLDER , flask .request .json ["filename" ])
104104 allowed_objects = geode_functions .list_geode_objects (
105105 file_absolute_path , flask .request .json ["supported_feature" ]
@@ -124,7 +124,7 @@ def missing_files():
124124
125125 missing_files = geode_functions .missing_files (
126126 flask .request .json ["input_geode_object" ],
127- geode_functions .upload_file_path (
127+ geode_functions .build_upload_file_path (
128128 UPLOAD_FOLDER , flask .request .json ["filename" ]),
129129 )
130130 has_missing_files = missing_files .has_missing_files ()
@@ -217,7 +217,7 @@ def geode_objects_and_output_extensions():
217217 )
218218 data = geode_functions .load (
219219 flask .request .json ["input_geode_object" ],
220- geode_functions .upload_file_path (
220+ geode_functions .build_upload_file_path (
221221 UPLOAD_FOLDER , flask .request .json ["filename" ]),
222222 )
223223 geode_objects_and_output_extensions = (
@@ -290,8 +290,9 @@ def create_point():
290290)
291291def texture_coordinates ():
292292 utils_functions .validate_request (flask .request , texture_coordinates_json )
293- data = geode_functions .load_data (
293+ data = geode_functions .load_from_request (
294294 flask .request .json ["input_geode_object" ],
295+ DATA_FOLDER_PATH ,
295296 flask .request .json ,
296297)
297298
@@ -313,8 +314,9 @@ def texture_coordinates():
313314)
314315def vertex_attribute_names ():
315316 utils_functions .validate_request (flask .request , vertex_attribute_names_json )
316- data = geode_functions .load_data (
317+ data = geode_functions .load_from_request (
317318 flask .request .json ["input_geode_object" ],
319+ DATA_FOLDER_PATH ,
318320 flask .request .json ,
319321 )
320322
@@ -341,8 +343,9 @@ def vertex_attribute_names():
341343)
342344def polygon_attribute_names ():
343345 utils_functions .validate_request (flask .request , polygon_attribute_names_json )
344- data = geode_functions .load_data (
346+ data = geode_functions .load_from_request (
345347 flask .request .json ["input_geode_object" ],
348+ DATA_FOLDER_PATH ,
346349 flask .request .json ,
347350 )
348351
@@ -369,8 +372,9 @@ def polygon_attribute_names():
369372)
370373def polyhedron_attribute_names ():
371374 utils_functions .validate_request (flask .request , vertex_attribute_names_json )
372- data = geode_functions .load_data (
375+ data = geode_functions .load_from_request (
373376 flask .request .json ["input_geode_object" ],
377+ DATA_FOLDER_PATH ,
374378 flask .request .json ,
375379 )
376380
0 commit comments