Search found 63 matches

by francois
Tue May 22, 2018 3:08 pm
Forum: BrainVISA
Topic: Calling "Import FreeSurfer grey/white segmentation to Morphologist" from a script
Replies: 2
Views: 12556

Re: Calling "Import FreeSurfer grey/white segmentation to Morphologist" from a script

I found my error:
I was passing the orig.mgz from a folder that was not in the local freesurfer database. No wonder it was not finding the associated files...

Well, at least now I know in details all the ways to call processes and pass them parameters :)

Thanks
Francois
by francois
Fri May 18, 2018 5:57 pm
Forum: BrainVISA
Topic: Calling "Import FreeSurfer grey/white segmentation to Morphologist" from a script
Replies: 2
Views: 12556

Calling "Import FreeSurfer grey/white segmentation to Morphologist" from a script

Hello, I'm trying to call "Import FreeSurfer grey/white segmentation to Morphologist" from a Python script, but I don't know how to get the links propagated. If I use the BrainVISA interface, I can select T1_orig and T1_output only, and all the other linked parameters are filled automatica...
by francois
Mon Apr 30, 2018 4:45 pm
Forum: BrainVISA
Topic: Database is locked
Replies: 2
Views: 12573

Database is locked

Hello, We're trying to update a large BrainVISA database mounted with NFS. The update didn't work the first time because of issues with access rights between different users of different computers... We fixed the issue and tried to start again the database update, but now we get the message "da...
by francois
Mon Apr 30, 2018 4:38 pm
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

There are some processes that use separate threads.
But not for the loading of the objects in anatomist.
by francois
Mon Apr 23, 2018 10:37 am
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

Does this mean we have no hope to get this to work properly?
by francois
Thu Apr 12, 2018 11:53 am
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

What could I do to debug this further?
by francois
Thu Apr 12, 2018 11:49 am
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

I'm not sure what I'm supposed to look at.
Do you see anything suspicious here:
https://www.dropbox.com/s/64v690e9ty6lc ... 2.txt?dl=0

(I still can't upload files on this forum...)
by francois
Thu Apr 12, 2018 8:41 am
Forum: Anatomist
Topic: linkCursorLastClickedPosition() in BrainVISA 4.6?
Replies: 11
Views: 19530

Re: linkCursorLastClickedPosition() in BrainVISA 4.6?

Is is possible to disable the ability of the user to change the referential for each window (by clicking on the colored bar on top of the view)?
by francois
Wed Apr 11, 2018 5:46 pm
Forum: Anatomist
Topic: linkCursorLastClickedPosition() in BrainVISA 4.6?
Replies: 11
Views: 19530

Re: linkCursorLastClickedPosition() in BrainVISA 4.6?

We have multiple windows and no indication on which one was clicked, so linkCursorLastClickedPosition() was what we needed. But it could be OK if I could enforce one given referential in all the windows and then convert all the coordinates accordingly. How can I disable the ability of the users to c...
by francois
Wed Apr 11, 2018 5:10 pm
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

Do we need to change the way the objects are loaded in Anatomist?
by francois
Wed Apr 11, 2018 4:54 pm
Forum: Anatomist
Topic: linkCursorLastClickedPosition() in BrainVISA 4.6?
Replies: 11
Views: 19530

Re: linkCursorLastClickedPosition() in BrainVISA 4.6?

Ok, thanks for the suggestions.
For a very quick fix: can I assume that if I call linkCursorLastClickedPosition() without parameters, it will always return the coordinates in the referential that is currently selected in the clicked window? Or is there a risk for the coordinates to be totally random?
by francois
Wed Apr 11, 2018 4:49 pm
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

It doesn't change anything: I still do not get the icons in the object list, and still get the errors
by francois
Wed Apr 11, 2018 10:50 am
Forum: Anatomist
Topic: QPixmap::setMask() mask size differs from pixmap size
Replies: 17
Views: 28992

Re: QPixmap::setMask() mask size differs from pixmap size

If I start BrainVISA or anatomist directly from a terminal (with bv_end) and load a volume with the anatomist menu File > Open, it works: I get the icons in the list of objects. If I start anatomist from independent Python scripts, it doesn't work: I do not get the icons and get all these errors ins...
by francois
Wed Apr 11, 2018 10:22 am
Forum: Anatomist
Topic: linkCursorLastClickedPosition() in BrainVISA 4.6?
Replies: 11
Views: 19530

Re: linkCursorLastClickedPosition() in BrainVISA 4.6?

Thanks for looking into this.

What do we do before that?
Could you think of a quick workaround? Something that would re-convert to the appropriate coordinate system after calling linkCursorLastClickedPosition()?
We have a few people actively waiting for me to fix IntrAnat here...
by francois
Tue Apr 10, 2018 1:52 pm
Forum: Anatomist
Topic: linkCursorLastClickedPosition() in BrainVISA 4.6?
Replies: 11
Views: 19530

Re: linkCursorLastClickedPosition() in BrainVISA 4.6?

I could fix quickly the code we have if I knew what referential is used by linkCursorLastClickedPosition().

How do I get the view that was clicked last (used by linkCursorLastClickedPosition)?
And/or: How do I get the referential used in this view?