Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/imaging/delaunay.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/imaging/delaunay_mge.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/imaging/lp.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/imaging/mge.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/imaging/mge_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/imaging/rectangular.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/interferometer/mge.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/multi/mge.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not path.exists(dataset_path):
if al.util.dataset.should_simulate(dataset_path):
import subprocess
import sys

Expand Down
2 changes: 1 addition & 1 deletion scripts/jax_likelihood_functions/point_source/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not dataset_path.exists():
if al.util.dataset.should_simulate(str(dataset_path)):
import subprocess
import sys

Expand Down