Skip to content

Commit

Permalink
Adding server name to path for data access
Browse files Browse the repository at this point in the history
  • Loading branch information
mfixstsci committed Dec 18, 2023
1 parent 25490ec commit 7f29685
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def __init__(self, instrument, aperture):

self.db = ReadnoiseMonitorData(self.instrument, self.aperture)

self.file_path = static(os.path.join("outputs", "readnoise_monitor", "data", self.ins_ap))
# Use outputs directory to obtain server name in path.
server_path = OUTPUTS_DIR.split("outputs/", 1)[1]
self.file_path = static(os.path.join("outputs", server_path, "readnoise_monitor", "data", self.ins_ap))

self.plot_readnoise_amplifers()
self.plot_readnoise_difference_image()
Expand Down

0 comments on commit 7f29685

Please sign in to comment.