vvoelz / biceps

Bayesian inference of conformational populations
https://github.com/vvoelz/biceps
Other
12 stars 3 forks source link

remove gamma from structure.py default unless distance input #9

Closed yunhuige closed 6 years ago

yunhuige commented 6 years ago

This could be an option. But I guess it's okay to keep it there.

yunhuige commented 6 years ago

It's coded up for the latest scripts. In conclusion, we need to keep it in the default argument but will pass the variable values to the child class. So if there is noe input data, we will have a list of different numbers in noe_sse or it will be a list of "0". We have to keep it in the parent class because this is the only way that we can specify gamma range when we initialize the Restraint class. Or we will have to go into the source code to change it every time when it's needed.