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)
220 stars 291 forks source link

Getting "Error in Class: Class did not read input parameter(s):" in the python wrapper but the same code is working in C #489

Closed IamSreeman closed 2 years ago

IamSreeman commented 2 years ago

I added a species that is very similar to CDM. When I run make Cython is making the python package without any error.

When I add the species in the input in python I am getting the error Error in Class: Class did not read input parameter(s): Omega_cdm2

But if I write the same code in a .ini file and run it in C it is working fine. I need to use Monte Python so I have to run the code in Python. What might be the issue?

IamSreeman commented 2 years ago

Solved by following https://github.com/lesgourg/class_public/issues/482