Skip to content

Commit

Permalink
add jaxlib
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Apr 9, 2024
1 parent b221366 commit ad95c11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies = [

# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "zarr", "tifffile", "jax"]
test = ["pytest", "pytest-cov", "zarr", "tifffile", "jax[cpu]"]
dev = [
"microsim[test]",
"ipython",
Expand Down
4 changes: 3 additions & 1 deletion src/microsim/schema/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class Simulation(BaseModel):
output_space: Space | None = None
sample: Sample
objective_lens: ObjectiveLens = Field(default_factory=ObjectiveLens)
channels: list[Channel]
channels: list[Channel] = Field(
default_factory=lambda: [Channel(name="FITC", excitation=488, emission=525)]
)
modality: Modality = Field(default_factory=Widefield)
settings: Settings = Field(default_factory=Settings)
output: OutPath | None = None
Expand Down

0 comments on commit ad95c11

Please sign in to comment.