Skip to content

Conversation

@Shrishagk
Copy link

@Shrishagk Shrishagk commented Jan 22, 2026

This PR resolves the import errors in Model IV for CDM and ULDM.

Note: This PR is built on top of my previous work in PR (#1 (Path Portability fixes), as those path fixes are required to run these simulations.

Changes:

Implemented try/except factory pattern for ULDM in sim_axion.py.

Implemented try/except factory pattern for CDM in sim_cdm.py.
Fixes ML4SCI/DeepLense#108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ML4SCI/DeepLenseSim/Model-4 ImportError for CDM and ULDM with newer pyHalo versions

1 participant