xpdAcq / mission-control

Releases, Installers, Specs, and more!
0 stars 4 forks source link

safe load of yaml in xpdAcq #222

Open sbillinge opened 2 years ago

sbillinge commented 2 years ago

also check for this in xpdAn, SHED and wherever.

st3107 commented 2 years ago

I was thinking that this unsafe_load was used for a reason so I didn't change it. Now I know that this is only a historical problem. I will change this in the new release.

    @classmethod
    def from_yaml(cls, f):
        maps = yaml.unsafe_load(f)