nuclear-multimessenger-astronomy / nmma

A pythonic library for probing nuclear physics and cosmology with multimessenger analysis
https://nuclear-multimessenger-astronomy.github.io/nmma/
GNU General Public License v3.0
33 stars 58 forks source link

Add local-model-only flag to joint analyses #294

Closed bfhealy closed 10 months ago

bfhealy commented 10 months ago

This PR adds a local-model-only flag to joint analyses to avoid downloading models from gitlab/zenodo.

(Several automated linting updates to the code as well)

bfhealy commented 10 months ago

@bking-astro Once merged, this should allow you to skip the model download process by adding local-model-only=True to the ## EM arguments section of your config.ini file.

sahiljhawar commented 10 months ago

@bking-astro Can you test this locally and confirm if this works?

bfhealy commented 10 months ago

Update: the flag appears to be working as intended, but we're working through what may be a cluster-specific issue with mpi.

sahiljhawar commented 10 months ago

LGTM