Skip to content

Commit

Permalink
[FEATURE](__init__): Importing submodules when a module is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
PauAndrio committed Oct 16, 2024
1 parent f699422 commit db435a6
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions biobb_dna/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
from . import dna
from . import curvesplus
from . import backbone
from . import stiffness
from . import interbp_correlations
from . import intrabp_correlations
name = "biobb_dna"
__all__ = ["dna", "curvesplus", "backbone", "stiffness",
"interbp_correlations", "intrabp_correlations"]
Expand Down
3 changes: 3 additions & 0 deletions biobb_dna/backbone/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
from . import bipopulations
from . import canonicalag
from . import puckering
name = "backbone"
__all__ = ["bipopulations", "canonicalag", "puckering"]
4 changes: 4 additions & 0 deletions biobb_dna/curvesplus/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
from . import biobb_curves
from . import biobb_canal
from . import biobb_canion
from . import canal_unzip
name = "curves"
__all__ = ["biobb_curves", "biobb_canal", "biobb_canion", "canal_unzip"]
4 changes: 4 additions & 0 deletions biobb_dna/dna/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
from . import dna_averages
from . import dna_bimodality
from . import dna_timeseries
from . import dna_timeseries_unzip
name = "dna"
__all__ = ["dna_averages", "dna_bimodality", "dna_timeseries", "dna_timeseries_unzip"]
3 changes: 3 additions & 0 deletions biobb_dna/interbp_correlations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from . import interbpcorr
from . import interhpcorr
from . import interseqcorr
name = "interbp_correlations"
__all__ = [
"interbpcorr",
Expand Down
4 changes: 4 additions & 0 deletions biobb_dna/intrabp_correlations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from . import intrabpcorr
from . import intrahpcorr
from . import intraseqcorr

name = "intrabp_correlations"
__all__ = [
"intrabpcorr",
Expand Down
2 changes: 2 additions & 0 deletions biobb_dna/stiffness/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
from . import average_stiffness
from . import basepair_stiffness
name = "stiffness"
__all__ = ["average_stiffness", "basepair_stiffness"]

0 comments on commit db435a6

Please sign in to comment.