From db435a6f1541703c75a22dca76c7e255b3e38d00 Mon Sep 17 00:00:00 2001 From: Pau Andrio Date: Wed, 16 Oct 2024 15:37:05 +0200 Subject: [PATCH] [FEATURE](__init__): Importing submodules when a module is loaded --- biobb_dna/__init__.py | 6 ++++++ biobb_dna/backbone/__init__.py | 3 +++ biobb_dna/curvesplus/__init__.py | 4 ++++ biobb_dna/dna/__init__.py | 4 ++++ biobb_dna/interbp_correlations/__init__.py | 3 +++ biobb_dna/intrabp_correlations/__init__.py | 4 ++++ biobb_dna/stiffness/__init__.py | 2 ++ 7 files changed, 26 insertions(+) diff --git a/biobb_dna/__init__.py b/biobb_dna/__init__.py index e717aa2e..c12099b2 100644 --- a/biobb_dna/__init__.py +++ b/biobb_dna/__init__.py @@ -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"] diff --git a/biobb_dna/backbone/__init__.py b/biobb_dna/backbone/__init__.py index 7fb8d784..f58adcaa 100644 --- a/biobb_dna/backbone/__init__.py +++ b/biobb_dna/backbone/__init__.py @@ -1,2 +1,5 @@ +from . import bipopulations +from . import canonicalag +from . import puckering name = "backbone" __all__ = ["bipopulations", "canonicalag", "puckering"] diff --git a/biobb_dna/curvesplus/__init__.py b/biobb_dna/curvesplus/__init__.py index 5f5c12a0..382ba7db 100644 --- a/biobb_dna/curvesplus/__init__.py +++ b/biobb_dna/curvesplus/__init__.py @@ -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"] diff --git a/biobb_dna/dna/__init__.py b/biobb_dna/dna/__init__.py index 41be3f21..fa54c2ac 100755 --- a/biobb_dna/dna/__init__.py +++ b/biobb_dna/dna/__init__.py @@ -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"] diff --git a/biobb_dna/interbp_correlations/__init__.py b/biobb_dna/interbp_correlations/__init__.py index 0e66e76c..cf6eb1ec 100755 --- a/biobb_dna/interbp_correlations/__init__.py +++ b/biobb_dna/interbp_correlations/__init__.py @@ -1,3 +1,6 @@ +from . import interbpcorr +from . import interhpcorr +from . import interseqcorr name = "interbp_correlations" __all__ = [ "interbpcorr", diff --git a/biobb_dna/intrabp_correlations/__init__.py b/biobb_dna/intrabp_correlations/__init__.py index cbd6f1c0..639bfbc9 100755 --- a/biobb_dna/intrabp_correlations/__init__.py +++ b/biobb_dna/intrabp_correlations/__init__.py @@ -1,3 +1,7 @@ +from . import intrabpcorr +from . import intrahpcorr +from . import intraseqcorr + name = "intrabp_correlations" __all__ = [ "intrabpcorr", diff --git a/biobb_dna/stiffness/__init__.py b/biobb_dna/stiffness/__init__.py index 7c515e90..4db5ed84 100755 --- a/biobb_dna/stiffness/__init__.py +++ b/biobb_dna/stiffness/__init__.py @@ -1,2 +1,4 @@ +from . import average_stiffness +from . import basepair_stiffness name = "stiffness" __all__ = ["average_stiffness", "basepair_stiffness"]