Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
orekit_jpype
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit
orekit_jpype
Commits
8d7073fb
Commit
8d7073fb
authored
5 months ago
by
Petrus Hyvönen
Browse files
Options
Downloads
Patches
Plain Diff
started adding logging
parent
faf97212
No related branches found
No related tags found
1 merge request
!22
Fix logging issue 8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
orekit_jpype/orekit_jpype.py
+2
-1
2 additions, 1 deletion
orekit_jpype/orekit_jpype.py
orekit_jpype/pyhelpers.py
+1
-0
1 addition, 0 deletions
orekit_jpype/pyhelpers.py
with
3 additions
and
1 deletion
orekit_jpype/orekit_jpype.py
+
2
−
1
View file @
8d7073fb
import
jpype
import
jpype.imports
# This enables direct import of java classes
from
typing
import
List
,
Union
,
Optional
import
logging
# import jpype.beans # This creates pythonic versions of getters / setters (as in JCC version)
import
os
...
...
@@ -45,7 +46,7 @@ def initVM(vmargs: Union[str, None] = None,
else
:
jpype
.
startJVM
(
convertStrings
=
True
,
jvmpath
=
jvmpath
)
else
:
print
(
"
JVM already started, resuming on started JVM
"
)
logging
.
debug
(
"
JVM already started, resuming on started JVM
"
)
# Perform modifications for orekit
import
orekit_jpype.orekit_converters
# noqa: F401
This diff is collapsed.
Click to expand it.
orekit_jpype/pyhelpers.py
+
1
−
0
View file @
8d7073fb
...
...
@@ -21,6 +21,7 @@ from datetime import datetime
import
math
import
os
import
logging
from
typing
import
List
,
Union
import
numpy
as
np
import
numpy.typing
as
npt
...
...
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