You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm having the same problem as was described in this issue that was closed on 2023.01.15, but I am using the latest version of pyVHR (2.0): #48
When I run the following code I get a naming warning and an error:
`from pyVHR.analysis.pipeline import Pipeline, DeepPipeline
from pyVHR.analysis.stats import StatAnalysis
from pyVHR.plot.visualize import *
import os
import pandas as pd
import plotly.express as px
from numpy import round as r
import plotly.io as pio
pio.renderers.default = 'jupyterlab'
~/miniconda3/envs/pyvhr/lib/python3.9/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
3629 return self._engine.get_loc(casted_key)
3630 except KeyError as err:
-> 3631 raise KeyError(key) from err
3632 except TypeError:
3633 # If we have a listlike key, _check_indexing_error will raise
KeyError: 'method'
I'm not understanding if this is an issue with the package itself or how my environment is set up, or how I defined the filepath to the cfg and h5 files. Thanks in advance for any guidance you can provide!
The text was updated successfully, but these errors were encountered:
Hello, I'm having the same problem as was described in this issue that was closed on 2023.01.15, but I am using the latest version of pyVHR (2.0):
#48
When I run the following code I get a naming warning and an error:
`from pyVHR.analysis.pipeline import Pipeline, DeepPipeline
from pyVHR.analysis.stats import StatAnalysis
from pyVHR.plot.visualize import *
import os
import pandas as pd
import plotly.express as px
from numpy import round as r
import plotly.io as pio
pio.renderers.default = 'jupyterlab'
path_h5 = '../results/h5/UBFC2_holistic.h5'
path_cfg = '../results/cfg/UBFC2_holistic.cfg'
pl = Pipeline()
res = pl.run_on_dataset(path_cfg, verb=1)
res.saveResults(path_h5)
print('Written file: ' + path_h5 + '\n\n')
st = StatAnalysis(path_h5)
fig = st.displayBoxPlot(metric='MAE', scale='log')
fig.show()`
I'm not understanding if this is an issue with the package itself or how my environment is set up, or how I defined the filepath to the cfg and h5 files. Thanks in advance for any guidance you can provide!
The text was updated successfully, but these errors were encountered: