Closed ddesh5208660 closed 1 year ago
@ddesh5208660 can you provide the contents of your topology file?
@fgrunewald Here is the topology file.
which OS are you working on?
MacOS
I don't know what's exactly going on, but somehow it considers line 8 to be a non-empty section directive. Can you delete the empty line and see what it then says. Also I assume you have the ffbonded.itp and ffnonbonded.itp files in your toplevel folder
Yes, I do have both files in my top level folder. Line 8 of which "file" I should delete ?
Line 8 of the topology file. The error says that it considers line 8 to be an empty section, which is strange because it should skip that empty line.
U r right ! But ,Even after deletion, same error appeared as earlier.
here is the topology file after deletion of line 8 along with stated error.
It could be related to Python 10 or there is an obvious mistake I'm not seeing at the moment. Anyways I don't have time to look into this further right now. The best I can suggest is to run the tutorial in google-collab jupyter notebook.
here is an example notebook https://colab.research.google.com/drive/14PKyyUnt_aycyYFALhm0FlBKP1LKeO-9?usp=sharing
Could you try to remove the commas from the system name?
Also check the lines 8 of the files you include. I'm not 100% sure about which file it's complaining about.
@pckroon I removed commas but showed the same "OSError". I am also wondering which file it is complaining about.
It could be related to Python 10 or there is an obvious mistake I'm not seeing at the moment. Anyways I don't have time to look into this further right now. The best I can suggest is to run the tutorial in google-collab jupyter notebook.
I think you could try to build this in MacOS.
@fgrunewald @pckroon I think in the following block (line 235) there is some issue. Any thoughts on those?
It could be related to Python 10 or there is an obvious mistake I'm not seeing at the moment. Anyways I don't have time to look into this further right now. The best I can suggest is to run the tutorial in google-collab jupyter notebook.
I think you could try to build this in MacOS.
On my Mac I never had issues but it runs python 3.9
@ddesh5208660 can you zip your files and sent them to me by mail f.grunewald[at]rug.nl
Sure. Sending now.
@ddesh5208660 I figured out what is going wrong. It appears that the forcefield.itp was not properly downloaded. At last in the archive I have an html text instead of a plain text file in itp format. If you include the actual itp file it should work
@pckroon to avoid these things in future it might make sense to return the line with the error that is raised by parse_section. That would make it easier to spot incorrectly formatted files
@fgrunewald Thanks. Yeah, you were right. I should have checked those files in the VIM editor. Here is the result.
Hi everyone,
I tried to run this tutorial both in the virtual environment and locally. Both didn't seem to work for me. Pls, guide me to run this tutorial.