Skip to content

make jax optional install? #905

@nkern

Description

@nkern

as of a few months ago an import jax statement was added to abscal.py without any exceptions, making jax a requirement for building hera_cal. I don't think jax is particularly hard to build, but it is a somewhat niche dependency and not needed in general to run most of the useful utilities in hera_cal. can we make this an optional dependency with a try: except: statement whereever jax is imported?

alternatively, if ppl feel that jax is an indispensable and widely used tool within hera_cal (which I don't think is the case), then let's formally make jax a dependency in the docs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions