Skip to content
Snippets Groups Projects
Commit 655b88cf authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

Fixing duplication of declarations for sphinx

parent 483dfd72
Branches
Tags
No related merge requests found
Pipeline #
......@@ -5,14 +5,6 @@ from .LDA import LDA
from .PLDA import PLDA
from .BIC import BIC
# # to fix sphinx warnings of not being able to find classes, when path is shortened
# Algorithm.__module__ = "bob.bio.base.algorithm"
# Distance.__module__ = "bob.bio.base.algorithm"
# PCA.__module__ = "bob.bio.base.algorithm"
# LDA.__module__ = "bob.bio.base.algorithm"
# PLDA.__module__ = "bob.bio.base.algorithm"
# BIC.__module__ = "bob.bio.base.algorithm"
# gets sphinx autodoc done right - don't remove it
def __appropriate__(*args):
"""Says object was actually declared here, and not in the import module.
......
......@@ -3,12 +3,6 @@ from .file import BioFileSet
from .database import BioDatabase
from .database import ZTBioDatabase
# to fix sphinx warnings of not being able to find classes, when path is shortened
BioFile.__module__ = "bob.bio.base.database"
BioFileSet.__module__ = "bob.bio.base.database"
BioDatabase.__module__ = "bob.bio.base.database"
ZTBioDatabase.__module__ = "bob.bio.base.database"
# gets sphinx autodoc done right - don't remove it
def __appropriate__(*args):
"""Says object was actually declared here, and not in the import module.
......
from .Extractor import Extractor
from .Linearize import Linearize
# to fix sphinx warnings of not being able to find classes, when path is shortened
Extractor.__module__ = "bob.bio.base.extractor"
Linearize.__module__ = "bob.bio.base.extractor"
# gets sphinx autodoc done right - don't remove it
def __appropriate__(*args):
"""Says object was actually declared here, and not in the import module.
......
from .Preprocessor import Preprocessor
from .Filename import Filename
# to fix sphinx warnings of not being able to find classes, when path is shortened
Preprocessor.__module__ = "bob.bio.base.preprocessor"
Filename.__module__ = "bob.bio.base.preprocessor"
# gets sphinx autodoc done right - don't remove it
def __appropriate__(*args):
"""Says object was actually declared here, and not in the import module.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment