Skip to content

Feature/recorder logic in dashboard - #28

Merged
mikesndrs merged 14 commits into
mainfrom
feature/recorder_logic_in_dashboard
Aug 11, 2026
Merged

mikesndrs merged 14 commits into
mainfrom
feature/recorder_logic_in_dashboard

Conversation

@mikesndrs

Copy link
Copy Markdown
Collaborator

No description provided.

@mikesndrs mikesndrs self-assigned this Jul 30, 2026
@mikesndrs
mikesndrs marked this pull request as ready for review August 10, 2026 06:49
@mikesndrs
mikesndrs requested review from DaanVanVugt and maarten-ic and removed request for DaanVanVugt and maarten-ic August 10, 2026 07:15

@SBlokhuizen SBlokhuizen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't looked at the copied files from the imas-muscle3, or the tests. If you need me to look into it with more detail, let me know.

Comment thread muscle3_dashboard/components/recorder_viewer.py

def _read_settings(run_folder: Path) -> dict[str, object]:
"""Flat settings from the run's ``configuration.ymmsl`` (empty if
unavailable — e.g. the optional ymmsl dependency is not installed)."""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ymmsl is not an optional dependency, right? It is a dependency of muscle3.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

muscle3 is currently an optional dependency

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to use the dashboard if you don't have muscle available?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

muscle dependency is currently only needed by the visualization

Comment on lines +89 to +92
try:
import zarr
except ImportError:
return None

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is try-except necessary?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if optional dependencies are not available it should just skip and return None every time imo

Comment thread muscle3_dashboard/components/recorder_viewer.py
Comment thread muscle3_dashboard/components/recorder_viewer.py Outdated
Comment thread pyproject.toml Outdated
Comment thread README.md
@mikesndrs
mikesndrs requested a review from SBlokhuizen August 10, 2026 15:26
@mikesndrs
mikesndrs merged commit b8f194f into main Aug 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants