Skip to content

Commit f6474c4

Browse files
committed
Move code into functional dirs, filenames converted to snake case
1 parent e95263c commit f6474c4

7 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/pathsim_flight/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@
1111
__version__ = "unknown"
1212

1313
__all__ = ["__version__"]
14+
15+
# For direct block import from main package
16+
from .atmosphere import *
17+
from .jsbsim import *
18+
from .utils import *
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .international_standard_atmosphere import *

src/pathsim_flight/ISA.py renamed to src/pathsim_flight/atmosphere/international_standard_atmosphere.py

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .jsbsim_wrapper import *
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .airspeed_conversions import *

src/pathsim_flight/AirspeedConversions.py renamed to src/pathsim_flight/utils/airspeed_conversions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#########################################################################################
22
##
3-
## JSBSim Wrapper Block
3+
## Airspeed conversion Blocks
44
##
55
#########################################################################################
66

77
# IMPORTS ===============================================================================
88

99
from pathsim.blocks import Function
10-
from ISA import ISAtmosphere
10+
from ..atmosphere import ISAtmosphere
1111
import math
1212

1313
# BLOCKS ================================================================================

0 commit comments

Comments
 (0)