Skip to content

Commit f014257

Browse files
Merge pull request #77 from Stanford-NavLab/derek/viz-save
Derek/viz save
2 parents 20d8996 + 2a5d839 commit f014257

4 files changed

Lines changed: 2 additions & 27 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: python-app
4+
name: build
55

66
on:
77
push:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ data/*
66
# development folder
77
dev/*
88
!dev/.gitkeep
9+
gnss_lib_py_dev/
910

1011
# development folder
1112
results/*

gnss_lib_py/utils/file_operations.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,3 @@ def get_timestamp():
3737
"""
3838
timestamp = time.strftime("%Y%m%d%H%M%S")
3939
return timestamp
40-
41-
def print_directory_levels():
42-
"""Prints out file directory levels.
43-
44-
"""
45-
46-
printed_path = os.path.realpath(__file__)
47-
48-
for level in range(5):
49-
print(f"{level} level(s) up: {printed_path}")
50-
printed_path = os.path.dirname(printed_path)
51-
52-
def print_cwd():
53-
"""Prints out file directory levels.
54-
55-
"""
56-
57-
print("cwd:",os.getcwd())
58-
print("dir above cwd:",os.path.dirname(os.getcwd()))

tests/utils/test_file_operations.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,3 @@ def test_get_timestamp():
2020

2121
# timestamp should all be numeric characters
2222
assert timestamp.isnumeric()
23-
24-
def test_directory_printing():
25-
"""Test directory printing functions.
26-
27-
"""
28-
fo.print_directory_levels()
29-
fo.print_cwd()

0 commit comments

Comments
 (0)