Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.pad.face bob.pad.face
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.pad.facebob.pad.face
  • Issues
  • #18
Closed
Open
Issue created Feb 14, 2018 by Olegs NIKISINS@onikisinsContributor

Possible duplication of database configuration files.

As @heusch pointed out, we have similar database configuration files in two places. Initially I suggested just to delete identical files, but after a closer look I realised that files are actually different.

For example we have:

bob/pad/face/config/database/msu_mfsd.py

and

bob/pad/face/config/msu_mfsd.py

Both are registered in setup.py, but in different groups.

One here: 'bob.pad.database': [ 'msu-mfsd = bob.pad.face.config.database.msu_mfsd:database',

Another one here: 'bob.bio.config': [ 'msu-mfsd = bob.pad.face.config.msu_mfsd',

As far as I understand first entry point allows to run experiment as follows:

spoof.py --database msu-mfsd <other arguments>

Second one is actually a full DB config allowing to run experiments easier:

spoof.py msu-mfsd <other arguments>

The question here is: should we try to get rid of one of these config files, or do we keep both?

I think one of these files can actually be removed, preserving functionality mentioned above.

@amohammadi Can you please advise on this? Thank you!

Assignee
Assign to
Time tracking