Skip to content

Commit

Permalink
import cubic spline 2d class for course creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShisatoYano committed Dec 4, 2024
1 parent 1aeab11 commit 92ccd23
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/course/cubic_spline_course/cubic_spline_course.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@
Author: Shisato Yano
"""

# import path setting
import sys
from pathlib import Path

abs_dir_path = str(Path(__file__).absolute().parent)
relative_path = "/../../../components/"

sys.path.append(abs_dir_path + relative_path + "course/cubic_spline_course")

#import component modules
from cubic_spline_2d import CubicSpline2D

print(CubicSpline2D)

0 comments on commit 92ccd23

Please sign in to comment.