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
72fc3910
Commit
72fc3910
authored
1 year ago
by
Bert Palm
🎇
Browse files
Options
Downloads
Plain Diff
Merge branch 'version_option' into 'develop'
Version option Closes
#436
See merge request
!713
parents
88eab9b4
47c85d02
No related branches found
No related tags found
1 merge request
!713
Version option
Pipeline
#182705
passed with stages
in 7 minutes and 14 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
saqc/__main__.py
+10
-2
10 additions, 2 deletions
saqc/__main__.py
saqc/core/core.py
+1
-1
1 addition, 1 deletion
saqc/core/core.py
with
12 additions
and
3 deletions
CHANGELOG.md
+
1
−
0
View file @
72fc3910
...
@@ -10,6 +10,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
...
@@ -10,6 +10,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
[
List of commits
](
https://git.ufz.de/rdm-software/saqc/-/compare/v2.4.0...develop
)
[
List of commits
](
https://git.ufz.de/rdm-software/saqc/-/compare/v2.4.0...develop
)
### Added
### Added
-
added checks and unified error message for common inputs.
-
added checks and unified error message for common inputs.
-
added command line
`--version`
option
### Changed
### Changed
-
pin pandas to versions >= 2.0
-
pin pandas to versions >= 2.0
-
parameter
`fill_na`
of
`SaQC.flagUniLOF`
and
`SaQC.assignUniLOF`
is now of type
-
parameter
`fill_na`
of
`SaQC.flagUniLOF`
and
`SaQC.assignUniLOF`
is now of type
...
...
This diff is collapsed.
Click to expand it.
saqc/__main__.py
+
10
−
2
View file @
72fc3910
...
@@ -18,6 +18,7 @@ import pyarrow as pa
...
@@ -18,6 +18,7 @@ import pyarrow as pa
from
saqc.core
import
DictOfSeries
from
saqc.core
import
DictOfSeries
from
saqc.core.core
import
TRANSLATION_SCHEMES
from
saqc.core.core
import
TRANSLATION_SCHEMES
from
saqc.parsing.reader
import
fromConfig
from
saqc.parsing.reader
import
fromConfig
from
saqc.version
import
__version__
logger
=
logging
.
getLogger
(
"
SaQC
"
)
logger
=
logging
.
getLogger
(
"
SaQC
"
)
...
@@ -66,6 +67,7 @@ def writeData(writer_dict, df, fname):
...
@@ -66,6 +67,7 @@ def writeData(writer_dict, df, fname):
@click.command
()
@click.command
()
@click.version_option
(
__version__
)
@click.option
(
@click.option
(
"
-c
"
,
"
-c
"
,
"
--config
"
,
"
--config
"
,
...
@@ -82,11 +84,16 @@ def writeData(writer_dict, df, fname):
...
@@ -82,11 +84,16 @@ def writeData(writer_dict, df, fname):
help
=
"
path to the data file
"
,
help
=
"
path to the data file
"
,
)
)
@click.option
(
@click.option
(
"
-o
"
,
"
--outfile
"
,
type
=
click
.
Path
(
exists
=
False
),
help
=
"
path to the output file
"
"
-o
"
,
"
--outfile
"
,
type
=
click
.
Path
(
exists
=
False
),
required
=
False
,
help
=
"
path to the output file
"
,
)
)
@click.option
(
@click.option
(
"
--scheme
"
,
"
--scheme
"
,
default
=
None
,
default
=
"
simple
"
,
show_default
=
True
,
type
=
click
.
Choice
(
tuple
(
TRANSLATION_SCHEMES
.
keys
())),
type
=
click
.
Choice
(
tuple
(
TRANSLATION_SCHEMES
.
keys
())),
help
=
"
the flagging scheme to use
"
,
help
=
"
the flagging scheme to use
"
,
)
)
...
@@ -94,6 +101,7 @@ def writeData(writer_dict, df, fname):
...
@@ -94,6 +101,7 @@ def writeData(writer_dict, df, fname):
@click.option
(
@click.option
(
"
--log-level
"
,
"
--log-level
"
,
default
=
"
INFO
"
,
default
=
"
INFO
"
,
show_default
=
True
,
type
=
click
.
Choice
([
"
DEBUG
"
,
"
INFO
"
,
"
WARNING
"
]),
type
=
click
.
Choice
([
"
DEBUG
"
,
"
INFO
"
,
"
WARNING
"
]),
help
=
"
set output verbosity
"
,
help
=
"
set output verbosity
"
,
)
)
...
...
This diff is collapsed.
Click to expand it.
saqc/core/core.py
+
1
−
1
View file @
72fc3910
...
@@ -35,8 +35,8 @@ np.seterr(invalid="ignore")
...
@@ -35,8 +35,8 @@ np.seterr(invalid="ignore")
TRANSLATION_SCHEMES
=
{
TRANSLATION_SCHEMES
=
{
"
float
"
:
FloatScheme
,
"
simple
"
:
SimpleScheme
,
"
simple
"
:
SimpleScheme
,
"
float
"
:
FloatScheme
,
"
dmp
"
:
DmpScheme
,
"
dmp
"
:
DmpScheme
,
"
positional
"
:
PositionalScheme
,
"
positional
"
:
PositionalScheme
,
}
}
...
...
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