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
43 stars 28 forks source link

`use_average_seq` error #27

Closed rkruegs123 closed 2 years ago

rkruegs123 commented 2 years ago

I set use_average_seq = true in the input file explicitly, and I received the following error:

ERROR: Mandatory key `seq_dep_file` not found

It seems as though the error checking is flipped here, as seq_dep_file should only be required if use_average_seq = false. Happy to provide an explicit input file example of it's helpful.

lorenzo-rovigatti commented 2 years ago

This is actually a proper bug, as the field would only accept "0" for false and "1" for true, while any other value would lead to unpredictable behaviour. I'm fixing it now.