Closed ke4 closed 7 months ago
Here lies the code that we have to refactor: https://github.com/ebi-gene-expression-group/atlas-web-core/blob/2dcf1d8e0e19f58be6971a3f642a50e2da3c1023/src/main/java/uk/ac/ebi/atlas/trader/factory/BaselineExperimentFactory.java#L80
extractAlternativeViews(String experimentAccession, BaselineExperimentConfiguration factorsConfig)
Currently if an experiment has an
alternative view
defined in itsfactor.xml
file and that other experiment is missing from the database, then our application stops when we try to start up the application and it is processing that experiment. This is happening both insingle cell
andbulk
as the logic is shared.We have to replace this logic and implement the following if there is a missing
alternative view
: