@@ -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 .build_upload_file_path (
102+ file_absolute_path = geode_functions .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 .build_upload_file_path (
127+ geode_functions .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 .build_upload_file_path (
220+ geode_functions .upload_file_path (
221221 UPLOAD_FOLDER , flask .request .json ["filename" ]),
222222 )
223223 geode_objects_and_output_extensions = (
@@ -290,9 +290,8 @@ def create_point():
290290)
291291def texture_coordinates ():
292292 utils_functions .validate_request (flask .request , texture_coordinates_json )
293- data = geode_functions .load_from_request (
293+ data = geode_functions .load_data (
294294 flask .request .json ["input_geode_object" ],
295- DATA_FOLDER_PATH ,
296295 flask .request .json ,
297296)
298297
@@ -314,9 +313,8 @@ def texture_coordinates():
314313)
315314def vertex_attribute_names ():
316315 utils_functions .validate_request (flask .request , vertex_attribute_names_json )
317- data = geode_functions .load_from_request (
316+ data = geode_functions .load_data (
318317 flask .request .json ["input_geode_object" ],
319- DATA_FOLDER_PATH ,
320318 flask .request .json ,
321319 )
322320
@@ -343,9 +341,8 @@ def vertex_attribute_names():
343341)
344342def polygon_attribute_names ():
345343 utils_functions .validate_request (flask .request , polygon_attribute_names_json )
346- data = geode_functions .load_from_request (
344+ data = geode_functions .load_data (
347345 flask .request .json ["input_geode_object" ],
348- DATA_FOLDER_PATH ,
349346 flask .request .json ,
350347 )
351348
@@ -372,9 +369,8 @@ def polygon_attribute_names():
372369)
373370def polyhedron_attribute_names ():
374371 utils_functions .validate_request (flask .request , vertex_attribute_names_json )
375- data = geode_functions .load_from_request (
372+ data = geode_functions .load_data (
376373 flask .request .json ["input_geode_object" ],
377- DATA_FOLDER_PATH ,
378374 flask .request .json ,
379375 )
380376
0 commit comments