From 530297ffef8664c3f29dc9a52d841e91ce14f080 Mon Sep 17 00:00:00 2001 From: lmlima Date: Fri, 20 Sep 2019 11:11:28 -0300 Subject: [PATCH] Fix experiment object attribute error Fix concat_experiments_on_channel not using Neptune API to get experiments' channels. Since experiment object don't have an accessible 'channels' atribute. --- neptunecontrib/api/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neptunecontrib/api/utils.py b/neptunecontrib/api/utils.py index c3faad5..a54608c 100644 --- a/neptunecontrib/api/utils.py +++ b/neptunecontrib/api/utils.py @@ -61,7 +61,7 @@ def concat_experiments_on_channel(experiments, channel_name): """ combined_df = [] for experiment in experiments: - if channel_name in experiment.channels.keys(): + if channel_name in experiment.get_channels().keys(): channel_df = experiment.get_numeric_channels_values(channel_name) channel_df['id'] = experiment.id combined_df.append(channel_df)