lorenzo-rovigatti / oxDNA

A new version of the code to simulate the oxDNA/oxRNA models, now equipped with Python bindings
https://dna.physics.ox.ac.uk/
GNU General Public License v3.0
41 stars 27 forks source link

[BUG] oxpy.core.OxDNAError: Key `use_average_seq' not found #56

Closed HalseyWang closed 1 year ago

HalseyWang commented 1 year ago

Hello, I encountered this problem when using this script, how can I solve it, thank you very much!!! LOL

Traceback (most recent call last): File "/home/wangyue/.local/bin/oat", line 8, in sys.exit(main()) File "/home/wangyue/.local/lib/python3.8/site-packages/oxDNA_analysis_tools/entry.py", line 24, in main to_call.main() File "/home/wangyue/.local/lib/python3.8/site-packages/oxDNA_analysis_tools/generate_force.py", line 50, in main if (not inp["use_average_seq"] or inp.get_bool("use_average_seq")) and "RNA" in inp["interaction_type"]: oxpy.core.OxDNAError: Key `use_average_seq' not found

ErikPoppleton commented 1 year ago

Thanks for the report! That’s a bug on my part but I won’t have a computer for the next few weeks. You can get around it by adding the line use_average_seq = 1 to your input file.

HalseyWang commented 1 year ago

Thanks for the report! That’s a bug on my part but I won’t have a computer for the next few weeks. You can get around it by adding the line use_average_seq = 1 to your input file.

Yes, I added the line use_average_seq = 1 in my input file. The above is the error after I added the average base. LOL~

Best regards, Yue

ErikPoppleton commented 1 year ago

Hi Yue,

Sorry, I completely forgot to look into this. I cannot reproduce this bug, that script works for me whether I set use_average_seq to 1, 0, or don't set it at all. What kind of system are you on?

lorenzo-rovigatti commented 1 year ago

Hey @HalseyWang , since we are not able to reproduce the bug I'll close this issue. Feel free to reopen it and add more details if need be.

Azzzzzz11 commented 6 months ago

Thanks for the report! That’s a bug on my part but I won’t have a computer for the next few weeks. You can get around it by adding the line use_average_seq = 1 to your input file.

where is "input file" sry this my first time use this

Azzzzzz11 commented 6 months ago

Thanks for the report! That’s a bug on my part but I won’t have a computer for the next few weeks. You can get around it by adding the line use_average_seq = 1 to your input file.

Yes, I added the line use_average_seq = 1 in my input file. The above is the error after I added the average base. LOL~

Best regards, Yue

HELLO! wang, I sent u a email. My input file =“input” I found it in folder “simulation”
every time I put something I want to simulate, There will be a file called “input” in simulation. And I change“ use_average_seq=0” to “use_average_seq=1” ,it didnt work. After that, I check the input file,it recovered. Am I find a wrong input file. Could u help please? BEST WISHES CHEN

lorenzo-rovigatti commented 6 months ago

Please open a new issue or discuss via email if your problem is not linked to this thread.

Azzzzzz11 commented 6 months ago

Please open a new issue or discuss via email if your problem is not linked to this thread.

yes,sir