BlueBrain / emodel-generalisation

Generalisation of electrical models of neurons with MCMC
Other
4 stars 3 forks source link

Fix dataframe dtype assignment warnings #46

Closed eleftherioszisis closed 7 months ago

eleftherioszisis commented 7 months ago

Example:

/gpfs/bbp.cscs.ch/project/proj30/tickets/NSETM-1760-wrap-snakemake-with-luigi/workflow-example/emodel-generalisation/emodel_generalisation/adaptation.py:78: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value 'emodel_1a1afc' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
  df.loc[i, "emodel"] = emodel