Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"CVXOPT package needed to enforce constraints" #1

Open
soichih opened this issue Oct 5, 2017 · 10 comments
Open

"CVXOPT package needed to enforce constraints" #1

soichih opened this issue Oct 5, 2017 · 10 comments

Comments

@soichih
Copy link
Contributor

soichih commented Oct 5, 2017

I've fixed some obvious issues with this app, but now I am seeing following app.

Traceback (most recent call last):
  File "/N/dc2/scratch/brlife/karst-workflows/59d4f89d6ac3590024d33731/59d4f89d6ac3590024d33734/main.py", line 44, in <module>
    positivity_constraint=True)
  File "/N/u/brlife/Karst/.local/lib/python2.7/site-packages/dipy/reconst/mapmri.py", line 235, in __init__
    'CVXOPT package needed to enforce constraints')
ValueError: CVXOPT package needed to enforce constraints

Who could help me with this issue?

@francopestilli
Copy link
Contributor

Eleftherios would be best. @brain-life/dev

@soichih
Copy link
Contributor Author

soichih commented Oct 5, 2017

@Garyfallidis Can you take a look?

@aarya22
Copy link
Contributor

aarya22 commented Oct 5, 2017

Maybe I'm stating the obvious, but you could try to install CVXOPT package on brain-life.

pip install cvxopt

@soichih
Copy link
Contributor Author

soichih commented Oct 5, 2017

@aarya22 That fixed it.

It generated following png.

mapmri_maps_regularization

How does it look?

By the way, the submit.pbs is looks for a wrong output file and task is still failing - even though it generates the final image

https://github.com/brain-life/app-dipy-MAPMRI/blob/63f6273e871f189f5be925695f7daf153d761b47/submit.pbs#L21

@aarya22
Copy link
Contributor

aarya22 commented Oct 5, 2017

Great to hear. I don't know if the png is correct or not, maybe Elef or Ariel can help? I am meeting Ariel later today I can ask him about it.

As for the submit.pbs, I think the issue is that the pbs script is looking for 4 track1.tck files as output, but the application seems to be producing a png file called MAPMRI_maps_regularization.png. I can edit the pbs script to make it look for this file instead.

@Garyfallidis
Copy link

Garyfallidis commented Oct 5, 2017 via email

@Garyfallidis
Copy link

Garyfallidis commented Oct 5, 2017 via email

@aarya22
Copy link
Contributor

aarya22 commented Oct 6, 2017

@soichih I have a pull-request to fix the pbs file, check it out.

@Garyfallidis I can't find the workflow for mapmri in the dipy workflows folder. I am pretty sure I can make the workflow myself, but I am not sure what you mean by "submit" a workflow. Do you want me to submit a pull-request with a new workflow with mapmri?

@aarya22
Copy link
Contributor

aarya22 commented Oct 7, 2017

@Garyfallidis I've created a workflow and a pull-request for the app. Not sure how to exactly create a workflow but check it out:

@soichih and @francopestilli Hopefully by creating workflows like this for our applications we can get more feedback from the dipy community and updates for our applications, as well make the applications far easier to make.

@francopestilli
Copy link
Contributor

@aarya22 this is great thanks! I hope @Garyfallidis can let us know if this is a good way forward!

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

No branches or pull requests

4 participants