@@ -247,18 +247,7 @@ def save_viewable_file():
247247 secure_filename = werkzeug .utils .secure_filename (flask .request .json ["filename" ])
248248 file_path = os .path .abspath (os .path .join (UPLOAD_FOLDER , secure_filename ))
249249 data = geode_functions .load (flask .request .json ["input_geode_object" ], file_path )
250- < << << << HEAD
251250 response_data = utils_functions .create_response_with_binary_light_viewable (flask .request .json ["input_geode_object" ], data , DATA_FOLDER_PATH )
252- == == == =
253- generated_id = str (uuid .uuid4 ()).replace ("-" , "" )
254- name = data .name ()
255- object_type = geode_functions .get_object_type (
256- flask .request .json ["input_geode_object" ]
257- )
258- response_data = utils_functions .create_geode_object_response (
259- flask .request .json ["input_geode_object" ], data , DATA_FOLDER_PATH
260- )
261- >> >> >> > 850 db36bc3cfa160172b32485df1623e5714d7b8
262251 return flask .jsonify (response_data ), 200
263252
264253
@@ -280,15 +269,8 @@ def create_point():
280269 builder .create_point (opengeode .Point3D ([x , y , z ]))
281270 builder .set_name (title )
282271 return flask .make_response (
283- << << << < HEAD
284272 utils_functions .create_response_with_binary_light_viewable ("PointSet3D" , PointSet3D , DATA_FOLDER_PATH ),
285273 200 ,
286- == == == =
287- utils_functions .create_geode_object_response (
288- "PointSet3D" , PointSet3D , DATA_FOLDER_PATH
289- ),
290- 200 ,
291- >> >> >> > 850 db36bc3cfa160172b32485df1623e5714d7b8
292274 )
293275
294276
0 commit comments