Skip to content

experimental: control siibra-explorer#524

Closed
xgui3783 wants to merge 1 commit intomainfrom
expmt_controlSxplr
Closed

experimental: control siibra-explorer#524
xgui3783 wants to merge 1 commit intomainfrom
expmt_controlSxplr

Conversation

@xgui3783
Copy link
Member

@xgui3783 xgui3783 commented Dec 8, 2023

experimental support for siibra-explorer

sample code as below:

from siibra.explorer.plugin import Explorer
explorer = Explorer()
explorer.start()

# Open the link specified in the console
# And click "OK" to open the companion plugin

explorer.navigate(position=(1e7,1e7,1e7)) # in nm

explorer.overlay(url="nifti://https://data-proxy.ebrains.eu/api/v1/public/buckets/d-d69b70e2-3002-4eaf-9c61-9c56f019bbc8/probabilistic_maps_pmaps_175areas/Area-hOc1/Area-hOc1_pmap_l_N10_nlin2ICBM152asym2009c_4.2_public_258e8c1d846f92be76922b20287344ae.nii.gz") # TODO a bit buggy, and does not yet work

from siibra.locations import Point
import siibra

p1 = Point([1,2,3], space=siibra.spaces['mni152'])
p2 = Point([2,3,4], space=siibra.spaces['mni152'])
ps = p1.union(p2)

explorer.annotate(points=ps) # maximize perspective view for best effect

@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2023

Codecov Report

❌ Patch coverage is 0% with 119 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.52%. Comparing base (761a05d) to head (bcfddfe).
⚠️ Report is 748 commits behind head on main.

Files with missing lines Patch % Lines
siibra/explorer/plugin.py 0.00% 119 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #524      +/-   ##
==========================================
- Coverage   50.67%   49.52%   -1.15%     
==========================================
  Files          69       70       +1     
  Lines        6461     6621     +160     
==========================================
+ Hits         3274     3279       +5     
- Misses       3187     3342     +155     

☔ 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.

@AhmetNSimsek
Copy link
Collaborator

closed in favor of #677

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.

3 participants