Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CW Inference in Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charlie Hoy
CW Inference in Python
Commits
1bc03afd
Commit
1bc03afd
authored
1 year ago
by
Matthew David Pitkin
Browse files
Options
Downloads
Patches
Plain Diff
Update __init__.py: suppress warnings on import
parent
e8bfddb3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cwinpy/__init__.py
+12
-6
12 additions, 6 deletions
cwinpy/__init__.py
with
12 additions
and
6 deletions
cwinpy/__init__.py
+
12
−
6
View file @
1bc03afd
import
io
import
warnings
# register reader/writer
from
.
import
iostream
from
.data
import
HeterodynedData
,
MultiHeterodynedData
from
.info
import
*
from
.knope
import
skyshift
from
.parfile
import
PulsarParameters
# suppress warnings
with
warnings
.
catch_warnings
():
warnings
.
filterwarnings
(
"
ignore
"
,
message
=
"
Wswiglal-redir-stdio
"
)
warnings
.
filterwarnings
(
"
ignore
"
,
message
=
"
(.*)CONDOR_CONFIG(.*)
"
)
# register reader/writer
from
.
import
iostream
from
.data
import
HeterodynedData
,
MultiHeterodynedData
from
.info
import
*
from
.knope
import
skyshift
from
.parfile
import
PulsarParameters
try
:
from
._version
import
version
as
__version__
...
...
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