ngi_pipeline/engines/sarek/models/sarek.py
File sarek.py
has 487 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import csv
import os
from ngi_pipeline.engines.sarek.database import CharonConnector, TrackingConnector
from ngi_pipeline.engines.sarek.exceptions import BestPracticeAnalysisNotRecognized, SampleNotValidForAnalysisError
SarekAnalysis
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SarekAnalysis(object):
"""
Base class for the SarekAnalysis engine. This class contains the necessary methods for configuring and launching
an analysis with the Sarek engine. However, some methods are not implemented (they are "abstract") and are
expected to be implemented in subclasses, providing interfaces to the specialized analysis modes (e.g. Germline or
Function get_analysis_instance_for_workflow
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_analysis_instance_for_workflow(
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function seqrun_should_be_started
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def seqrun_should_be_started(self,
Function get_analysis_instance_for_project
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_analysis_instance_for_project(