Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.bio.base bob.bio.base
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.bio.basebob.bio.base
  • Merge requests
  • !59

Merged
Created Jan 18, 2017 by Manuel Günther@mguentherMaintainer

Resolve "strange behaviour when retrieving objects from bob.bio.base filelist database query"

  • Overview 10
  • Commits 5
  • Pipelines 3
  • Changes 19

Closes #59 (closed)

I have implemented a way to create a ListReader object for each protocol. In this way, the #59 (closed) should be solved. However, I have not yet created a test case for that. Just the normal test cases still run (at least on my machine).

@heusch: Could you please test if your problem is solved with this implementation?

There are still several functions that rely on the internally stored self.protocol instead of taking the protocol as a parameter. I think the main reason for that is that some functions overwrite ZTBioDatabase base class functions that usually are not overwritten. Maybe, we can have an optional protocol parameter in these functions and use the same trick as in the others:

if protocol is None:
  protocol = self.protocol

(where self.protocol itself can be None).

@amohammadi: Do you think this is a reasonable approach?

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 59-strange-behaviour-when-retrieving-objects-from-bob-bio-base-filelist-database-query