normal martinize.py

  • atefeh.ghlzd
  • atefeh.ghlzd's Avatar Topic Author
  • Offline
  • Fresh Boarder
More
3 years 5 months ago #8763 by atefeh.ghlzd
martinize.py was created by atefeh.ghlzd
Hello,

I want to simulate http://cgmartini.nl/index.php/tutorials-general-introduction-gmx5/tutorial-ht-peptide-gmx5#Create-CG-systemthis tutorial.

I tried to run the following command, but I faced an error.
./martinize.py -f ../2_Creating_coordinates/TYR-XXX-TYR_aa.pdb -name TYR-XXX-TYR -o TYR-XXX-TYR.top -x TYR-XXX-TYR.pdb -ff martini22 -nt -ss EEE

File "martinize.py", line 2040
print item
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(item)?


What should I do?

Thank you.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #8764 by riccardo
Replied by riccardo on topic martinize.py
Python 2 vs python 3 problem?
"print item" works in python2 but not in python3. Try running the script with python2.

Please Log in or Create an account to join the conversation.

  • atefeh.ghlzd
  • atefeh.ghlzd's Avatar Topic Author
  • Offline
  • Fresh Boarder
More
3 years 5 months ago #8765 by atefeh.ghlzd
Replied by atefeh.ghlzd on topic martinize.py
You hit it on the nose :))
Thank you so much.

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds