Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix: adding a print to debug the api in onrender
Browse files Browse the repository at this point in the history
  • Loading branch information
jagalindo committed Aug 25, 2023
1 parent b2fe57a commit a795203
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flamapy/interfaces/rest/operations_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _api_call(operation_name:str):
result= operation(request.form["configuration"])
else:
result= operation()

print(result)
# Remove file
os.remove(os.path.join(MODEL_FOLDER, uploaded_model.filename))

Expand Down Expand Up @@ -226,9 +226,9 @@ def commonality():
required: true
responses:
200:
description: An integer representing the deep of the tree
description: An float representing the commonality of the configuration
examples:
result: 5
result: 5.2
"""

return _api_call("commonality")
Expand Down

0 comments on commit a795203

Please sign in to comment.