1 parent e23ce3d commit 83ecaa9Copy full SHA for 83ecaa9
1 file changed
simplemeca_flask/simplemeca.py
@@ -61,7 +61,7 @@ def pygmt_simplemeca(
61
return(fig_input)
62
63
64
-def test_pygmt(expected_result_uri: str, this_payload: dict):
+def meca_sdr_gen(expected_result_uri: str, this_payload: dict):
65
current_dir = os.getcwd()
66
fig = pygmt.Figure()
67
fig = pygmt_simplemeca(
@@ -101,7 +101,7 @@ def simplemeca_v1():
101
result_url = request.url_root + result_uri
102
if not Path(result_uri).is_file():
103
print(f'Creating: {result_uri}....', end=' ')
104
- test_pygmt(result_uri, this_payload)
+ meca_sdr_gen(result_uri, this_payload)
105
print('OK!')
106
else:
107
print('image exists, skip!')
0 commit comments