File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def sample_by_id_api(sample_id):
44
44
return jsonify (result )
45
45
46
46
47
- @app .route ('/api/samples/ ' )
47
+ @app .route ('/api/samples' )
48
48
@token_required
49
49
def get_samples_api ():
50
50
sample_name = request .args .get ('sample_name' ) or ''
@@ -63,7 +63,7 @@ def get_samples_api():
63
63
return jsonify (samples_list )
64
64
65
65
66
- @app .route ('/api/sample/<sample_name>/run/<run_id>/ ' )
66
+ @app .route ('/api/sample/<sample_name>/run/<run_id>' )
67
67
@token_required
68
68
def get_summary_by_sample_name_and_run_id_api (sample_name , run_id ):
69
69
samples = get_samples_by_like_sample_name_or_like_run_id (sample_name , run_id )
@@ -73,14 +73,14 @@ def get_summary_by_sample_name_and_run_id_api(sample_name, run_id):
73
73
return jsonify (samples_list )
74
74
75
75
76
- @app .route ('/api/samples/name/<sample_name>/ ' )
76
+ @app .route ('/api/samples/name/<sample_name>' )
77
77
@token_required
78
78
def get_sample_by_sample_name_api (sample_name ):
79
79
sample = get_sample_by_sample_name (sample_name )
80
80
return jsonify (model_to_dict (sample ))
81
81
82
82
83
- @app .route ('/api/sample/run/<run_id>/ ' )
83
+ @app .route ('/api/sample/run/<run_id>' )
84
84
@token_required
85
85
def get_summary_by_run_id_api (run_id ):
86
86
samples = get_sample_by_like_run_id (run_id )
You can’t perform that action at this time.
0 commit comments