Skip to content

Commit

Permalink
fix for Snakemake
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldesai1 committed Aug 2, 2024
1 parent 3e9782c commit e01f2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion latch_cli/snakemake/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,9 @@ def generate_jit_register_code(
from latch_cli.services.register.utils import import_module_by_path
meta = Path("{metadata_path}") / "__init__.py"
import_module_by_path(meta)
if meta.exists():
import_module_by_path(meta)
import latch_metadata
sys.stdout.reconfigure(line_buffering=True)
Expand Down

0 comments on commit e01f2db

Please sign in to comment.