foroozandehgroup / esrpoise

Parameter Optimisation by Iterative Spectral Evaluation: an Xepr-compatible ESR package
GNU General Public License v3.0
1 stars 0 forks source link

remove references to global `_g` class #1

Closed yongrenjie closed 3 years ago

yongrenjie commented 3 years ago

This class was mainly used as a way to store global variables for communication between TopSpin and the backend. As established in our discussion on Friday, this shouldn't be needed for our present purposes, as its attributes are either passed in as function arguments or are otherwise available.

yongrenjie commented 3 years ago

it came at the cost of passing a gigantic tuple as optimargs, but that pesky _g is gone now, hooray