HelmchenLabSoftware / Cascade

Calibrated inference of spiking from calcium ΔF/F data using deep networks
GNU General Public License v3.0
121 stars 32 forks source link

Problem with ruamel.yaml #58

Closed PTRRupprecht closed 1 year ago

PTRRupprecht commented 1 year ago

When using ruamel.yaml to load config files or the list of available pretrained models, an error appears for newer versions of ruamel.yaml:

"load()" has been removed

PTRRupprecht commented 1 year ago

Problem now solved. The new solution worked in all test environments, as far as I could test.

The main part of the solution was to add the following lines:

import ruamel.yaml as yaml yaml = yaml.YAML(type='rt')

with a few side effect fixes in the code.