lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
230 stars 285 forks source link

Problem when I try run the thermo.ipynb #326

Open EdsonRamirezEsqueda opened 4 years ago

EdsonRamirezEsqueda commented 4 years ago

I'm new in the code CLASS and I try run some notebooks, specifically the notebook thermo.ipynb, when I run the cell 3 returns the error:

File "", line 23 print thermo.viewkeys() ^ SyntaxError: invalid syntax

NolanSmyth commented 4 years ago

Seems like you're using python 3 but the notebook is using syntax from python 2. Try replacing the last line with print(thermo.keys())