mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Remove unused test variable
This commit is contained in:
		@@ -11,15 +11,15 @@ import os
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SERVICES = {'corpus_analysis': {'name': 'Corpus analysis'},
 | 
					SERVICES = {'corpus_analysis': {'name': 'Corpus analysis'},
 | 
				
			||||||
            'setup_files': {'name': 'Setup files',
 | 
					 | 
				
			||||||
                            'resources': {'mem_mb': 4096, 'n_cores': 4},
 | 
					 | 
				
			||||||
                            'add_job_form': AddSetupFilesJobForm},
 | 
					 | 
				
			||||||
            'nlp': {'name': 'Natural Language Processing',
 | 
					            'nlp': {'name': 'Natural Language Processing',
 | 
				
			||||||
                    'resources': {'mem_mb': 4096, 'n_cores': 2},
 | 
					                    'resources': {'mem_mb': 4096, 'n_cores': 2},
 | 
				
			||||||
                    'add_job_form': AddNLPJobForm},
 | 
					                    'add_job_form': AddNLPJobForm},
 | 
				
			||||||
            'ocr': {'name': 'Optical Character Recognition',
 | 
					            'ocr': {'name': 'Optical Character Recognition',
 | 
				
			||||||
                    'resources': {'mem_mb': 8192, 'n_cores': 4},
 | 
					                    'resources': {'mem_mb': 8192, 'n_cores': 4},
 | 
				
			||||||
                    'add_job_form': AddOCRJobForm}}
 | 
					                    'add_job_form': AddOCRJobForm},
 | 
				
			||||||
 | 
					            'setup_files': {'name': 'Setup files',
 | 
				
			||||||
 | 
					                            'resources': {'mem_mb': 4096, 'n_cores': 4},
 | 
				
			||||||
 | 
					                            'add_job_form': AddSetupFilesJobForm}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@services.route('/<service>', methods=['GET', 'POST'])
 | 
					@services.route('/<service>', methods=['GET', 'POST'])
 | 
				
			||||||
@@ -74,6 +74,5 @@ def service(service):
 | 
				
			|||||||
            return make_response(
 | 
					            return make_response(
 | 
				
			||||||
                {'redirect_url': url_for('jobs.job', job_id=job.id)}, 201)
 | 
					                {'redirect_url': url_for('jobs.job', job_id=job.id)}, 201)
 | 
				
			||||||
    return render_template('services/{}.html.j2'.format(service),
 | 
					    return render_template('services/{}.html.j2'.format(service),
 | 
				
			||||||
                           roadmap=True,
 | 
					 | 
				
			||||||
                           title=SERVICES[service]['name'],
 | 
					                           title=SERVICES[service]['name'],
 | 
				
			||||||
                           add_job_form=add_job_form)
 | 
					                           add_job_form=add_job_form)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user