4747@lhcb_bp .route ('/analysis' , methods = ['GET' ])
4848@lhcb_permission .require (403 )
4949def lhcb_get_analysis ():
50- """Retrieves lhcb analysis."""
50+ """Retrieve lhcb analysis."""
5151 query = unquote (request .args .get ('query' , '' ))
5252 location = current_app .config .get ('LHCB_DB_FILES_LOCATION' , '' )
5353
@@ -63,7 +63,7 @@ def lhcb_get_analysis():
6363@lhcb_bp .route ('/analysis/details' , methods = ['GET' ])
6464@lhcb_permission .require (403 )
6565def lhcb_get_analysis_data ():
66- """Retrieves lhcb analysis data."""
66+ """Retrieve lhcb analysis data."""
6767 title = unquote (request .args .get ('title' , '' ))
6868 location = current_app .config .get ('LHCB_DB_FILES_LOCATION' , '' )
6969
@@ -78,7 +78,7 @@ def lhcb_get_analysis_data():
7878@lhcb_bp .route ('/analysis/collisiondata/' , methods = ['GET' ])
7979@lhcb_permission .require (403 )
8080def lhcb_get_collision_data ():
81- """Retrieves lhcb analysis collision data."""
81+ """Retrieve lhcb analysis collision data."""
8282 stripping_line = request .args .get ('stripping_line' , '' )
8383 params = parse_stripping_line (unquote (stripping_line ))
8484 url = current_app .config .get ('LHCB_GETCOLLISIONDATA_URL' , '' )
@@ -110,7 +110,7 @@ def lhcb_get_collision_data():
110110@lhcb_bp .route ('/analysis/platforms' , methods = ['GET' ])
111111@lhcb_permission .require (403 )
112112def lhcb_get_platforms ():
113- """Retrieves lhcb analysis platforms."""
113+ """Retrieve lhcb analysis platforms."""
114114 app = request .args .get ('application' , '' ).replace (' ' , '-' )
115115 url = current_app .config .get ('LHCB_GETPLATFORM_URL' , '' ) + app
116116
@@ -127,7 +127,7 @@ def lhcb_get_platforms():
127127
128128
129129def get_soft_info (url ):
130- """Retrieves lhcb analysis soft info."""
130+ """Retrieve lhcb analysis soft info."""
131131 soft = version = ''
132132
133133 response = requests .get (url ).json ()
@@ -139,7 +139,7 @@ def get_soft_info(url):
139139
140140
141141def parse_stripping_line (stripping_line ):
142- """Parses stripping line."""
142+ """Parse stripping line."""
143143 regex = r'Collision(?P<year>\d{2})' + \
144144 r'.*(?P<reco>Reco[^/]*)' + \
145145 r'.*(?P<stripping>Stripping[^/]*)'
0 commit comments