Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
6d422925
Commit
6d422925
authored
5 years ago
by
Bert Palm
🎇
Browse files
Options
Downloads
Patches
Plain Diff
added some generic imports in the inits
parent
04cb21b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
saqc/__init__.py
+3
-0
3 additions, 0 deletions
saqc/__init__.py
saqc/core/__init__.py
+2
-0
2 additions, 0 deletions
saqc/core/__init__.py
saqc/lib/tools.py
+3
-1
3 additions, 1 deletion
saqc/lib/tools.py
with
8 additions
and
1 deletion
saqc/__init__.py
+
3
−
0
View file @
6d422925
#! /usr/bin/env python
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
from
saqc.core.core
import
runner
from
saqc.flagger
import
*
This diff is collapsed.
Click to expand it.
saqc/core/__init__.py
+
2
−
0
View file @
6d422925
#! /usr/bin/env python
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
from
saqc.core.core
import
runner
This diff is collapsed.
Click to expand it.
saqc/lib/tools.py
+
3
−
1
View file @
6d422925
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import
numbers
import
numbers
from
typing
import
Sequence
,
Union
,
T
from
typing
import
Sequence
,
Union
import
numpy
as
np
import
numpy
as
np
import
pandas
as
pd
import
pandas
as
pd
import
numba
as
nb
import
numba
as
nb
from
saqc.lib.types
import
T
def
assertScalar
(
name
,
value
,
optional
=
False
):
def
assertScalar
(
name
,
value
,
optional
=
False
):
if
(
not
np
.
isscalar
(
value
))
and
(
value
is
not
None
)
and
(
optional
is
True
):
if
(
not
np
.
isscalar
(
value
))
and
(
value
is
not
None
)
and
(
optional
is
True
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment