Skip to content

Commit

Permalink
fix: update converter api decription
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Nov 9, 2023
1 parent 85f1ea3 commit 56d2bfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/routers/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ def get_health() -> HealthCheck:


@router.get(
"/nmrLoadSave",
"/spectra",
tags=["converter"],
summary="Conversion through nmr-load save",
# response_model=List[int],
response_description="Conversion through nmr-load save",
summary="Load and convert NMR raw data",
#response_model=List[int],
response_description="Load and convert NMR raw data",
status_code=status.HTTP_200_OK,
)
async def nmr_load_save(url: str):
"""
## Return nmr_load save result
## Return nmrium json
Returns:
Return nmr_load save result
Return nmrium json
"""
process = subprocess.Popen(
["docker exec nmr-converter nmr-cli -u " + url],
Expand Down

0 comments on commit 56d2bfd

Please sign in to comment.