Page 1 of 1

Running example workflow fails?

Posted: Thu Feb 22, 2018 8:03 am
by kfitzge1
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 323 times
Any ideas what I might be doing wrong/haven't installed properly.

Thanks for any help.

Re: Running example workflow fails?

Posted: Thu Feb 22, 2018 3:00 pm
by brycekillen05
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

Re: Running example workflow fails?

Posted: Mon Feb 26, 2018 9:43 am
by kfitzge1
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