Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E ensembl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ensembl-gh-mirror
  • ensembl
  • Merge requests
  • !495

ENSCORESW-3503: keep analysis id when storing coordinate xrefs

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marek Szuba requested to merge bugfix/coordinate_analysis into master Jun 29, 2020
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

Created by: magaliruffier

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
  • Review the contributing guidelines for this repository; remember in particular:
    • do not modify code without testing for regression
    • provide simple unit tests to test the changes
    • if you change the schema you must patch the test databases as well, see Updating the schema
    • the PR must not fail unit testing

Description

Using one or more sentences, describe in detail the proposed changes. Entries in the object_xref table for coordinate xrefs are being stored with an analysis_id 0 The corresponding analysis is created but not used The proposed change passes the analysis_id for the correct analysis as an argument, to be stored in the object_xref table

Use case

Describe the problem. Please provide an example representing the motivation behind the need for having these changes in place. analysis_id 0 is not really good No analysis_id would already be better, but as the analysis object already exist, might as well use it here

Benefits

If applicable, describe the advantages the changes will have. No entry in object_xref with analysis_id 0

Possible Drawbacks

If applicable, describe any possible undesirable consequence of the changes. None that I can see

Testing

Have you added/modified unit tests to test the changes? NA

If so, do the tests pass/fail? NA

Have you run the entire test suite and no regression was detected? This part of the code has no test cases associated to it. The whole xref pipeline was run before and after the change to verify the change works as expected In particular, the datachecks run at the end of the pipeline were reporting those entries with analysis_id 0 and do not with the change

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bugfix/coordinate_analysis