move 'disable_threshold' to module level, for import safety
move 'disable_threshold' to module level, for import safety

ctb/pygr,cjlee112/pygr,ctb/pygr,ctb/pygr,GenDataPro/pygr,ctb/pygr,ctb/pygr,GenDataPro/pygr,RitwikGupta/pygr,theoryno3/pygr,cjlee112/pygr,cjlee112/pygr,GenDataPro/pygr,theoryno3/pygr,theoryno3/pygr,RitwikGupta/pygr,RitwikGupta/pygr,cjlee112/pygr