Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add ability to read/write freesurfer surface files in scanner ras#1420

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jduemose wants to merge2 commits intonipy:master
base:master
Choose a base branch
Loading
fromjduemose:freesurfer-realras-flex

Conversation

@jduemose
Copy link

Previously, only freesurfer surface files with coordinates in unknown or surface ras/tkregister space could be read. Following#1419, this PR adds the ability to read surface files whose coordinates are stored in scanner ras as well.

Let me know if calling a freesurfer function viasubprocess as part of the test is a problem - but I wasn't sure how to test this feature otherwise.

@effigies
Copy link
Member

Sorry, you caught me just as I was heading off on vacation, and following up with nibabel has been low on my queue since getting back. Mergingmaster and running tests.

@codecov
Copy link

codecovbot commentedSep 22, 2025
edited
Loading

Codecov Report

❌ Patch coverage is57.14286% with3 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.37%. Comparing base (70f278e) to head (560a5be).
⚠️ Report is 1 commits behind head on master.

Files with missing linesPatch %Lines
nibabel/freesurfer/tests/test_io.py50.00%3 Missing⚠️
Additional details and impacted files
@@            Coverage Diff             @@##           master    #1420      +/-   ##==========================================- Coverage   95.44%   95.37%   -0.07%==========================================  Files         209      209                Lines       29782    29788       +6       Branches     4472     4472              ==========================================- Hits        28424    28410      -14- Misses        925      943      +18- Partials      433      435       +2

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

assertany('extension code'instr(ww.message)forwwinw)

# Test reading/writing a surface file in scanner RAS
cmd=f"mris_convert --to-scanner{pjoin(data_path,'surf','lh.inflated')}{surf_path}"
Copy link
Member

Choose a reason for hiding this comment

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

We don't install FreeSurfer to run tests. Could you contribute the converted file tohttps://codeberg.org/nipy-data/nitest-freesurfer?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@effigieseffigieseffigies left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@jduemose@effigies

[8]ページ先頭

©2009-2025 Movatter.jp