Skip to content

Commit

Permalink
Hopefully this fixes the NRS issue.
Browse files Browse the repository at this point in the history
I could see why Jessica's deployment was failing.
  • Loading branch information
spacetimeengineer committed Feb 25, 2025
1 parent a996319 commit 2fc9768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pbp/job_agent/job_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def __init__(
self.uri = Path(self.audio_base_dir).resolve().as_uri()
self.meta_output_dir = Path(os.path.normpath(meta_output_dir)).as_posix()
self.json_base_dir = Path(os.path.normpath(json_base_dir)).as_posix()
self.xml_dir = Path(os.path.normpath(xml_dir)).as_posix()
self.nc_output_dir = Path(os.path.normpath(nc_output_dir)).as_posix()
self.global_attrs = Path(os.path.normpath(global_attrs)).as_posix()
self.variable_attrs = Path(os.path.normpath(variable_attrs)).as_posix()
Expand All @@ -85,6 +84,8 @@ def __init__(
self.sensitivity_uri = Path(os.path.normpath(sensitivity_uri))
if self.recorder == "SOUNDTRAP":
self.sensitivity_flat_value = str(sensitivity_flat_value)
if xml_dir is not None and xml_dir != "":
self.xml_dir = Path(os.path.normpath(xml_dir)).as_posix()

self.prefix = str(prefix) # Prefix
self.start_date = datetime.strptime(str(start), "%Y%m%d").date()
Expand Down

0 comments on commit 2fc9768

Please sign in to comment.