Commit ee066de8 authored by Mario's avatar Mario
Browse files

more direct importing

parent a75b8caa
Loading
Loading
Loading
Loading
+4 −15
Original line number Diff line number Diff line
@@ -31,21 +31,10 @@ import copy
from typing import Dict, List, Mapping, Type, Optional, Union, Set
import numpy as np
from itertools import product
from DMT.core import (
    create_md5_hash,
    specifiers,
    sub_specifiers,
    SpecifierStr,
    DataFrame,
    SweepDef,
)
from DMT.core.sweep_def import (
    SweepDefLinear,
    SweepDefList,
    SweepDefLog,
    SweepDefSync,
    SweepDefConst,
)
from DMT.core.data_frame import DataFrame
from DMT.core.naming import specifiers, sub_specifiers, SpecifierStr
from DMT.core.hasher import create_md5_hash
from DMT.core.sweep_def import SweepDef, SweepDefList, SweepDefConst

_SPEC_VOLTAGE = specifiers.VOLTAGE
_SPEC_CURRENT = specifiers.CURRENT
+3 −7
Original line number Diff line number Diff line
@@ -26,14 +26,10 @@ Features:
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>
from __future__ import annotations
from typing import Dict, List, Mapping, Type, Optional, Union, Tuple
from typing import List, Optional, Union, Tuple
import numpy as np
from DMT.core import (
    specifiers,
    get_specifier_from_string,
    flatten,
    SpecifierStr,
)
from DMT.core.naming import specifiers, SpecifierStr, get_specifier_from_string
from DMT.core.data_processor import flatten


class SweepDef(object):