Running example workflow fails?

Provides an easy-to-use application for visualising imaging data, segmenting images, creating volumetric meshes, and exporting OpenSim and FE models.
POST REPLY
User avatar
Karen Fitzgerald
Posts: 24
Joined: Mon Sep 08, 2014 6:03 am

Running example workflow fails?

Post by Karen Fitzgerald » Thu Feb 22, 2018 8:03 am

Hi there,

After a lot of headache I finally got MAP client to install on Windows 7 using Anaconda from the details provided here http://map-client-fai-workshop.readthed ... ation.html

I tried to execute one of the example workflows from the workshop download folder, lower limb_meshgen_femur.

The execution gets as far as the Pointwise Registration step (i.e. number 7. of Running a workflow detailed here: http://map-client-fai-workshop.readthed ... shgen.html). Then the execution freezes and I have this error in the cmd
Screen Shot 2018-02-22 at 14.48.02.png
Screen Shot 2018-02-22 at 14.48.02.png (68.96 KiB) Viewed 321 times
Any ideas what I might be doing wrong/haven't installed properly.

Thanks for any help.

User avatar
Bryce Killen
Posts: 104
Joined: Mon Nov 24, 2014 7:12 pm

Re: Running example workflow fails?

Post by Bryce Killen » Thu Feb 22, 2018 3:00 pm

Hi Karen,

It's great to see another MAP user come on board. Unfortunately the MAP installation can be a bit tricky sometimes with updated version of python modules often causing conflict.

With respect to installation I would have a look at the following documentation : https://simtk.org/docman/?group_id=799
Specifically look at "Known Bugs + Fixes" then "Known install errors" .

Fortunately the error you are experiencing is a common error I am seeing with the latest version of numpy and as such is also documented here:
https://simtk.org/docman/?group_id=799 in "Known Bugs + Fixes" then "Known bone mesh plugin errors" . If you look through that document you will see the exact error you mention. I have provided a small summary of the way to fix it below but for future reference check these documents as they might quickly solve your problem.

If you navigate to where your MAP plugins are stored, open the step.py file for this plugin. For you this directory is C"\Users\kfitzde1\appdata\roaming\musculoskeletal\mapclient\venv_0.13.0\lib\site-packages\mapclientplugins\pointwiserigidregistrationstep\step.py

Open that file in notepad++ , if you navigate down to line 148 which will read

if x0==None:

change this line to read

if x0.any() ==None:

This should fix your problem, be sure to close MAP and re-open it to reload the updated MAP plugin.

Thank you

User avatar
Karen Fitzgerald
Posts: 24
Joined: Mon Sep 08, 2014 6:03 am

Re: Running example workflow fails?

Post by Karen Fitzgerald » Mon Feb 26, 2018 9:43 am

Hi Bryce,

Thanks so much for your help.

I didn't see the known bug's file in the documents tab which are very helpful. Thanks for pointing me there and your helpful reply.

Best,

Karen

POST REPLY