Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html linguist-vendored
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@ AppData
*.txt
*.DS_Store
*.csv
*._*
*._*

/data/zenodo

/data/processed/*.pkl
/data/processed/*.pdf
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.8 # Make sure you're using the correct version of Ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.2 # Make sure you're using the correct version of Ruff
hooks:
# Run the linter.
# Run the linter.
- id: ruff
types_or: [ python, pyi ] # Target Python files and type stub files
args: ['check', '--select', 'I', '--fix', '.']
# Run the formatter.
types_or: [python, pyi] # Target Python files and type stub files
args: ["check", "--select", "I", "--fix", "."]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi ] # Format Python and stub files
types_or: [python, pyi] # Format Python and stub files

# Mypy type checker
- repo: local
hooks:
- id: mypy
name: Analyze with Mypy
entry: mypy --strict # Runs Mypy with the strictest settings
entry: mypy --strict # Runs Mypy with the strictest settings
language: python
types: ['python'] # Targets Python files
files: \.py$ # Only .py files
types: ["python"] # Targets Python files
files: \.py$ # Only .py files
16 changes: 4 additions & 12 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@

if selected_tab == "Trajectories":
msg = st.empty()
file_name_to_path = {
path.split("/")[-1]: path for path in st.session_state.files
}
filename = str(
st.selectbox(":open_file_folder: **Select a file**", file_name_to_path)
)
file_name_to_path = {path.split("/")[-1]: path for path in st.session_state.files}
filename = str(st.selectbox(":open_file_folder: **Select a file**", file_name_to_path))
st.session_state.selected_file = file_name_to_path[filename]
run_tab2(file_name_to_path[filename], msg)

Expand All @@ -52,11 +48,7 @@
# run_explorer()

if selected_tab == "Geometry":
file_name_to_path = {
path.split("/")[-1]: path for path in st.session_state.files
}
filename = str(
st.selectbox(":open_file_folder: **Select a file**", file_name_to_path)
)
file_name_to_path = {path.split("/")[-1]: path for path in st.session_state.files}
filename = str(st.selectbox(":open_file_folder: **Select a file**", file_name_to_path))
st.session_state.selected_file = file_name_to_path[filename]
run_tab_animation(file_name_to_path[filename])
265 changes: 0 additions & 265 deletions data/GPS_traces_&_physical_contacts/GPSTracks/Subject_10.gpx

This file was deleted.

Loading
Loading