Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Human readable logging #41

Open
robert-graf opened this issue Nov 21, 2024 · 0 comments
Open

Human readable logging #41

robert-graf opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@robert-graf
Copy link
Collaborator

rewrite the logging so people understand what is happening

Example 1:
[SPINEPS] sub-0003106805_ses-20240905_sequ-101_acq-sag_mr.nii.gz input incompatible with model
[SPINEPS] - Input format 'mr', model expected ['t1dixon', 'vibe', 'mevibe', 'GRE']
-->
[SPINEPS] sub-0003106805_ses-20240905_sequ-101_acq-sag_mr.nii.gz skipped cause of Input format 'mr' is incompatible with the selected model; this model expects ['t1dixon', 'vibe', 'mevibe', 'GRE']

Next issue:
[SPINEPS] - Input acquisition 'sag', model expected ['axial', 'ax', 'axl', 'iso']
[SPINEPS] - get_plane() is not 'iso' or expected ['axial', 'ax', 'axl', 'iso'], skip

Next issue to vage:
---- [SPINEPS] Shifted from range (0.0, 3125.0293) to range (0.0, 3125.0293)
---- [SPINEPS] Cleaned (label, n_components) {1: 7}

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

No branches or pull requests

2 participants